Log In  

Cart #bezier-0 | 2019-03-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Hello! I knocked this up in a few hours and I hope it's useful to someone. It draws a bezier curve based on the positions of four points: a start and end point, and two bezier handles.

The user can move any of the four points around by using Z to cycle between them and the arrow keys to move.

I have wrapped up the bezier into a single object so hopefully it should be easy to re-purpose.

P#62928 2019-03-21 08:32 ( Edited 2019-03-21 08:32)

[Please log in to post a comment]