
Paraplot: From Scene Code to a Draw Call
How a browser CAD toy compiles a JavaScript scene into a scene graph, one fragment shader and a uniform pool — and where late-bound edits and each kind of variable enter the pipeline.
Tag
25 posts tagged with this.

How a browser CAD toy compiles a JavaScript scene into a scene graph, one fragment shader and a uniform pool — and where late-bound edits and each kind of variable enter the pipeline.
Complex numbers rotate the plane, quaternions rotate 3D, and dual quaternions rotate and translate at once. A playground for all three, and why conformal geometric algebra subsumes them.
Embed 3D geometry in a 5D Clifford algebra where points, circles, spheres, planes and lines are all blades. A playground for N-joint inverse kinematics, curve and surface intersections.
A visual tour of Ribbon filters — how a band-shaped linear system over GF(2) gives static set membership in near-optimal space, and how on-the-fly Gaussian elimination makes it practical.

Type a Hamiltonian or Lagrangian, integrate it in the browser, and watch an entire phase space evolve. A WebGL2 playground with RK4, symbolic derivatives and 21 built-in systems.
An interactive phase-space playground for Hamiltonian and Lagrangian systems. Type a system, integrate it with RK4 in a Web Worker, and explore the energy landscape in WebGL2.
Markowitz's mean-variance framework in one picture: why correlation, not just volatility, determines what a portfolio can achieve — and why the frontier is a map, not a money machine.
A fair coin that moves ±10% a round already loses 0.5% a round. Rebalancing half against cash cuts that loss; a small edge turns it into a positive harvest. The same arithmetic explains why leveraged ETFs bleed.
Sixty-one finance professionals, a coin that lands heads 60% of the time, and a formula for bet sizing. Why maximizing expected value can bankrupt you, why 20% beats 40%, and why most professionals bet half Kelly.
A conformal map preserves angles: near every point it behaves like a rotation followed by a uniform scaling. Explore them in a playground that warps grids and images — written with complex numbers, 2D vectors, and dual numbers.
How a single binary operator — eml(x,y) = exp(x) − ln(y) — can generate every elementary function a scientific calculator knows, from addition to trigonometry.
A hands-on look at how a limit order book works — matching engines, price discovery, support and resistance zones — with a live simulation you can drive yourself.
WebGL lets you run shaders in the browser — and that's genuinely magical. But using it for arbitrary GPU computation quickly reveals a thicket of constraints that OpenCL and WebGPU were designed to escape.
A deceptively simple question — what is the probability that a random chord of a circle is longer than the side of its inscribed equilateral triangle? — has three different correct answers depending on what 'random' means.
A deep dive into synthetic stock price generation — from naive coin-flip random walks, through Gaussian distributions and fat tails, to a simulated order book — and how candlestick pattern analysis reveals the gap between each model and reality.
Perfect harmony is a mathematical impossibility. Here's the beautiful, maddening reason why — and how piano tuners have learned to live with it.
The Bak–Tang–Wiesenfeld sandpile model (ASM) is a deceptively simple cellular automaton that conceals a rich algebraic structure — an abelian group whose identity element is a non-trivial fractal-like configuration.
LLMs write convincingly but fabricate facts. A practical tour of automated detection techniques: BERTScore, embedding similarity, ROUGE/n-gram overlap, NER-based cross-referencing, and QAEVAL.
How regular expressions compile to deterministic finite automata — with an interactive visualizer, a DFA-powered string generator, and a note on closing the loop with property-based testing.
A deep dive into how fuzzy search works — from edit distance and tries to stemming, BK-trees, and how Lucene/Elasticsearch find typo-tolerant matches at scale.
A deep dive into perfect hash functions — what they are, why they matter, how to find one efficiently with parallel search, and how they compare to JavaScript's built-in Map.
An interactive deep-dive into the Raft consensus algorithm — leader election, log replication, snapshots and truncation — with two live simulations you can explore and break.
A visual and mathematical journey through one of the most beautiful ideas in all of mathematics — decomposing any signal into its frequency components.
We cut a 45-minute CI pipeline to 12 minutes by measuring every task and solving a knapsack problem to distribute builds across GitHub Actions workers. It worked. It was also the wrong problem: a static assignment is a bet placed before the run, and it cannot stay optimal once the run has better information.
All tags