External Forces & Fields
Applies gravity (Earth 9.81, Moon 1.62, Jupiter 24.79, or Zero-G), balloon buoyancy, directional fan airflow scaled per windFactor, electromagnet attraction on steel orbs, rocket thrust, and gravity-zone lift.
VONK is a free, ad-free, zero-tracking 2027 chain-reaction workbench inspired by The Incredible Machine (1992). Instead of hiding a black-box library behind a canvas, every collision, impulse, energy transfer, sound wave, and AI verification pass was crafted in plain ES Modules and Python stdlib so you can watch the math happen live.
01 · The Physics Core
The exact same pure-ES-Module engine runs in your browser at 60 FPS and in headless Node.js verification. Four fixed substeps per frame keep fast basketballs, stacked dominoes, seesaws, and ropes rock-solid and bit-for-bit reproducible.
Applies gravity (Earth 9.81, Moon 1.62, Jupiter 24.79, or Zero-G), balloon buoyancy, directional fan airflow scaled per windFactor, electromagnet attraction on steel orbs, rocket thrust, and gravity-zone lift.
Semi-implicit Euler integration clamps speed at 1150 px/s. At dt = 4.17 ms, projectiles move at most 4.79 px per substep, well under the 16 px plank thickness.
AABB broadphase plus exact Circle-Circle, Circle-OBB, and OBB-OBB Separating Axis tests with Sutherland-Hodgman 2-point clipping keep dominoes resting flat with zero jitter.
Resolves restitution (48 px/s resting threshold), Coulomb friction, conveyor surface velocity, soft basket catch-net damping (e = 0.12), and Baumgarte stabilization (0.32).
Resolves ropes burnable by candle flames, bidirectional pulleys (d1 + d2 <= L), cradled seesaw levers, AI eye line-of-sight signals, boxing gloves, momentum-preserving portals, and mini-bots.
Captures velocity and force vectors, contact normals, centers of mass, and total mechanical energy (1/2 mv² + mgh at 55 px/m) for live X-Ray and Under the Hood graphs.
| Parameter | Value | Engineering reason |
|---|---|---|
| Board coordinate space | 960 × 540 px (55 px/m) | Fixed deterministic world space scaled smoothly to any screen |
| Fixed frame / substep | 60 Hz × 4 = 240 Hz (4.17 ms) | Eliminates high-speed tunneling and stabilizes stacked dominoes |
| Impulse solver passes | 8 iterations per substep | Converges multi-body stacks and lever impulses cleanly |
| Speed / angular clamp | 1150 px/s · 18 rad/s | Guarantees max 4.79 px displacement per substep |
| Baumgarte / slop | 0.32 · 0.35 px | Resolves penetration smoothly without artificial energy injection |
| Restitution threshold | 48 px/s | Stops micro-bouncing so resting balls settle cleanly |
| Sleep threshold | v² < 9 · ω² < 0.0025 · 0.55 s | Conserves CPU when contraption regions come to rest |
| Gravity presets | 9.81 · 1.62 · 24.79 · 0.00 m/s² | Earth, Moon, Jupiter, and Zero-G available in Free Play & puzzles |
02 · Functional Catalog
Every part's physical mass, bounce (restitution e), friction (μ), drag, magnetic flag, and sandbox sliders are defined in data/parts.json rather than hardcoded in logic. Filter by category to inspect every single piece.
Bowling Ball (5.5 kg, inertia), Basketball (1.4 kg, e = 0.84), Tennis Ball (0.42 kg, windFactor 1.7), Steel Orb (3.4 kg, magnetic), and Helium Balloon (buoyant, poppable).
Wood Plank (rotatable ramp), Steel Beam (rigid barrier), Trampoline (spring pad), and Seesaw (cradled torque lever with end-lips).
Domino (zero-jitter cascade), Conveyor Belt, Wind Fan, Candle (ignites rockets, burns ropes, pops balloons), Rocket, Scissors, and Boxing Glove.
Electromagnet, Portal Gate (paired speed warp), Gravity Inverter (reverse-G field), AI Smart Eye (optical ray trigger), and autonomous Mini-Bot.
Goal Basket (soft catch-net e = 0.12), Target Switch (pressure and signal trigger), and Spark Star collectibles.
03 · Game Design, Hybrid AI & Crafted Sound
Good physics sandboxes invite you in within three seconds and reveal deeper tools only once your hands already know the rhythm.
04 · Radical Privacy & Security
VONK is a gift, not a funnel. The server counts how many anonymous visits and puzzle solves happen per day purely out of joy, and stores optional in-game feedback you choose to send. Nothing else.
Both fonts (Schibsted Grotesk and Inter), all audio tracks, all 48 voice clips, and all scripts are self-hosted on vonk.itarr.nl. Automated browser tests fail if even a single third-party request fires.
Served with default-src 'self', script-src 'self', style-src 'self' (no unsafe-inline), media-src 'self' blob:, frame-ancestors 'none', Referrer-Policy: no-referrer, and Permissions-Policy locking camera, mic, and location.
SQLite WAL stores daily_stats and optional feedback. Zero IP, user-agent, cookie, or email columns exist anywhere in the database.
Abuse protection hashes the caller in RAM with a random 128-bit blake2b salt generated at server startup. Nginx access logs are disabled and the salt vanishes on restart.
Actual SQLite database schema (src/server/storage.py)
05 · Automated Verification Gate
Before a release archive is built, hashed with SHA-256, and synced to the server, a five-stage automated test gate verifies the physics, puzzles, AI, voices, backend privacy, and desktop/mobile layouts.
Determinism, domino stacks, seesaws, conveyors, fans, balloons, ropes, pulleys, rockets, AI sensor + portal, magnet, mini-bot, and #share= round-trip.
All 20 puzzles and 3 Free Play presets simulated headlessly at 240 Hz to verify every solution cleanly.
Ghost-zone hints, NL/EN prompt parsing, all 7 local archetypes, LLM fallback, and rejection of unsolvable outputs.
All 24 NL + 24 EN voice files verified, zero speech tags in UI text, and public copy scanned cleanly.
SQLite zero-PII columns, strict CSP, HTTP 206 MP3 streaming, OG tags, and 1440×900 + 390×844 browser checks.