The whole program. It fits in a tweet.twigl ↗

    
    

Read it, line by line

Hover a row to light up that part of the code.

    Pieces

    Run them anywhere

    Every piece is written for twigl's geekest (300 es) mode: r resolution, t time, m mouse, FC = gl_FragCoord, o = output, plus rotate2D, rotate3D, hsv and snoise. Paste one into twigl.app, or drop tiny.js into your own page:

    import { tiny, loadHelpers } from './tiny.js';
    await loadHelpers();
    const s = tiny(canvas); s.compile(code);
    (function loop(now) { s.draw(now / 1000); requestAnimationFrame(loop); })(0);