Skip to content

Releases

VANILLAJS v3.5.0 โ€” THE SILICON FORGE ๐Ÿ‘ฝโš™๏ธ๐Ÿ•น๏ธ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 22 Nov 21:39
Immutable release. Only release title and notes can be modified.
9d95d74

Super FX ยท Bitplane Blitters ยท Raster Coprocessors

Modern hardware. Classic engineering. No unnecessary complexity.

VANILLAJS v3.5.0 introduces three original, experimental graphics-processing systems inspired by the hardware ingenuity of the 1980s and 1990s.

Drawing lessons from Nintendo's Super FX coprocessor, Commodore Amiga blitters, Atari STE graphics hardware and early arcade machines, THE SILICON FORGE brings fixed-point transformations, packed bitplane manipulation and deterministic raster effects into VANILLAJS.

These systems are implemented using native JavaScript, bounded memory, reproducible numerical contracts and independently verifiable browser evidence.

No proprietary ROMs, commercial game assets, hardware emulators or additional runtime frameworks are required.

The goal isn't to emulate old hardware. It's to rediscover the engineering principles that made it remarkable.


What's new

FX-PIPE-001 โ€” The Graphics Coprocessor

Introduced in PR #153

An original Super FX-inspired graphics preparation module built around checked Q16.16 fixed-point arithmetic.

Features include:

  • Bounded 3ร—4 affine transformation matrices.
  • Translation, rotation, scaling and shearing.
  • Coloured 3D triangle preparation.
  • Two-triangle 2D sprite cards.
  • Retained Float32 vertex buffers.
  • Deterministic geometry ordering.
  • Preflight validation and checked numerical bounds.
  • Direct compatibility with the existing WebGL1 Renderer.update() interface.

The new FxGraphicsPipe transforms integer Q16.16 source coordinates into interleaved XYZ/RGB vertex data.

Capacity is explicitly bounded at 65,532 vertices, with no implicit buffer growth.

An independently implemented BigInt numerical oracle verifies the resulting Float32 output bytes.

Evidence

  • Seven dedicated numerical tests passed.
  • Actual Chromium WebGL1 vertex and rendered-pixel parity verified.
  • Bounded sprite-card workloads evaluated at 64, 256 and 512 cards.
  • Source-bound benchmark and browser evidence recorded.

The new pipeline offers a reusable graphics-preparation alternative. It does not replace the WebGL renderer, implement a Super FX CPU or modify authoritative simulation.


BLIT-001 โ€” The Bitplane Forge

Introduced in PR #154

Inspired by the bitmapped graphics operations of the Commodore Amiga, Atari Mega ST/STE and early arcade systems.

BLIT-001 provides a pure-JavaScript, packed 16-bit graphics processor with deterministic pixel operations.

Features

  • One to four colour bitplanes.
  • Up to 16 indexed colours.
  • Maximum surface dimensions of 512 ร— 384 pixels.
  • Owned Uint16Array bitplane storage.
  • Indexed pixel reading and writing.
  • Block copying with destination clipping.
  • Masked sprite compositing.
  • Overlap-safe source copying.
  • Rectangular fills.
  • Integer Bresenham line drawing.
  • Palette-based RGBA export.

Three-input Boolean minterms

BLIT-001 supports all 256 possible 8-bit minterm selections for three-input Boolean pixel operations.

Two especially useful operations are:

BLIT_COPY โ€” 0xCC

Copies the selected source bitplane data.

BLIT_COOKIE_CUT โ€” 0xCA

Performs masked sprite compositing, preserving the destination background wherever the mask is unset.

This makes it possible to construct traditional arcade-style software graphics using explicit and testable pixel operations.

The implementation supports arbitrary horizontal offsets across 16-bit word boundaries and protects overlapping copies from read/write corruption.

Bitplane Forge laboratory

A new interactive browser demonstration includes:

  • An original procedural landscape.
  • A masked moving aircraft sprite.
  • Overlap-safe bitmap copying.
  • Deterministic frame reset.
  • Pixel and memory diagnostics.

All visual data is generated locally.

Evidence

  • All 256 Boolean minterms checked against an independent reference.
  • Seven dedicated numerical tests passed.
  • Browser-tested sprite movement, overlapping copy and reset.
  • Reproducible pixel hashes and SHA-256 evidence.
  • Malformed and accessor-based input rejection tested.

Important: This initial processor uses packed 16-bit storage but performs general Boolean compositing per pixel. It is not claimed to have hardware DMA throughput or word-wide accelerated blitting.


COPPER-001 โ€” The Raster Conductor

Introduced in PR #155

A deterministic, original scanline presentation processor inspired by the Commodore Amiga's Copper coprocessor.

The system applies an ordered sequence of commands to indexed pixel data, enabling classic raster effects without requiring direct CRT beam timing or hardware registers.

Features

  • Sixteen-entry RGBA palette.
  • Up to 512 ordered scanline commands.
  • Per-scanline palette changes.
  • Signed horizontal scroll offsets.
  • Persistent palette and scroll state between scanlines.
  • Multiple commands on the same scanline.
  • Reusable RGBA output storage.
  • Strict validation of program input.
  • Repeatable display output.

Supported commands:

Palette update

Changes a selected palette entry beginning at a specified scanline.

Horizontal scroll

Changes the horizontal source-pixel offset, wrapping within each scanline.

Scroll offsets are bounded to โˆ’511 through +511 pixels.

The processor supports display dimensions up to 512 ร— 384 pixels.

BLIT + COPPER composition

COPPER-001 can consume the indexed pixels produced by BLIT-001.

This creates a reusable presentation pipeline:

Bitplane graphics โ†’ Indexed framebuffer โ†’ Scanline commands โ†’ RGBA output โ†’ Browser display

The raster processor cannot modify the accepted source bitplanes or authoritative gameplay state.

Raster Conductor laboratory

An interactive demonstration provides:

  • Procedural mountain scenery.
  • Raster-style palette bands.
  • Adjustable horizontal scanline displacement.
  • Effect bypass.
  • Deterministic frame restoration.
  • Pixel checksum and buffer diagnostics.

Evidence

  • Seven dedicated scanline numerical tests.
  • Positive, negative and wrapped scroll reference cases.
  • Same-line command ordering.
  • Palette persistence and frame-reset verification.
  • BLIT source-data immutability checks.
  • Real Chromium visual-output comparisons.
  • SHA-256-sealed browser evidence.

This is not a cycle-accurate Amiga Copper emulator, hardware interrupt controller or programmable CRT display engine.


Architecture โ€” Three Independent Graphics Systems

VANILLAJS now provides three distinct experimental graphics processing approaches.

Module Responsibility Inspiration
fx-pipe Fixed-point affine geometry preparation Nintendo Super FX
blit Indexed bitplanes and masked pixel manipulation Amiga / Atari STE / arcade blitters
copper Per-scanline palette and horizontal scroll presentation Amiga Copper

All three modules remain optional.

FX-PIPE feeds existing WebGL1 geometry buffers.

BLIT produces indexed or RGBA pixel data.

COPPER transforms indexed presentation data into scanline-dependent RGBA output.

They do not replace the existing graphics engine or alter physical game simulation.

Determinism and correctness

THE SILICON FORGE follows VANILLAJS's established engineering requirements:

  • Explicit numerical domains and resource bounds.
  • Finite memory allocation.
  • Strict input validation.
  • Rejection of invalid operations before publication.
  • Independently implemented numerical references.
  • Deterministic output ordering.
  • Source and evidence provenance.
  • Separation between graphics and gameplay authority.

The underlying physics, collision, input, AI and replay contracts remain unchanged.

FX-PIPE preserves its documented Q16.16 arithmetic contract.

BLIT validates its Boolean pixel operations against an independent reference.

COPPER validates scanline results against independently calculated pixel output.

No browser display state is permitted to become authoritative simulation state.


Browser laboratories

Two new experimental laboratories are included in the offline package.

BLIT-001 โ€” The Bitplane Forge

