I like to see how things work. I took the example code from the reference section on the Processing web site and added mouse events that allows one drag the anchor points around. I added little circles to the anchor points just to make it easier to click on them. You can now click on a point and drag it around to watch the bezier curve change. Cute isn't it? :-)
Link to applet and source code on my web site: http://www.jannetta.com/masswriting/bezier
1 comment:
It's cute. Processing does make it very easy to draw bezier curves.
Post a Comment