Skip to content
03/Lab

Lab

Small things you can actually play with right here — not screenshots

01

Guitar chord explorer

The chords I reach for most in fingerstyle. Tap to hear them — synthesised live in your browser.

○○×

C

Everyone's first chord

Synthesised live with Web Audio — no audio files

02

Tutor payroll calculator

A stand-in for the real problem in IQ Tutor: payroll rules stacked on top of each other. Change the inputs and watch which rule wins.

Calculated pay

฿675

Rules applied

  1. Group of 3 → tier "up to 4"

    450 × 1.5h = 675

  2. The tier uses who actually attended

    Not who enrolled — this exact distinction was once an overpay bug

These numbers are illustrative, not any real institute's rates. What matters is the shape of the problem: tiers, rules that override other rules, and one condition that must always win.

03

ESP32 smart bin simulator

The bin I built at university, moved into the browser — with a stand-in serial log.

LIDFULLWIFI
// move a slider to see serial output

The lid opens at ≤ 15cm and waits 1800ms before closing. The first version had no delay, so the lid flapped continuously whenever a reading hovered right at the threshold.