demos/blit-lab/index.html

Explore masked sprite drawing, bitmap copying and indexed graphics.

COPPER-001 โ€” The Raster Conductor

demos/copper-lab/index.html

Explore scanline colour changes, raster effects and horizontal scrolling.

Both use original graphics and locally available browser APIs.

The existing VANILLAJS applications and demonstrations remain available.

Verification and CI

All three feature PRs were implemented, reviewed and merged separately.

Completed milestones

PR Feature
#153 FX-PIPE-001 โ€” Super FX-inspired graphics pipeline
#154 BLIT-001 โ€” The Bitplane Forge
#155 COPPER-001 โ€” The Raster Conductor

The BLIT and COPPER hosted workflows verified their numerical references, complete Node regression suites, offline package generation and real browser rendering.

The final COPPER candidate recorded:

  • 1,427 passing Node tests
  • 14 passing BLIT/COPPER numerical tests
  • 87 registered engine module contracts
  • Successful packaged browser pixel verification
  • Successful source-bound SHA-256 evidence checks

Historical-source CI correction

During implementation, the expanded Node regression checks exposed a missing historical Git object in shallow CI checkouts.

The ALIEN-MATH-006 tests required an exact historical baseline commit that the feature workflows had not fetched.

The correction added an explicit depth-one fetch of the immutable source commit and retained the existing frozen verification requirements.

No proof obligations, reference checks...

Read more

VANILLAJS v3.4.0 โ€” THE ALLOCATION OBSERVATORY ๐Ÿ‘ฝ๐Ÿ”ฌโš™๏ธ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 22 Nov 17:27
Immutable release. Only release title and notes can be modified.
0cffbcf

GC-PROFILE-001 โ€” Measure the Machine Before Optimizing It

You cannot optimize what you haven't measured.

VANILLAJS v3.4.0 introduces THE ALLOCATION OBSERVATORY, a reproducible profiling system for investigating JavaScript memory allocation, garbage-collection activity and rendering performance during actual browser gameplay.

Following v3.3.0 โ€” THE MEMORY FORGE, which introduced reusable low-allocation geometry buffers, this release provides the evidence infrastructure needed to measure their behaviour.

Rather than making unverified performance claims, VANILLAJS can now collect source-bound observations of memory allocation, GC events, frame intervals and JavaScript execution costs.

Build. Measure. Verify. Optimize.


What's new

GC-PROFILE-001 โ€” The Allocation Observatory

A new experimental profiling system measures browser memory behaviour without modifying the underlying game engine or JavaScript garbage collector.

The Observatory combines:

  • Chrome DevTools Protocol allocation sampling.
  • Garbage-collection event tracing.
  • JavaScript heap occupancy measurements.
  • Frame-time and CPU-work instrumentation.
  • Reproducible WebGL rendering workloads.
  • Exact source and environment identification.
  • SHA-256-sealed evidence reports.

The profiler remains separate from the distributed game runtime and introduces no new runtime dependencies.

Real FPS gameplay profiling

The Observatory can profile the existing Block Arena Foundry during actual gameplay.

The test executes the regular game rather than substituting simulated benchmark behaviour.

It exercises:

  • CPU-controlled opponents.
  • Authoritative combat and movement.
  • Character and projectile systems.
  • Navigation and collision.
  • WebGL rendering.
  • Live HUD updates.
  • Keyboard movement and firing.

The resulting evidence helps identify allocation-heavy operations that occur during a real game.

Dynamic geometry stress testing

The new visual workload compares two rendering-data preparation approaches:

  1. Legacy geometry assembly: Traditional JavaScript arrays converted into Float32 vertex data.
  2. Reusable geometry streams: The BoxVertexStream system introduced in VANILLAJS v3.3.0.

Four workload sizes are supported:

Workload Visual boxes Triangles
P1 64 768
P2 128 1,536
P3 256 3,072
P4 512 6,144

Each workload uses the actual WebGL1 renderer and validates exact Float32 geometry parity before measurement.

These are visual objects, not additional authoritative Combat3D projectiles.

First executed performance observations

The hosted Chromium evidence workflow completed 17 independent observations:

  • One real Block Arena FPS gameplay session.
  • Sixteen paired visual-geometry measurements.
  • Two measurement passes with reversed execution order.
  • Raw frame and allocation evidence preserved for independent inspection.

Example: 512-box workload

Measurement Legacy assembly Reusable stream
Sampled allocation, pass 1 667.5 MB 1.33 MB
Observed outer GC events, pass 1 61 1
p95 JavaScript work, pass 1 5.3 ms 0.3 ms
Sampled allocation, pass 2 671.7 MB 1.49 MB
Observed outer GC events, pass 2 61 1
p95 JavaScript work, pass 2 3.8 ms 0.3 ms

The observations show substantially lower allocation sampling and fewer recorded GC events for the reusable geometry stream under this particular workload.

These are instrumented, hosted software-rendering observationsโ€”not measured improvements to complete game FPS.

The p95 rendering intervals remained approximately 16.7โ€“16.8 ms across both implementations. Statistical allocation samples are not exact cumulative allocation totals, and recorded GC events do not establish complete stop-the-world pause accounting.

Physical GPU performance and broader browser comparisons remain separate research tasks.

Garbage-collection trace correctness

During development, the profiler identified overlapping records in Chrome's tracing output.

Chrome can report a high-level garbage-collection event alongside nested V8 internal phases.

The final implementation avoids treating those nested records as separate complete collections.

The analysis prefers outer MinorGC and MajorGC records and uses documented fallbacks when necessary.

This improves the interpretability of the recorded evidence without claiming that every garbage-collection event is observable.

New development tools

Browser profiling

node scripts/gc-profile-browser.mjs \
  --out /tmp/gc-profile-001 \
  --frames 60 \
  --warmup 20 \
  --backend software

The browser profiler requires an externally provided Playwright/Chromium testing installation.

It is not a dependency of games built using VANILLAJS.

Numerical and analysis verification

