Instructions:
- Drag the points to create your shape. Dragging a point off the screen will remove it.
- Pressing the 'y' key will resampling the curver to match your shape.
- Pressing 'E' (uppercase) will resample this using our evenly spaced points algorithm.
- Pressing 'e' (lowercase) will resample this using the naïve sampling algorithm.
- Pressing the 'b' key will show you a sampleAt based off your horizontal mouse position.
The far left of the sceen is t = 0, and the far right is t = 1. - Holding 'b' while moving the mouse will give you an animated effect of movement.
Source code: p1b.zip
Built with Processing