bezierCurve :: Int->Float->Float> bezierCurve n b = [deCas (fromIntegral x / fromIntegral n) b | x<-[0 .. n] ]
Python.（该代码用到"Python图像库" ）import Imageimport ImageDrawSIZE=128image = Image.new("RGB", (SIZE, SIZE))d = ImageDraw.Draw(imag