Bezier Function Generator

Actions

Points

The objective of this experiment is to generate multi purpose functions with interpolation. Using a modified Casteljau's Algorithm this application can generate custom functions for any purpose.

This experiment uses Javascript EMCA 5 and HTML5 Canvas element, it was divided in the following classes:

  • Canvas Controller (For interface and drawing control)
  • Circle (Draggable objects to control lines)
  • CircleController (Encapsulate draggable objects efficiently)
  • GUI Box (To handle alignment in interfaces)
  • Grid (To serve as guide for draggable objects)
  • BezierDrawer (To draw the curve, interpolated or not)

Dependencies: