Chem4D (4D Chemistry)

A conceptual viewer for common substance structures in four-dimensional chemistry, supporting interaction with the Tesserxel demo library to generate 4D molecular models. See “4D World (XI): The Periodic Table” for the element system.

4D molecules from the Tesserxel demo library

Deductrium

A browser-based game combining mathematical formal systems and hyperbolic space using TypeScript. Includes propositional logic, first-order logic, Peano axioms, ZFC set theory, and some ordinal and type theory content. See: 1. Game Introduction; 2. Intro to Set Theory; 3. Intro to Type Theory.

If you find the game too difficult, a “Creative Mode” is available (link provided in related blog post), where all axiom systems are unlocked and many theorems are preloaded—but hyperbolic space and ordinals are disabled in this mode.
Here’s a survival mode save file for quick access to Type Theory: copy the following code.

OrdMap (Ordinal Map)

[Source Code]
Ordinals are larger than all natural numbers but still short of absolute infinity. See “Introduction to Big Numbers” for more. The map goes up to EBO, supports BOCF/MOCF and Veblen notation.
Ordinal map near the origin
On mobile, drag the empty space to move the map, tap +/− to zoom. Hold +/− and swipe right to zoom faster. On PC, drag with the mouse, scroll to zoom, press T/G to change zoom speed, and W/S to adjust iteration depth.

Tesserxel

[Source Code]
A new WebGPU-based 4D engine for algebra, modeling, rendering, and physics. Intro series here, detailed tutorials and guides coming soon.

4D Viewer

[Source Code]
The precursor to Tesserxel, this JS library (like Three.js) renders 4D spaces with stereoscopic vision to help humans imagine 4D perception. Includes demos like hypercubes, polytopes, and puzzle levels.

Usage guide here

4D Rigid Body Physics Engine

A simple 4D rigid body engine inside 4D Viewer with interactive scenes: chains, gears, cars, blocks, tops, etc. Now ported to Tesserxel.
Details and tutorial here

Minecraft4D

  • Minecraft-style game using 4D ray tracing and 3D textures on hypercubes
  • Infinite procedural world with 4D terrain, biomes, villages
  • Supports a Minecraft-like command system including teleport and fill commands
  • Save/load for global and local structures

Tutorial here

Computer Piano

[Source Code]
Screenshot: editing “Frère Jacques”
A personalized keyboard piano app. No keybinding options, adapted for improvised playing. Supports MIDI import/export, note editing, multitrack, and basic MIDI controls (7, 64), with features like quantization, velocity adjustment, and speed recording. Also includes non-piano sounds.

More details here

JS Applet Collection in Blog Posts

Other WebGL Mini Demos