JavaView Logo  
Home Demos Applications Tutorial Download Help Feedback

De Casteljau Algorithm

Generation of a polynomial Bezier curve from a given control polygon via the de Casteljau algorithm is visualized.

  • Position slider determines the argument where the Bezier curve is evaluated.
  • Depth slider allows to see the de Casteljau algorithm step by step.
  • Drag a vertex of the control polygon to see its effect on the Bezier curve.
  • Press key a to add another control vertex at the end of the control polygon.
  • Use subdivision to refine/coarsen the control polygon: open the control panel and invoke menu METHOD->EFFECT->REFINE/COARSEN.

View source code: PaDeCasteljau.java of applet, PjDeCasteljau.java of project, PjDeCasteljau_IP.java of info panel.


© 1999-2006 Last modified: 14.09.2006 --- http://www.javaview.de --- The JavaView Project