Demos

A collection of demos exploring features I am considering including in our upcoming Corn Game. Most are built on three.js, the game proper is being written in rust with bevy.
These were written with heavy use of ChatGPT Codex.

A snow-capped red torii in a whiteout clearing of winter corn, flanked by stacked stone cairns Translucent spirits seated in a circle around a glowing sake cup in a lush clearing

The Snow Gate

A snowy cornfield and a gate to another world. Footprints are only left in the human world. Stay too long and the way back closes. A ceremony may be required to return home. And one may not enter the same way twice.

Get spirited away

Corn Game lobby interior Corn Game lobby, another view

Corn Lobby

A standalone game lobby. Walk around, find the key, open the door, and use the computer. May feature a radio-based puzzle, if you are especially clever.

This demo is built on the the real rust+bevy codebase -- compiled to webassembly, rather than a three.js prototype.

Enter the lobby

Lime-yellow Flying Scooters ride with turquoise and magenta vehicles

Flying Scooters

Recreating the sorely missed seabreeze flyers, with simulated aerodynamics on tail and rider-controlled rudder, inelastic constraints for the cables, and rigid body for main structure and tubs. Tries to detect "cable snapping."

Take the rudder

Illustrated placeholder for the Stationary Screenspace Textures demo

Stationary Screenspace Textures

A shader test where textures stay centered in screen space while surface normals still drive lighting. Compared fixed, per-object, and per-pixel distance scaling. In the end I disabled the object offsets as pure screenspace look was better. But this meant distance scaling had to be disabled as well.

Inspect the surfaces

Screenshot of the Corn Rendering near and far field demo

Corn Rendering

A near/far rendering study with single-card corn, a fixed windless capture tile, power-of-two clipmaps, procedural clouds, environment presets, and a tower.

Study the field

Twin Towers: 4D Cornfield โ€” screenshot 1 Twin Towers: 4D Cornfield โ€” screenshot 2

Twin Towers: 4D Cornfield

Test of 4d corn maze carving and object visibility profiles. Antichamber-inspired circular path with more than 360deg connects 2 towers, one of which is closer to the other than the other is to it.

Enter the 4D field

Screenshot of The Pylon demo Second screenshot of The Pylon demo

The Pylon

Inspired by land of the lost, and Matt Smith's second tardis. Worked out some kinks with portals. Experimenting with different ways of doing windows (currently the simple way). Spatial audio for the sweep sound effect.

Investigate the pylon

Screenshot of the Harvest Moon Maze demo

Harvest Moon Maze

Evaluating whether we can use billboards for rendering cornfields, as a stylistic choice. Different types of billboards are tested. There are some trinkets in the maze to collect.

Enter the maze

Screenshot of the Field Notes flower collector demo

Field Notes

Explore the forest, find wildflowers, and fill in your field notebook. Testing a very specific stare to record mechanic. Subtle zoom effect, lets player know something is happening. Unknown flowers glow (inspired by elden ring).

Walk the meadow

CornGame illustrated banner