A basic curve editor