node --test tests/gc-profile.test.js
node --test tests/*.test.js
node scripts/check.js
node scripts/build.js
node scripts/verify-offline.js

The Observatory includes tests for:

  • Correct p50, p95 and p99 calculations.
  • Valid allocation sample attribution.
  • Garbage-collection event classification.
  • Detection of nested GC records.
  • Malformed and non-finite observation rejection.
  • Explicit workload-capacity limits.
  • Separation of heap occupancy from allocation sampling.

Evidence preservation

Each completed profiling run records:

  • Exact Git commit identity.
  • Browser and runtime versions.
  • Operating environment and graphics backend.
  • Workload configuration.
  • Raw frame intervals and JavaScript timings.
  • Allocation sampling observations.
  • GC event observations.
  • Heap occupancy measurements.
  • Screenshots and workload metadata.
  • SHA-256 evidence receipts.

The results can be inspected independently rather than relying on an unsupported performance headline.

Verified hosted evidence:

GC-PROFILE-001 โ€” Successful Chromium workflow

Recorded evidence SHA-256:

5b947830e1c3e64d860242faff6bcee931aea8cfdbd3dca416e50d1980a1b638

Compatibility and architecture

VANILLAJS v3.4.0 preserves the existing game-engine contracts.

  • No changes to authoritative simulation.
  • No changes to collision or damage.
  • No changes to published replay formats.
  • No changes to the existing renderer API.
  • No replacement of the browser garbage collector.
  • No increase to Combat3D projectile capacity.
  • No new third-party game-engine dependencies.
  • No mandatory runtime profiling overhead.

The Allocation Observatory is an opt-in development tool.

Existing games continue using their established engine versions until their integrations are independently reviewed.

Verification status

All 20 post-merge GitHub Actions workflows passed.

The merged implementation includes:

  • scripts/gc-profile-browser.mjs
  • scripts/gc-profile-core.mjs
  • tests/gc-profile.test.js
  • docs/GC_PROFILE_001.md
  • .github/workflows/gc-profile-001.yml
  • Updated developer guidance and documentation auditing.

The existing source and packaging verification gates remain intact.

What's next โ€” VANILLAJS v3.5.0 candidates

With rendering allocation measurement now available, future improvements can be selected using actual evidence.

Potential next phases include:

GC-POOL-001 โ€” Bounded Object Pooling

Investigate reusable storage for visual effects, projectiles and temporary render objects without changing authoritative gameplay behaviour.

GC-SNAPSHOT-001 โ€” Simulation Memory Audit

Profile snapshot creation and state-copying overhead while preserving deterministic replay and data ownership.

GC-GEOMETRY-002 โ€” Dynamic Geometry Optimisation

Investigate improved batching and memory reuse for increasingly dense scenes.

GC-NATIVE-001 โ€” Physical GPU Verification

Compare headless software-rendering results against native graphics hardware with independent frame, allocation and GPU measurements.

These phases are proposals, not features included in v3.4.0.

Future game integration

The Observatory provides an engineering foundation for future versions of:

  • BOOMER-SHOOTER, including the proposed STORM PROTOCOL bullet-hell mode.
  • Vehicular-Warfare, including mechs, tanks, aircraft and ships.
  • Games2 and other QSOL-IMC titles using VANILLAJS.

Optimizations will be adopted only after preserving their respective simulation, collision and replay contracts.


Release provenance

Repository: https://github.com/QSOLKCB/VANILLAJS

Version: v3.4.0 โ€” THE ALLOCATION OBSERVATORY

Previous release: v3.3.0 โ€” THE MEMORY FORGE

Development milestone: GC-PROFILE-001

Merged pull request: #152

Verified release candidate commit:

0cffbcfe2524bbf7f82190ef8ef0813aeb6bb466

Full changes:

v3.3.0...0cffbcf

Post-merge CI: 20/20 workflows successful

Licence: Apache-2.0


QSOL-IMC โ€” THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE.

VANILLAJS v3.4.0 โ€” THE ALLOCATION OBSERVATORY ๐Ÿ‘ฝ๐Ÿ”ฌ

The engine no longer has to guess where the garbage goes.

Measure the machine. Preserve the evidence. Let correctness decide.

VANILLAJS v3.3.0 โ€” THE MEMORY FORGE ๐Ÿ‘ฝโš™๏ธ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 22 Nov 16:35
Immutable release. Only release title and notes can be modified.
a2bc2db

RENDER-PACKING-001 โ€” Less Allocation. More Reuse. Same Correctness.

Stop rebuilding what you can reuse.

VANILLAJS v3.3.0 introduces a new experimental, low-allocation geometry system designed to reduce JavaScript memory churn during dynamic rendering.

Building on v3.2.0 โ€” SEDIMENT & SIGNAL, this release adds reusable Float32 geometry streams, bounded buffer ownership, exact rendering-data verification and reproducible CPU benchmarks.

The objective is straightforward: reduce unnecessary memory allocation while preserving the engine's numerical correctness, rendering contracts and offline-first architecture.

No new frameworks. No cloud dependencies. No replacement rendering engine.

Correctness outranks speed.

What's new

RENDER-PACKING-001 โ€” Bounded Geometry Streams

The new render-packing module introduces BoxVertexStream, a reusable geometry writer for native JavaScript and WebGL applications.

Previously, constructing a large number of dynamic boxes involved repeatedly allocating temporary corner arrays, colour arrays and JavaScript vertex arrays before converting the result to Float32 data for GPU upload.

The new approach lets applications prepare their geometry in one preallocated, bounded Float32Array.

Features include:

  • Reusable typed-array storage with no capacity growth during rendering.
  • Configurable capacity from 1 to 4,096 boxes.
  • Direct scalar geometry writing through appendXYZRGB().
  • Compatibility with the existing XYZ/RGB vertex layout.
  • Exact Float32 output parity with the existing box geometry builder for admitted inputs.
  • Strict validation of finite coordinates, dimensions and colours.
  • Explicit capacity errors rather than silent geometry truncation.
  • Reuse across frames through reset().
  • Direct integration with the existing WebGL renderer's typed-array upload path.

The module is entirely optional and written in native JavaScript without third-party runtime dependencies.

Memory efficiency

For a workload containing 512 dynamic boxes:

Property Value
Box capacity 512
Vertices per box 36
Total vertices 18,432
Total triangles 6,144
Vertex data 110,592 Float32 values
Retained buffer 432 KiB

Rather than rebuilding the vertex payload from temporary JavaScript arrays every frame, the new stream reuses its preallocated storage.

A small typed-array view is still created for each upload. The browser remains responsible for JavaScript garbage collection and GPU memory management.

This release reduces allocation opportunities; it does not claim to replace or directly control browser garbage collection.

Exact geometry preservation

The implementation retains the existing renderer's:

  • Triangle and vertex ordering.
  • Face shading coefficients.
  • Coordinate conventions.
  • Float32 output representation.
  • Signed-zero behaviour under the tested domain.
  • Existing WebGL buffer ownership and upload semantics.

An independently implemented historical geometry reference is used to compare emitted output against the new writer.

The existing render-webgl implementation remains unchanged.

Verification and benchmarking

New regression tests

tests/render-packing.test.js introduces verification covering:

  • Exact Float32 byte comparison against historical geometry.
  • Stable vertex and face ordering.
  • Multiple dynamic box configurations.
  • Reset and backing-storage reuse.
  • Prevention of drawing stale vertex tails.
  • Invalid and non-finite geometry rejection.
  • Explicit capacity enforcement.
  • Preservation of previously accepted content following rejected operations.

These tests establish the geometry writer's correctness contract. They do not constitute a physical GPU performance benchmark.

Reproducible workload

A new benchmark utility is included:

node scripts/render-packing-workload.mjs

The workload compares the previous JavaScript-array assembly method against the reusable Float32 stream.

It exercises:

  • 64-box scenes.
  • 256-box scenes.
  • 512-box scenes.
  • 80 frames per measurement.
  • Two warm-up pairs.
  • Seven alternating measurement pairs.

Results include raw observations, median CPU geometry assembly times, output parity and retained-buffer sizes.

Timing results are observational rather than CI performance thresholds.

Important: These measurements concern CPU geometry preparation. They do not establish browser GC pause reductions, physical GPU throughput or an increase in game FPS.

Those remain targets for future instrumented benchmarking.

Engine integration and compatibility

The new API is registered as the 84th experimental VANILLAJS module.

Updated documentation includes:

  • MODULES.json
  • BUILD_A_GAME.md
  • docs/API.md
  • docs/RENDER_PACKING_001.md

The documentation catalogue audit has also been updated to recognise 84 modules and include the new rendering guide.

Existing game engines, gameplay modules, renderers, AI systems, collision routines and replay interfaces remain unchanged.

Applications must explicitly opt into the new module.

No existing game is silently upgraded

Boomer-Shooter, Games2 and other QSOL-IMC games can adopt the new geometry system in future independently reviewed updates.

The existing Boomer-Shooter integration remains pinned to VANILLAJS v3.2.0.

A later integration can use the new writer for visual projectiles and particle geometry while independently preserving authoritative collision, damage and replay behaviour.

GitHub Actions and CI

PR #151 also corrected an initial catalogue-audit failure caused by registering a new module without updating the expected module count.

The audit now correctly recognises:

  • 84 modules
  • 52 recipes
  • 2 research experiments

At the latest verification, the merged commit had 18 of 21 post-merge workflows passing, with no failures reported. Flight Lab/Pages, RACING-001 Chromium and Lab Endurance were still running.

The release should be tagged after the remaining post-merge checks pass and the owner accepts the release.

Known limitations

  • The new writer currently supports axis-aligned, coloured box geometry.
  • It does not provide WebGL instancing, arbitrary mesh formats or physically based materials.
  • It does not change VANILLAJS Combat3D's 64-projectile limit.
  • The stream's fixed capacity must be selected before construction.
  • Returned typed-array views share their backing storage and must not be treated as immutable snapshots.
  • Physical GPU performance improvements have not been established.
  • Browser allocation rates, GC frequency and GC pause durations have not yet been independently quantified.
  • Reduced CPU allocation is not a guarantee of higher FPS.

What's next

The Memory Forge establishes a reusable foundation for a broader engine memory-efficiency programme.

Candidate follow-up work includes:

  1. Allocation profiling: measure JavaScript allocation rates, garbage-collection pauses and frame-time distributions.
  2. Projectile and effect pooling: investigate bounded reusable storage for high-density combat visuals.
  3. Simulation snapshot profiling: identify unnecessary state-copying overhead without compromising authoritative replay.
  4. Dynamic geometry batching: reduce repeated uploads and draw preparation where equality can be demonstrated.
  5. Native GPU acceptance: compare complete workloads on identified graphics hardware before promoting any performance claims.
  6. Downstream adoption: integrate reviewed improvements into Boomer-Shooter's proposed STORM PROTOCOL bullet-hell mode and other VANILLAJS-powered games.

Each improvement will require independent verification, reproducible evidence and owner review.

Release provenance

Repository: https://github.com/QSOLKCB/VANILLAJS

Previous release: v3.2.0 โ€” SEDIMENT & SIGNAL

New release: v3.3.0 โ€” THE MEMORY FORGE

Merged PR: #151

Release candidate commit:

a2bc2dbbb2e2a28fb8857eb7916f1bb374d3c85c

Full changes:

v3.2.0...a2bc2db

Licence: Apache-2.0


QSOL-IMC โ€” THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE.

VANILLAJS v3.3.0 โ€” THE MEMORY FORGE

Less allocation. More reuse. Same correctness. ๐Ÿ‘ฝโš™๏ธ

VANILLAJS v3.2.0 โ€” SEDIMENT & SIGNAL

Choose a tag to compare

@EmergentMonk EmergentMonk released this 22 Nov 12:16
Immutable release. Only release title and notes can be modified.
7a3a5a3

The Creator Hub gains two offline-first labs. Sediment Works lets you build a chamber and watch sand settle through water one tick at a time. Replay Exchange lets a second browser replay a recorded run and check the result for itself. Open the Creator Hub

Sediment Works ยท MATERIAL-001

Open Twin hoppers, paint a stone plug across an outlet, then erase it one cell at a time. Sand falls and displaces water, water spreads sideways, and stone holds its ground. Spillway gives you a retaining wall to cut through. Empty tank gives you a blank chamber. Pointer and keyboard controls support painting, single-stepping, and saving or restoring the chamber at an exact tick. Play Sediment Works ยท PR #149

The experimental material-grid module runs on seeded integer rules. The lab advances at 30 ticks per second, and each particle can move at most once per tick. A full 128 ร— 96 chamber holds 12,288 cells and uses 24,592 bytes of persistent simulation buffers. Material grid API

Replay Exchange ยท REPLAY-TRANSPORT-001

Open the lab in two tabs, choose Receiver in the second, and exchange the offer and answer codes. Send the built-in 40-tick integer tape, the 60-tick racing tape, or a saved Evidence Chamber receipt. Each pairing carries one recorded run over a direct WebRTC data channel. The peers need a reachable direct connection. Open Replay Exchange ยท PR #150

The receiver chooses the expected source commit and replays the complete tape before enabling Save verified JSON. A wrong-build or interrupted transfer leaves the last verified receipt available. Transfers are capped at 256 KiB across at most 32 numbered chunks. Replay transport guide

Offline reload fix

Fixed an intermittent JavaScript module loading failure when reopening VOIDWARD offline. The service worker now serves the exact bytes it verified with SHA-256, preserves the MIME type, and reports the decoded byte length. The Game Maker and HORIZON portable runtimes include the same correction. Offline worker fix

Verification

  • All 1,397 tests passed on the merged commit. All 21 post-merge workflows passed, including Flight Lab and Lab Endurance. GitHub Pages deployed successfully. Flight Lab and Pages ยท Lab Endurance
  • Sediment Works matched an independent reference in 512 small-grid comparisons. Packaged Chromium reopened the chamber after the HTTP server stopped, advanced the simulation, and exported the expected cells. Material browser evidence
  • Two Chromium processes on one host exchanged a 10,451-byte racing receipt over direct UDP with the HTTP server stopped. The receiver exported byte-identical JSON and kept it after rejecting a wrong-build transfer. Replay browser evidence
  • All 1,090 offline package files verified. The local build and both hosted browser runs produced the same manifest SHA-256, 07fc152ef7ca02bfabb5b24af463906d05fe1d68c56d602a81efe729e2b1cddb.

Release commit 7a3a5a3ec49aed5b7063a05614951e69bb257da6
Full changelog v3.1.0 through this release

VANILLAJS v3.1.0 โ€” THE WORLD FORGE ๐Ÿ‘ฝ๐Ÿ› ๏ธ๐ŸŽฎ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 20 Nov 15:31
Immutable release. Only release title and notes can be modified.
d6da91b

The engine sees. The engine builds. The engine fights. The engine remembers.

Following v3.0.0 โ€” THE MACHINE DREAMS, VANILLAJS takes another step from individual game experiments toward reusable, inspectable game-engine systems. Six roadmap phases are now implemented, alongside new cockpit mechanics, native CAD authoring, 2.5D projection, chip-inspired audio and stronger offline verification.

Scope: 16 merged PRs, #133โ€“#148. The registered module catalogue grows from 71 in v3.0.0 to 82, with the existing 51 recipes retained.

Still VANILLAJS: native JavaScript, browser standards, original demos, bounded data, explicit source provenance, Apache-2.0 licensing, and no CDN, cloud service or npm runtime dependency required for normal browser playback.

๐Ÿ‘๏ธ SENSE-001 โ€” A world that can actually see

The new pure sensing module implements bounded world-space range, field-of-view and static AABB occlusion queries, with stable contact ordering and indexed/serial comparison. Visibility is calculated from geometry, not from a camera trick.

Shadowline Tactics is an original turn-based infiltration game with moving guards, solid cover, stance-dependent sight height, atomic moves, undo and an accepted winning route. Overhead, FPS and air/sensor views present the same authoritative mission state.

Play: Shadowline Tactics ยท PR #140

โœˆ๏ธ COCKPIT-001/002 & TRAJECTORY-001 โ€” Aircraft, sights and missiles

COCKPIT-001 adds a reusable camera/sight/telemetry adapter for cockpit, nose, chase and external views. A bounded airframe model uses lift, drag, gravity, thrust and stall behavior through the existing 6DOF integrator. The cockpit lab compares a stylized prop fighter, a space interceptor and a four-wheel vehicle; physical gun/target geometry is independent of head-look presentation.

COCKPIT-002 turns the experience into TOO CLOSE FOR GUNS โ€” SWITCHING TO MISSILES! with finite ammunition, physical target lock, fixed-tick cooldown, guidance and swept impact. Car mode still cannot fire missiles. Firing the gun remains a separate physical ray test.

TRAJECTORY-001 promotes reusable guided-projectile mechanics upstream: SENSE-linked boresight/range/occlusion admission, moving-target lead, bounded turns and fixed-tick wall/actor swept contact. It reports accepted contacts without taking ownership of game-specific health, ammo or scoring rules.

Try: Cockpit Physics ยท Trajectory Lab ยท #136, #137, #146

๐Ÿง  TACTICS-001 โ€” Squads that respect cover

The new pure tactics module adds deterministic HOLD, MOVE, SUPPRESS and RETREAT orders, bounded cardinal A* routing, occupancy-aware decisions, immutable accepted state and actual SENSE-001 visibility/occlusion checks. A hidden target cannot be suppressed simply because it exists in the world; out-of-range is not mistaken for physical cover.

Squadline โ€” Quiet Relay is an original three-versus-three objective game featuring ally orders, opposing AI, cover inspection, suggested actions, undo and replay. Tactical suppression is policy stateโ€”not fabricated weapon damage.

Play: Squadline ยท PR #145

๐Ÿ› ๏ธ CAD-001 โ†’ CAD-003 โ€” The Geometry Forge

Three successive additions transform the Visual Editor's Asset Foundry:

  • CAD-001 โ€” Parametric Primitives: original bounded column/cylinder, cone and urn controls; native geometry, deterministic OBJ export, SHA-256 source provenance and standard scene placement.
  • CAD-002 โ€” Editable Profiles: recover supported saved radial meshes, edit ring outlines with snapped draggable handles and dimensions, and create new immutable variants without mutating original assets.
  • CAD-003 โ€” Geometry Forge: bounded convex polygon extrusion, edge chamfers, walls, platforms, towers, wedges, mesh winding/topology/volume diagnostics, and an atomic six-structure industrial compound.

Generated geometry uses established project save/export, rendering and Undo/Redo paths. CAD-001 adapts a radial modelling approach from Apache-2.0 DabbleCAD with attribution and the preserved docs/DABBLECAD_NOTICE.md. No Three.js, Electron, Manifold/CSG runtime or external model pack is bundled.

Create: Visual Editor ยท #141, #142, #143

๐ŸŒ Projection25D & WORLD-VIS-001 โ€” Presentation without physics compromises

VANILLAJS-25D-001 provides opt-in oblique 2.5D presentation, cosmetic extrusion, shadowing, stable draw order and unchanged ground-plane collision footprints. A strict offline OBJ-to-lit-mesh converter retains its source SHA-256 identity.

WORLD-VIS-001 adds retained HORIZON world presentation: conservative multi-camera frustum selection, deterministic opaque/transparent ordering, bounded whole-triangle visual LOD, reusable GPU handles, eviction limits and context recovery. The Retained World lab exposes three cameras, culling/LOD controls and buffer telemetry.

Neither feature rewrites source geometry, collision, race physics or authoritative replay state. Far LOD is an acknowledged display approximation, not collision geometry.

Explore: 2.5D Lab ยท Retained World ยท #134, #144

๐ŸŽต CHIP-AUDIO-001 โ€” Four voices of old-school attitude

An opt-in, original four-voice signed 8-bit PCM system combines SID-inspired ADSR envelopes, Paula-style stereo routing, PAL/NTSC period choices, seed-controlled wave/noise generation, optional approximate filtering and deterministic sample-range rendering. The listening lab plays an original generated phrase and exports 48 kHz stereo PCM WAV locally.

These are hardware-inspired models, not cycle-accurate SID/Paula emulation or a claim about native sound-card timing.

Listen: Chip Audio Lab ยท PR #135

๐Ÿ—๏ธ CREATOR-INTEROP-001 โ€” World Foundry and sealed offline content

World Foundry creates portable, versioned JSON packages containing bounded original 2D/2.5D/3D meshes, targets, vehicles, props, spawn placements, physical line-of-sight regions and optional tactical squads.

Scene Graph, SENSE, TACTICS and CAD validators retain their respective authority. Packages use SHA-256 content/asset digests, strict schema and reference checks, size bounds and atomic rejection for malformed or tampered input. No executable mod script or network fetch is needed to exchange original authored worlds.

Build: World Foundry ยท PR #147

๐Ÿ”ฌ REPLAY-AUDIT-001 โ€” The Evidence Chamber

A new cross-lab receipt system runs real native engines and independently verifies complete accepted command/event tapes:

Model Authority
FPS Combat3D โ€” 60 Hz authoritative ticks and per-tick events
Air TRAJECTORY-001 โ€” 120 Hz physical lock, guidance and contact
Racing vehicle3d โ€” 120 Hz flat-surface source-controlled adapter
Integer Native integer-engine replay โ€” integer-exact tape identity

Receipts bind source declarations, complete commands, per-tick events and state SHA-256s, and final-state evidence. A declared build SHA does not itself prove that executable source was authenticated; floating models are same-runtime deterministic, not universally bit-identical across browsers.

The Evidence Chamber can record, verify, deliberately tamper, import and re-export independently checked receipts. It exercises three actual virtual 30/60/144 Hz Canvas2D presentation schedules with interleaved authoritative fixed ticks; the schedules do not purport to measure physical monitor refresh or GPU FPS.

Non-default imported tapes remain the active audit evidence. Evidence-generation tokens prevent an obsolete asynchronous comparison from painting a stale result or publishing a false PARITY PASS after a model/recording/import change.

Inspect: Evidence Chamber ยท PR #148

๐Ÿงช Evidence, racing acceptance and offline resilience

  • FPS-LAB-OPT-001 (#133): source-bound, paired headless Chromium frame-time diagnostics with retained raw RAF samples, renderer identity, source hashes and screenshots. Evidence firstโ€”no unmeasured speedup claim.
  • HORIZON-ACCEPTANCE-001 (#138): correct the race browser gate so W acceleration is checked after the complete three-second countdown. It retains the real >2 m/s physical speed threshold and stronger phase/input/gear assertions.
  • OSS-GAME-REUSE-001 (#139): source-pinned research and licence-aware design roadmap; its six implementation phases are now delivered by subsequent PRs.
  • VOIDWARD acceptance hardening (#148): independently isolated Chromium execution; full offline cache-member verification; useful request-failure diagnostics rather than [object Object]; retained negative contr...
Read more

VANILLAJS v3.0.0 โ€” THE MACHINE DREAMS ๐Ÿ‘ฝ๐ŸŽต๐ŸŽฌ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 19 Nov 14:41
Immutable release. Only release title and notes can be modified.
394fd45

The machine remembered. The machine built worlds. The machine learned to drive. Now the machine dreams.*

VANILLAJS reaches v3.0.0 with THE MACHINE DREAMS โ€” THE DREAMLINE: a complete, original 90-second audiovisual demoscene production, a native-resolution cinematic export pipeline, and more forgivingโ€”but still physically solidโ€”Retro and Scenic Racing.

This is a major creative and engineering release: real-time browser art, score-derived instrumental synthesis, offline playback, source-owned cinematic rendering, independently decoded video evidence, and deterministic arcade handling. Built on native JavaScript, browser standards, and locally executable tools.

No CDN. No cloud service required. No heavyweight browser runtime dependencies. No ghost cars.

๐Ÿ‘ฝ THE MACHINE DREAMS โ€” THE DREAMLINE

One luminous cyan signal links five movements into a single continuous production:

Movement Time The scene
I โ€” Memory 00:00โ€“00:15 A pulse wakes a vector machine; raster traces and wireframe geometry reconstruct the past.
II โ€” Assembly 00:15โ€“00:30 The signal becomes the framework of a vast procedural industrial cathedral.
III โ€” Horizon 00:30โ€“00:50 The floor unfolds into Cape Aster's elevated coastal road and a physically simulated two-car sequence.
IV โ€” Dreamspace 00:50โ€“01:10 The road becomes mathematical projections, musical instruments, and a real graph-edge walk, alongside a separately identified ETQ-303 CRT traversal.
V โ€” Independence 01:10โ€“01:30 The geometry resolves into QSOL-IMC typography and credits, then fades to black and silence.

The HORIZON sequence uses recorded physical vehicle states from the actual race simulation, with a separately authored cinematic cameraโ€”not a fabricated gameplay benchmark. The mathematical act distinguishes the 240-root E8 graph and its 6,720 undirected edges from the 303-pair CRT support sequence; projection and colours are creative mappings, not new physical claims.

The production can be played locally or offline. It supports play, pause, seek, restart, mute, fullscreen, and creator controls for palette, reduced visual detail, reduced motion, silent playback, and validated project import/export. The original 60-second THE MACHINE REMEMBERS production from v2.4.0 remains intact.

Play the demo: THE DREAMLINE on GitHub Pages

๐ŸŽต MACHINE DREAMS โ€” Music with traceable provenance

Composition: MACHINE DREAMS โ€” Trent Slade (QSOL-IMC)
Instrumental arrangement and synthesis: QSOL-IMC / VANILLAJS
Original reference recording: Created with Mureka assistance

The authorised MusicXML source contains two 99-measure parts at 109 BPM, with a 4/4 โ†’ 2/4 change at measure 89 and a return to 4/4 at measure 90. The score supports a complete instrumental arrangement of approximately 3 minutes 37 seconds, and a separately authored 90-second edit for the film.

A bounded local MusicXML โ†’ symbolic MIDI/event-data pipeline preserves tempo, meter, melodic events, and traceable source identities. The public demo synthesises its soundtrack locally from the authorised score-derived event table. The original recorded performance is not presented as reconstructed instrumental stems.

Music licence: The score-derived MIDI, event data, and newly synthesised arrangement are available under Creative Commons Attribution 4.0 International (CC BY 4.0). The original Mureka recording, MusicXML source, notation, lyrics, and certificate are not publicly redistributed. Original VANILLAJS software remains under Apache-2.0, with any applicable file-specific licences retained.

๐ŸŽฌ The actual film โ€” native 1080p, independently verified

The optional offline exporter renders the same Dreamline film code, accepted score, physical racing take, and sample-indexed timeline used by the browser production. It does not record an OBS browser window or upscale a low-resolution video.

  • Output: H.264/yuv420p video with stereo AAC audio in an MP4 container.
  • Resolution: Native 1920 ร— 1080, 16:9.
  • Frame rate: 30 FPS, 2,700 frames over 90 seconds.
  • Audio source: 48,000 sample frames per second, 4,320,000 intended stereo sample frames.
  • Exact frame rule: Frame n evaluates audio sample 1600 ร— n; the 90-second terminal sample is exclusive.
  • Independence: An offline Python/FFmpeg/FFprobe exporter with optional @napi-rs/canvas development tooling. None is required for ordinary browser playback.

The film verifier independently decodes every video frame and both audio channels, checks frame timestamps and scene content, performs 15 independent random-access decoder seeks, compares source/encoded visual changes, and verifies audio duration and fidelity. Fault tests reject malformed streams, frozen or misaligned scenes, incorrect seek indices, corrupted output, encoder failures, and unsafe partial publication.

The original implementation produced three matching encodes within its pinned toolchain; that is an environment-specific observation, not a claim that MP4 bytes are identical across FFmpeg versions, operating systems, or rendering backends.

Reproducible media identities

Artifact / execution SHA-256
Owner's locally verified 1080p film (v3.0.0 merged source, Ubuntu/FFmpeg 8.0.1) 5d37524797fa533ed83d06168703973fd6377656a157390ed5f0d67ce643783d
Original three-encode reference master (PR #131 toolchain) 394fcc16420cf6e82001ddb758f344bd18910e72e66971e0a6dac4f0a1c278ef
90-second stereo PCM16LE 82a2683b79ef7631876276acf3079eb8467356a8479ae92e79b592515dc5dab9
Full instrumental stereo PCM16LE 432ca7e230f29826a40b2917f7bfbe7681c759c22ca2c9207591a1dd0887653c

The owner's full-film export from 394fd455c6ce3bec9f0bf2c5d2a672b8c5454ab1 verified 2,700 decoded frames, 15 seek probes, and 4,320,256 decoded stereo frames, including permitted AAC padding. Its verified MP4 is 47,836,976 bytes. Each export's own verification.json and sidecar references are the authoritative receipts for its file; the two MP4 hashes above identify different verified encodes, not a discrepancy in the musical source identity.

๐ŸŽ๏ธ RACING-002D โ€” Better difficulty, zero ghosting

The v2.9.0 Retro/Scenic collision correction is preserved: traffic remains physically solid even during damage cooldown. v3.0.0 adds a clear, pre-race choice of difficulty, readable impact damage, and a recovery meter.

Mode Damage per contact Recovery at 60 Hz Owner's recorded 863-tick crash test
Arcade 5 HP 72 ticks 60 HP remaining
Classic (v2.9.0 default) 9 HP 48 ticks Destroyed at tick 863 after 12 impacts
Challenge 11 HP 42 ticks Destroyed at tick 713

Classic remains the default and preserves v2.9.0 behaviour. The versioned racing receipts can carry selected difficulty and authored Scenic tracks, with compatibility for existing v1 Classic runs. Clean-lane overtaking, nitro, steering, tour forks, and physical collision separation remain supported; the 3D vehicle solver was not changed.

A no-contact reference drive completed the course in 2,454 ticks at full health on all three profiles. The owner crash-test replay and candidate balancing evidence are retained in evidence/RACING-002D/.

Try the update: Racing Lab

๐Ÿ”ฌ Verification โ€” not just โ€œworks on my machineโ€

The merged v3.0.0 candidate has passed:

  • 1,261 / 1,261 Node tests in the final main-branch Flight Lab verification.
  • 12 / 12 local Dreamline score/video exporter tests, including real encoded-media and failure-injection cases.
  • Source, module, package-build and offline-manifest verification: 1,006 packaged files verified on main.
  • All seven Chromium browser-suite groups on the reviewed main-branch source.
  • Full 90-second offline Chromium Dreamline playback, expected stereo PCM identity, and five time-indexed screenshots on the owner's machine.
  • Full local 1080p cinematic encode and independent verification of 2,700 frames / 15 seeks.
  • Racing browser checks and 1,000-cycle endurance jobs.
  • Successful post-merge GitHub Actions verification and GitHub Pages deployment at the release candidate SHA.

The browser film, GPU output, device audio scheduling, and MP4 encoding may vary by platform. This release does not claim cross-GPU pixel identity, universal real-time 1080p export, or a 4 KiB/64 KiB competition-size executable.

Final main-branch verification: Flight Lab run #44519506377

๐Ÿ”ง Three merged milestones

Exact release candidate: 394fd455c6ce3bec9f0bf2c5d2a672b8c5454ab1
Full changelog: v2.9.0 โ†’ v3.0.0


THE MACHINE DREAMS.
MAKE AMAZING ALIEN TECH.
THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE. ๐Ÿ‘ฝ

VANILLAJS v2.9.0 โ€” HORIZON: The 3D Racing Foundry ๐ŸŽ๏ธ๐Ÿ‘ฝ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 19 Nov 10:10
Immutable release. Only release title and notes can be modified.
c11f422

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
  • HORIZO...
Read more

VANILLAJS v2.8.0 โ€” The Game Maker API ๐Ÿ‘ฝ๐ŸŽฎ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 16 Nov 15:42
Immutable release. Only release title and notes can be modified.
f7cd8d6

From an empty canvas to a playable game. No frameworks. No cloud. No compromises.

VANILLAJS v2.8.0 introduces a native JavaScript Game Maker API, a reusable tilemap engine and an interactive Game Maker Lab.

Inspired by the simplicity of classic game-development tools such as raylib, this release makes building original browser games more approachable while preserving VANILLAJS's modular architecture, numerical contracts and offline-first philosophy.

Create the world. Add the mechanics. Test your game. Export it. Keep everything.

๐ŸŽฎ Game Maker API โ€” Small Code, Real Games

The new api/game-maker/ provides a lightweight development interface over existing VANILLAJS engine systems.

Creators can:

  • Draw rectangles, circles, lines and text.
  • Render sprites and layered tilemaps.
  • Apply camera transformations.
  • Work with validated local assets.
  • Handle supplied input and fixed-step simulation.
  • Generate bounded procedural particles.
  • Play original locally generated sounds.
  • Control pause, reset and resource disposal.

The API owns its resources explicitly. It does not introduce a hidden game loop, mandatory framework or global engine dependency.

A small independently runnable example, Ember Relay, demonstrates how to compose these capabilities into a game with real movement, jumping, collision, pickups, victory conditions and restart.

๐Ÿ—บ๏ธ Tilemap Engine โ€” Build Your Own Worlds

The new modules/tilemap/ brings reusable 2D world construction to VANILLAJS.

Features include:

  • Multiple visual tile layers.
  • Parallax backgrounds.
  • Sprite Foundry atlas integration.
  • Collision grids.
  • Spawn points and interaction markers.
  • Camera-follow behaviour.
  • Bounded tile-based collision.
  • Versioned, validated world data.

Tile movement composes existing integer-based motion systems, keeping authored visual tiles and authoritative simulation coordinates explicitly defined.

The system is suitable for future platformers, top-down adventures, arcade shooters and other original 2D games.

๐ŸŒฑ Game Maker Lab โ€” Introducing Signal Garden

Meet Signal Garden, an original interactive creation workshop.

Start with an empty stage and turn it into a functioning game.

The lab includes:

  • Sprite, palette and tileset editing.
  • Visual tile placement.
  • Multiple layers.
  • Collision and interaction painting.
  • Player movement and jumping.
  • Working pickups and objectives.
  • Optional original sound.
  • Win, lose and restart conditions.
  • Undo/redo and project import/export.
  • Validation diagnostics and meaningful progress feedback.

This is more than a collection of editor controls: the resulting game uses actual VANILLAJS simulation and rendering facilities.

๐Ÿ“ฆ Export a Complete Offline Game

One of the biggest additions in v2.8.0 is portable game export.

Creators can export a validated Game Maker project as a ZIP containing:

  • The playable native JavaScript runtime.
  • Authored world and asset data.
  • The supported example gameplay rules.
  • Required engine dependencies.
  • Licence and attribution notices.
  • Source and SHA-256 integrity records.
  • A scoped offline service worker.

The generated package can be hosted independently under a nested URL without relying on the original VANILLAJS website.

An accompanying command-line exporter supports reproducible development workflows:

node scripts/export-game-maker.mjs PROJECT.json --out NEW_DIRECTORY

Exported games remain available offline after the required browser installation.

Important: The exporter packages supported Game Maker projects and their declared gameplay rules. It does not execute arbitrary imported JavaScript or automatically compile every possible Visual Workbench scene into a complete game.

๐Ÿ› ๏ธ Creator and AI-Agent Integration

The Creator Hub, documentation and machine-readable agent catalogue have been updated to support the new workflow.

VANILLAJS now provides:

  • 67 experimental modules
  • 48 registered recipes
  • 2 research experiments
  • 11 agent workflows

New documentation covers the public API, tilemap authoring, the Game Maker Lab, portable export and integration into independent projects.

The existing Sprite Foundry, Scene & Narrative Foundry, Demoscene Foundry and other Game Labs remain compatible.

๐Ÿ”ง Reliability and Export Fixes

The final review also addressed export cancellation and stale asynchronous operations.

Restarting a project or rejecting an imported file now restores export availability correctly.

An older export operation cannot incorrectly overwrite the state of a newer export. Busy-state feedback and cancellation messages also recover properly.

These behaviours have dedicated regression coverage.

๐Ÿงช Verification

The implementation passed extensive automated verification:

  • 1,060 Node tests passed.
  • All seven packaged Chromium browser groups passed during milestone verification.
  • All eight hosted GitHub CI workflows passed.
  • Source, dependency and documentation checks passed.
  • Build and offline integrity verification passed.
  • Portable ZIP export and actual browser playback were exercised.
  • Nested-path deployment and offline loading were tested.
  • Import rejection, cancellation, keyboard/touch input and graphics/audio recovery were covered.

The final corrected package contains 887 files, totalling 5,909,519 bytes.

Existing mathematics, formal proofs, historical evidence, Workbench schemas and Mod SDK compatibility are preserved.

All new APIs remain experimental. No physical GPU, mobile-device or controller performance claims are made.

๐Ÿš€ What's Next?

v2.9.0 โ€” HORIZON: The 3D Racing Foundry ๐ŸŽ๏ธ

Detailed vehicles, realistic-looking environments, improved lighting and materials, elevation-aware tracks, suspension, driving dynamics and advanced racing creator tools.

HORIZON is planned across three separately reviewed implementation PRs.

v3.0.0 โ€” THE MACHINE DREAMS ๐Ÿ‘ฝ๐ŸŽต

Following HORIZON, VANILLAJS will revisit its demoscene roots with a full audiovisual production combining the upgraded engine, original industrial music, cinematic environments and mathematical visual effects.

DEMOSCENE-002 development issue #104

What's Changed

  • GAME-MAKER-001: Add Game Maker API, tile worlds and portable game creation โ€” PR #103

Full Changelog: v2.7.0...f7cd8d6


Build the engine. Prove the physics. Make the tools. Teach the creator.

QSOL-IMC โ€” THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE. ๐Ÿ‘ฝ

Apache-2.0 ยท Native JavaScript ยท Offline-first ยท Original content ยท No runtime dependencies

VANILLAJS v2.7.0 โ€” The Scene & Narrative Foundry ๐Ÿ‘ฝ๐Ÿ“–๐ŸŒŒ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 16 Nov 13:58
Immutable release. Only release title and notes can be modified.
70e63b9

Build the world. Write the story. Let the player decide.

VANILLAJS v2.7.0 introduces two major creator capabilities: a reusable Scene Graph for composing animated 3D worlds and a Narrative Foundry for creating interactive stories, dialogue, decisions and objectives.

Inspired by the creative freedom of classic game editors and branching-story tools such as Twine, these systems are independently implemented using native JavaScript, bounded data formats and the existing VANILLAJS engine.

No new runtime frameworks. No cloud dependency. No accounts. Just original tools for building original games.

๐ŸŒŒ Scene Composition โ€” Build Worlds That Move

The Visual Workbench gains a new scene-composition workflow, supported by the reusable scene-graph engine module.

Creators can now:

  • Organise objects into parent/child hierarchies.
  • Position objects using local and world-space transforms.
  • Reparent objects within a scene.
  • Create and reuse nested prefabs.
  • Author transform keyframes and animation tracks.
  • Seek and preview animations at chosen times.
  • Configure camera, light and appearance metadata.
  • Preview composed scenes using the native renderer.
  • Undo and redo composition edits.
  • Export and reimport validated scene compositions.

The new qsol.vanillajs.scene-graph.v1 format makes scene structures portable and inspectable.

Scene compositions are saved as separate files, preserving compatibility with existing Workbench v1/v2 projects. Legacy physics and project formats remain unchanged.

New module: modules/scene-graph/

๐Ÿ“– Narrative Foundry โ€” Give Your Game a Story

A completely new Narrative Foundry introduces visual story authoring to VANILLAJS.

Create interactive adventures using:

  • Story nodes and dialogue.
  • Branching player choices.
  • Conditions that unlock or restrict decisions.
  • Typed story variables.
  • Declarative effects and state changes.
  • Quest and objective tracking.
  • Events that can trigger changes in a game scene.
  • Reachability, missing-link and cycle diagnostics.
  • Multiple endings.
  • Deterministic story traversal.
  • Validated story and progress import/export.

The engine validates complete story projects before accepting changes. Invalid imports leave the previous story intact.

The new narrative module is independent of the browser interface and rendering system, allowing future games to reuse story logic without inheriting the Narrative Foundry UI.

New module: modules/narrative/

๐Ÿฎ The Last Lantern โ€” An Original Interactive Story

The Narrative Foundry includes The Last Lantern, an original branching adventure about signalling a courier from a coastal tower.

Its seven story nodes lead to three distinct endings.

Explore a workshop, find a missing prism, make decisions about the journey and influence an accompanying 3D scene.

The demonstration shows how authored narrative events can control presentation without embedding executable scripts inside story files.

Creators can modify the story, add branches, change conditions, preview different endings and export their own work.

๐Ÿ› ๏ธ Better Authoring, Better Reuse

Both systems are integrated with the existing VANILLAJS creator environment.

This release includes:

  • New Workbench scene-composition controls.
  • A dedicated interactive Narrative Foundry.
  • Scene and story preview tools.
  • Versioned, data-only project formats.
  • Human-readable tutorials and API references.
  • Two additional validated AI-agent workflows.
  • Creator Hub and homepage navigation.
  • Updated engine architecture and integration documentation.
  • Browser-verified export/import and recovery behaviour.

The engine catalogue now contains:

  • 66 experimental modules.
  • 47 registered recipes.
  • 2 research experiments.
  • 10 agent workflows.

Existing Sprite Foundry, Weapon Feel, Demoscene, Racing, FPS and other Game Labs remain supported.

๐ŸŽฎ Preparing for Games2

These additions provide reusable foundations for future QSOL-IMC games.

The Scene Graph can support animated environments, moving assemblies, cinematic moments and composed prefabs.

The Narrative Foundry opens opportunities for:

  • FPS campaigns and mission briefings.
  • Interactive science-fiction adventures.
  • Space exploration and branching missions.
  • Tactical RPG dialogue.
  • Futuristic investigation games.
  • RTS campaign decisions.
  • Quest systems and multiple endings.

Games2 remains independently developed. Any adoption of these capabilities will use a reviewed, source-pinned VANILLAJS release.

๐Ÿงช Verification & Engineering

The implementation passed:

  • 1,026 Node tests, with zero failures or skipped tests.
  • All seven packaged Chromium browser groups.
  • All eight hosted GitHub CI workflows.
  • Source and dependency validation.
  • Offline build and package integrity verification.
  • Documentation and agent catalogue checks.

The verified package contained 848 files, totalling 5,359,311 bytes.

Browser testing covered scene editing and animation, story choices and endings, imported projects, rollback, native-renderer scene effects, responsive layouts, offline operation and startup recovery.

The implementation preserves Apache-2.0 licensing, existing numerical contracts, formal proofs and historical evidence.

Both new APIs remain experimental. Lighting and material descriptions are metadata rather than a complete new lighting renderer, and exported scenes or stories are reusable data rather than finished games.

๐Ÿš€ What's Next?

The engine expansion programme continues:

v2.8.0 โ€” The Game Maker API

A simpler, raylib-inspired JavaScript development interface, tilemap authoring, sprite integration and compact playable game-building examples.

v2.9.0 โ€” HORIZON: The 3D Racing Foundry

A major graphics and simulation milestone introducing more detailed vehicles, realistic-looking environments, enhanced materials, lighting, suspension, driving physics and advanced track authoring.

Both remain future milestones requiring separate implementation and verification.

What's Changed

  • SCENE-NARRATIVE-001: Add Scene Composition and Narrative Foundry โ€” PR #102

Full Changelog: v2.6.0...70e63b9


Build the engine. Prove the physics. Make the tools. Teach the creator.

QSOL-IMC โ€” THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE. ๐Ÿ‘ฝ

Apache-2.0 ยท Native JavaScript ยท Offline-first ยท Original content ยท No runtime dependencies

VANILLAJS v2.6.0 โ€” The Game Feel & Sprite Foundry ๐Ÿ‘ฝ๐ŸŽจ๐Ÿ”ซ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 16 Nov 11:54
Immutable release. Only release title and notes can be modified.
7f2d5e6

Create the art. Feel the action. Own the game.

VANILLAJS v2.6.0 introduces two powerful new creator tools: a procedural Sprite Foundry for original pixel art and animation, and a Weapon Feel Lab for building more responsive, satisfying first-person shooters.

Built entirely with native JavaScript and browser technologies, these tools extend the QSOL-IMC game engine without introducing runtime frameworks, cloud services, accounts or external asset dependencies.

๐ŸŽจ Sprite Foundry โ€” Make Your Own Pixel Art

Create, edit, animate and export original game assets directly in your browser.

Features:

  • Seven procedural sprite generators: characters, enemies, weapons, items, terrain, particles and impacts.
  • Sprite sizes of 8ร—8, 16ร—16, 32ร—32 and 64ร—64 pixels.
  • Seeded generation for reproducible artwork.
  • Symmetric and asymmetric generation.
  • Editable RGBA palettes with transparency.
  • Pencil, eraser, flood fill and zoom controls.
  • Up to 16 animation frames with configurable timing.
  • Animation playback, onion skin, frame duplication and reordering.
  • Undo/redo and keyboard/touch editing.
  • Export editable JSON projects, transparent PNGs, spritesheets and atlas/collision-mask metadata.
  • Explicit opaque PNG export for compatibility with the existing Visual Workbench's Asset Foundry.

New module: modules/sprite2d/

Fast interpolated drawing is now processed as a batch rather than repeatedly validating and redrawing every intermediate pixel. This makes large sprite projects much more practical to edit.

๐Ÿ”ซ Weapon Feel Lab โ€” Make Every Shot Count

A new experimental FPS training environment demonstrates how small changes in weapon behaviour can dramatically improve gameplay.

Test three original weapon profiles:

  • Lumen: Precision shooting.
  • Thread: Automatic fire.
  • Anchor: Travelling projectiles.

Features:

  • Responsive mouse aiming independent of fixed simulation ticks.
  • Aim-down-sights transitions with coordinated FOV and sensitivity.
  • Weapon-specific recoil and recovery.
  • Configurable spread and seeded accuracy.
  • Buffered trigger inputs.
  • Weapon-switch cooldown protection.
  • Muzzle flashes, hit confirmation and damage feedback.
  • Real moving targets and combat-ray diagnostics.
  • Editable weapon parameters.
  • Validated JSON recipe import/export.
  • Actual weapon, projectile and damage simulation using existing VANILLAJS components.

New module: modules/weapon-feel/

The weapon's visual recoil is kept separate from its authoritative combat direction. Reselecting the active weapon also preserves the correct aim-down-sights state.

These capabilities draw on lessons from QSOL-IMC's AFTER//ZERO project, with reusable behaviour independently implemented for VANILLAJS.

๐Ÿ› ๏ธ Better Tools for Game Creators

Both new labs are integrated into the VANILLAJS homepage and Creator Hub.

This release also adds:

  • Practical Sprite Foundry and Weapon Feel tutorials.
  • Updated engine API documentation.
  • Expanded machine-readable agent workflows.
  • Integration guidance for future Games2 projects.
  • Improved content-derived module packaging.
  • Offline startup, older-cache compatibility and recovery tests.

Game creators can now build their own animated artwork, configure weapon behaviour, export reusable data and integrate those results into separately developed games.

๐Ÿงช Verification

The implementation and final fixes passed all eight hosted CI workflows.

The recorded implementation checks include:

  • 1,001 passing Node tests before the final review additions.
  • All seven packaged Chromium browser groups passing.
  • Source, dependency and documentation validation.
  • Offline build and package verification.
  • Browser testing of sprite editing, animation, exports, gunplay and failure recovery.
  • Additional regression coverage for batched sprite strokes and ADS synchronisation.

Existing engine modules, formal proofs, historical evidence and supported project formats are preserved.

All new APIs remain experimental. No physical mobile, controller or RTX performance validation is claimed.

๐Ÿš€ What's Next?

VANILLAJS's engine expansion programme continues with:

  • v2.7.0 โ€” Scene & Narrative Foundry: Scene composition, animation and branching storytelling.
  • v2.8.0 โ€” Game Maker API: Raylib-inspired drawing tools, tilemaps and accessible game-building workflows.
  • v2.9.0 โ€” HORIZON: Detailed 3D racing environments, vehicle physics, lighting, materials and advanced creator tools.

These are planned milestones, not functionality included in v2.6.0.

Future Games2 projects, including Strike Pixel, can adopt the new capabilities through separately reviewed, source-pinned engine updates.

What's Changed

  • CREATOR-SYSTEMS-001: Add Sprite Foundry and reusable FPS game-feel systems โ€” PR #101

Full Changelog: v2.5.0...v2.6.0


Build the engine. Prove the physics. Make the tools. Teach the creator.

QSOL-IMC โ€” THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE. ๐Ÿ‘ฝ

Apache-2.0 ยท Native JavaScript ยท Offline-first ยท No runtime dependencies