This Portfolio
The site you are on: a Next.js portfolio whose projects live in Supabase Postgres, with an interactive control-loop simulation on the homepage. It is the third version of my portfolio.
How it works
Project pages are server components that read from a Postgres table on Supabase and are regenerated every 10 minutes, so editing a row in Supabase updates the site without a redeploy. The site connects with a read-only database role, and if the database is unreachable it falls back to the copy of the data bundled with the build.
The control loop
The homepage simulates my motor–generator bench at 200 Hz in the browser: a DC motor with a speed-dependent generator load, a noisy encoder, and three controllers (PI, PI with a Kalman filter, and LQR with a two-state Kalman filter that estimates the load and feeds it forward). Controller switches are bumpless, and each load step is scored for speed dip and recovery time.
Three versions
- 2024: a Django site with Materialize CSS and Firebase, packaged with Docker
- 2025: a Next.js front end with a separate Django REST backend for projects, which was never deployed
- 2026: this version, with the backend removed, projects read straight from Supabase, and a redesign