sobra.be/lab

Lab.

This is where I try things out: old CodePens getting a second life, and ideas that don’t fit anywhere else yet. Everything runs right in your browser, so go ahead and play.

Experiments
03
Last change
Build
bf37281
Frameworks
0
  1. EXP-001 · Stable

    Gravitron

    A solar system in your browser, with the orange dot as its sun. Tap to add planets, drag to fling them, and save what long exposure makes of it.

    Origin
    CodePen, rewritten in 2026
    Tech
    Canvas 2D · requestAnimationFrame · n-body gravity · Pointer Events · Web Share
    Input
    Tap · drag · keyboard
    Source
    562 lines · 22.9 kB
  2. EXP-002 · Stable

    Googly Eyes

    Plastic eyes with loose pupils. Drag them, shake them, tilt your phone, or turn on the camera and wear a pair yourself.

    Origin
    CodePen, rewritten in 2026
    Tech
    Canvas 2D · Pointer Events · Device Motion · getUserMedia · MediaPipe face detection
    Input
    Drag · tilt · camera
    Source
    1875 lines · 77.3 kB
  3. EXP-003 · Beta

    Overhead

    The sky over you, drawn from live open data. Wind, temperature, clouds and rain set the lines; the sun, the moon and the ISS sit where they really are.

    Origin
    New in 2026
    Tech
    Canvas 2D · Flow field · Open-Meteo · USGS · Geolocation · Device Orientation
    Input
    Pointer · touch · compass · location
    Source
    1319 lines · 57.4 kB
  4. EXP-004 · In the works

    The next experiment is still on the drawing board.

Logbook

The latest changes to the lab, straight from git.

  1. bf37281 feat: look around in Overhead, and stir it like hay
  2. c595423 feat: Overhead, procedural art from live open data in the lab
  3. 286f2fe feat: a back arrow on the Lab link in the experiment panel
  4. 370b50f fix: Googly Eyes face tracking on phones
  5. 7834428 fix: Googly Eyes pupils fall down when you tilt an iPhone
  6. cd0ad42 feat: Googly Eyes down to camera, shake and zen
  7. fcc1286 feat: Googly Eyes keeps its one pair
  8. 06f678f feat: Googly Eyes in the lab, on a shared lab stage