Parametric Regression
Fitting a function to points with parametric regression and Canvas visualisation.
- My role
- Regression algorithm, interactive visualisation and demo UI.
- Technologies
- JavaScript / HTML Canvas
01 / 02
Context
See how a function can fit randomly generated points in an interactive environment.
The project
A demo with point generation, function fitting, panning and zooming.
My contribution
Implementation of the math, rendering and interaction handling.
Approach
Canvas renders the coordinate system and regression result while fitting logic updates function parameters.
Challenges
- Keeping the visualisation stable during interaction.
- Turning abstract math into a readable demo.