Repository navigation
VANILLAJS v2.9.0 โ HORIZON: The 3D Racing Foundry ๐๏ธ๐ฝ
Make the road. Own the drive. Keep the game.
VANILLAJS v2.9.0 introduces HORIZON, an original, fully playable 3D racing experience and integrated game-authoring environment built with native JavaScript, WebGL1 and reusable VANILLAJS engine modules.
What began as a scenery and vehicle-dynamics experiment has evolved into an integrated racing foundry featuring physical vehicle handling, AI competition, collision mechanics, editable environments, procedural audio and portable game exports.
No game-engine framework. No CDN. No cloud dependency. No unnecessary runtime dependencies.
And yes, the cars finally collide.
๐ HORIZON โ A Complete Playable 3D Race
Experience Cape Aster โ Sunward Run, an original coastal racing course featuring:
- Approximately 509 metres of winding, elevated roadway.
- Eight ordered checkpoints and a race countdown.
- A physically simulated AI rival with actual vehicle-to-vehicle contact.
- Banked roads, bridges, slopes, corners and varied terrain.
- Surface-dependent traction, suspension and gearbox behaviour.
- Three driving cameras: Chase, Bonnet and Cockpit.
- Course assist with optional direct, unassisted steering.
- Reverse driving, independent braking, restart and checkpoint recovery.
The player and rival operate through the actual vehicle simulation rather than scripted visual movement.
You can race it, inspect it, edit it and export it.
๐ Vehicle Physics & Handling
HORIZON expands the native vehicle-dynamics system with:
- Three original vehicle classes: Sport, Touring and Utility.
- Adjustable torque curves and gear ratios.
- Suspension spring and damping controls.
- Tyre grip, braking, steering and road-surface interaction.
- Real forward/reverse gearbox transitions.
- Physically resolved car-to-car contact.
- Recoverable rollovers and collision responses.
Driving improvements preserve responsive arcade-style controls without replacing actual physics with scripted motion.
๐ Native WebGL1 Graphics
The HORIZON rendering pipeline gains significant visual improvements while retaining explicit geometry and performance budgets.
Highlights include:
- Lit low-poly vehicle and landscape geometry.
- Procedural terrain and roadside materials.
- Improved environmental lighting, fog, shadows and glass treatment.
- Banked road geometry, graded surfaces and roadside details.
- Curve warning chevrons and correctly positioned reflectors.
- Deterministic visibility culling and retained rendering resources.
- Configurable graphics detail.
- Graphics context-loss detection and recovery.
Visual improvements were verified through native Chromium rendering and exact pixel-comparison tests.
Performance note: The project continues to target smooth 60 FPS gameplay; the hosted CI results are correctness evidence, not a universal 60 FPS guarantee across GPUs.
๐ ๏ธ The Racing Foundry โ Create Your Own Course
HORIZON includes an integrated editor for modifying the playable race.
Creators can change road geometry, elevation, banking, width, surfaces, structures, terrain, environment, vehicle tuning, cameras and audio settings.
The authoring workflow includes validated project data, undo/redo, import/export and rejection of invalid edits without destroying the previously accepted project.
Each accepted change can be tested through the actual driving simulation.
๐ฆ Portable Racing โ Play Offline
Created races can be exported as standalone playable ZIP packages containing:
- The accepted course and vehicle configurations.
- Native simulation and rendering modules.
- Gameplay controls, HUD, camera and audio systems.
- Required artwork and procedural content.
- Source-integrity information, licences and notices.
- Offline support and a complete local runtime.
Exported races support direct launch from extracted files, as well as local HTTP hosting.
Your game should remain yours even when the network disappears.
๐ฅ Collision Fixes โ Goodbye, Ghost Cars!
Two racing experiences received important physical-contact improvements.
HORIZON 3D Racing
Player and rival vehicles now have actual chassis collision response. Bridge guardrails use their visible physical geometry rather than invisible collision barriers, and roadside decorations no longer behave as phantom walls.
Retro Tour and Scenic Tour โ RACING-002C
The classic pseudo-3D racing modes now detect and resolve vehicle contact instead of allowing cars to pass through each other.
The improvements include swept collision detection, physical separation, collision-damage cooldowns and clean-lane overtaking.
The Retro Racing cars also receive improved original Canvas artwork, including distinct body styles, windows, lighting, bumpers and visual details.
The ghost cars have been retired. The cars now have mass.
Optional difficulty balancing is deferred to Issue #129, after the planned Demoscene work.
๐ฝ QUANTUM FINGERLESS CONTROLโข โ QFC-001
One memorable regression involved Chromium cancelling a two-finger touch gesture while the car continued reporting:
{
throttle: 1,
brake: 0,
steer: -1,
reverse: 0
}The underlying issue was incomplete cancellation of held touch controls.
HORIZON now clears those controls when the browser cancels the gesture, including cases where individual pointer-cancellation events are missing.
The regression is covered by automated Node and real Chromium touch tests.
The driver had no fingers. Chromium insisted two were still holding the wheel.
๐ฌ Verification, Evidence & Reliability
This release includes extensive automated verification across simulation, rendering, browser interaction, offline startup, package integrity and numerical contracts.
The completed validation includes:
- Node regression and source-integrity tests.
- Real Chromium keyboard, mouse and multi-touch tests.
- Full racing-course completion and rival-contact testing.
- Editable-project import, export and rollback verification.
- Direct-file and offline portable-race startup.
- Exact rendering and source-correspondence checks.
- Independent mathematical and numerical verification.
- Four 1,000-cycle laboratory endurance jobs.
- Service-worker, browser-cache and startup diagnostics.
- Successful post-merge GitHub Actions verification and GitHub Pages deployment.
A separate VOIDWARD browser-startup investigation also improved diagnostic evidence collection without weakening the original timeout or acceptance conditions.
The final post-merge verification passed on:
c11f42278ac9e1ca03abaad0eeb1a45d3ffc5c53
GitHub Actions: Successful post-merge Flight Lab run
Local owner play-throughs and Chromium regression testing also contributed to the release acceptance evidence.
๐ง Notable Merged Work
- HORIZON vehicle dynamics, scenery, racing and creator workflow.
- HORIZON visibility pipeline and roadside fidelity improvements.
- Portable race startup and bridge-collision corrections.
- GitHub Actions verification and browser integrity improvements.
- VOIDWARD legacy-save isolation and offline boot diagnostics.
- QFC-001 touch-cancellation fix.
- PR #128 โ Solid Retro/Scenic traffic and improved original car artwork.
Full changelog: v2.8.0...v2.9.0
๐ฎ What's Next โ DEMOSCENE-002
With HORIZON established, development turns toward DEMOยญSCENE-002 โ THE MACHINE DREAMS, an audiovisual engine showcase exploring the project's original rendering, procedural audio, visual effects and deterministic animation systems.
Retro Racing difficulty balancing remains scheduled for later.
VANILLAJS v2.9.0 โ HORIZON
Built with JavaScript. Driven by physics. Verified with evidence.
No frameworks. No cloud. No ghost cars.
QSOL-IMC โ Correctness outranks speed. But the cars can still go fast. ๐๏ธ๐ฝ
What's Changed
- HORIZON-001: Add lit rendering, procedural environments and vehicle visuals by @EmergentMonk in #105
- HORIZON-002: Add world-space vehicle dynamics and a driving workshop by @EmergentMonk in #107
- HORIZON-003: Complete racing creator tools and the scenic racing showcase by @EmergentMonk in #108
- Fix HORIZON Pages deployment timeout and preserve verification gates by @EmergentMonk in #109
- HORIZON-004: Improve 3D visual fidelity, reverse driving and race polish by @EmergentMonk in #110
- HORIZON-005: Fix bridge-edge collision and recoverable rollovers by @EmergentMonk in #112
- HORIZON-006: Stabilise high-speed steering and add real rival collisions by @EmergentMonk in #113
- HORIZON-007: Hide completed checkpoint crossbars blocking the chase camera by @EmergentMonk in #114
- LAB-ENDURANCE-001: Run 1000 Playwright cycles per VANILLAJS lab in CI by @EmergentMonk in #115
- HORIZON-008: Prevent under-map escape and enable Vehicle Dynamics reverse by @EmergentMonk in #116
- HORIZON-009: Deterministic retained visibility pipeline and pixel-parity gate by @EmergentMonk in #117
- HORIZON-010: Retained roadside fidelity and deterministic material details by @EmergentMonk in #118
- HORIZON 1/3 โ Correct the driver guide on both race entrances by @EmergentMonk in #119
- HORIZON 2/3 โ Measure the v2.9.0 renderer against its pinned baseline by @EmergentMonk in #120
- HORIZON 3/3 โ Prepare the v2.9.0 release handoff before THE MACHINE DREAMS by @EmergentMonk in #121
- Fix HORIZON double-click offline launch in the source archive and exported race by @EmergentMonk in #122
- HORIZON: clear the bridge entrance and keep assisted steering on the first bend by @EmergentMonk in #123
- CI: prevent Flight Lab browser timeout after PR #123 by @EmergentMonk in #124
- HORIZON: fix bridge phantom walls and roadside markers; activate verified browser-suite reuse by @EmergentMonk in #125
- Fix VOIDWARD post-reload browser timeout with isolated legacy-save storage witness by @EmergentMonk in #126
- QFC-001 โ QUANTUM FINGERLESS CONTROLโข: HORIZON multi-touch cancellation by @EmergentMonk in #127
- RACING-002C: solid Retro/Scenic traffic and polished Canvas cars by @EmergentMonk in #128
Full Changelog: v2.8.0...v2.9.0