You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Augusto ddcec6771e Add subject for the raid 3 about the Chaikin's algorithm 4 years ago
..
audit Add subject for the raid 3 about the Chaikin's algorithm 4 years ago
README.md Add subject for the raid 3 about the Chaikin's algorithm 4 years ago

README.md

Chaikin

Instructions

Implement the Chaikin's algorithm step by step in an animation.

The objective is to create a canvas where the user will draw 1 or more and then the screen will play an animation of each step to get to the final result of a curve drawn using the Chaikin's algorithm. You can see here a demo of how the application should work.

  • Functionality:

    • The canvas should receive input from the mouse: the user of the program should be able to use the left button to select the control point for the Chaikin's algorithm

    • After pressing Return should start the animation of the steps until reaching the 7th step of the Chaikin's algorithm.

    • Pressing Escape should quit the window.

Note

You are free to use any library for creating and handling window creation, rendering, keyboard and mouse events.

Bonus

  • Add the ability to clear the screen and add new control points.

  • Make possible to drag the control points in real time.