Skip to content
All work

Math / visualisation2025

Parametric Regression

Fitting a function to points with parametric regression and Canvas visualisation.

Author and developer: Dawid Bartczak

My role
Regression algorithm, interactive visualisation and demo UI.
Technologies
JavaScript / HTML Canvas
Before fitting the curve
01 / 02
Parametric Regression
Before fitting the curve
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.