Skip to content

About

#codevember

Resources

Stars

116 stars

Watchers

0 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codevember 2026

Creating a fun, interactive three.js experience every day of November. One word, one real-time 3D scene you can grab, fly through and play with, all running in the browser on WebGPU.

Fold
Day 1: Fold
Code · Live
Shatter
Day 2: Shatter
Code · Live
Melt
Day 3: Melt
Code · Live
Tangle
Day 4: Tangle
Code · Live
Moss
Day 5: Moss
Code · Live
Orrery
Day 6: Orrery
Code · Live
Hollow
Day 7: Hollow
Code · Live
Tesseract
Day 8: Tesseract
Code · Live
Membrane
Day 9: Membrane
Code · Live
Caustic
Day 10: Caustic
Code · Live
Rust
Day 11: Rust
Code · Live
Feather
Day 12: Feather
Code · Live
Labyrinth
Day 13: Labyrinth
Code · Live
Tension
Day 14: Tension
Code · Live
Mirage
Day 15: Mirage
Code · Live
Spore
Day 16: Spore
Code · Live
Kelp
Day 17: Kelp
Code · Live
Pendulum
Day 18: Pendulum
Code · Live
Erosion
Day 19: Erosion
Code · Live
Cocoon
Day 20: Cocoon
Code · Live
Bolt
Day 21: Bolt
Code · Live
Echo
Day 22: Echo
Code · Live
Magma
Day 23: Magma
Code · Live
Nest
Day 24: Nest
Code · Live

Quick start

npm i
npm run build
npm start

Then open http://localhost:3000.

You need Node.js 20.9 or newer, and a browser with WebGPU, such as a recent Chrome, Edge or Safari. Days fall back to WebGL2 where they can, with a simpler look.

Days

Day Word
01 Fold A strip of countryside printed on a paper map. Fold it by its creases.
02 Shatter Throw a stone at the sky and it comes down in pieces onto a frozen lake.
03 Melt Ray-marched liquid metal dripping into a mirror. Grab the metal and carry it around.
04 Tangle A snarl of lacquered cord hanging in a shaft of light. Pull a loose end.
05 Moss A ledge on a cliff over a forest, deep in moss made of separate fibres.
06 Orrery A clockwork solar system in brass. Turn the crank, or pull the Sun to break it apart.
07 Hollow A giant peach afloat at sunrise. Slice it open and pull out the stone.
08 Tesseract A cube from the fourth dimension, turning itself inside out.
09 Membrane A smooth clay skin over simple shapes, with another skin under it, for ever. Swipe and it peels away in curls that float off.
10 Caustic Coloured glass in low sun, its light bent into bright colours on the table.
11 Rust A rusted fence post, scanned from the real thing.
12 Feather A pair of bird's wings built from the bone out, every feather on the bone it grows from.
13 Labyrinth A labyrinth without end that never stops rebuilding itself.
14 Tension An orb web beaded with dew, in four weathers. Pluck a thread and the spider comes running.
15 Mirage A little desert whose sand turns to water under your hand, and grows into an oasis.
16 Spore A forest floor at night where spores you let go grow into a glowing, spreading bloom.
17 Kelp A kelp forest under a moving surface, with sardines that come by to look at you. Stir the water, pull the kelp about, and move the sun.
18 Pendulum A can of paint swinging on a rope over a canvas in a daylit studio. Toss it and it draws; spin the bucket or the canvas, and keep the painting.
19 Erosion A clay sculpture hanging in a shaft of light. Drag across it to erode it cell by cell, the finest parts first, and wave away the dust; or grow it back out.
20 Cocoon A chrysalis hanging under a branch in a dewy garden. Tap it and watch a butterfly split the case, climb out, fill and dry its wings, walk the branch and fly away; the next one's chrysalis grows.
21 Bolt A plasma globe floating in a dark room it lights itself. Touch the glass and the lightning finds your fingertip; turn on IRL Hands and touch it with your real fingers through the camera.
22 Echo The AI bubble, floating in a hall of mirrors. Throw a GPU at it and watch it pop, the burst echoing out through every reflection in a storm of graphics cards and memory.
23 Magma A microwave pocket, fresh out of the microwave, with magma for a filling. Bite the end and it pours out over the paper plate, scorching it and setting the crumbs alight; then add some pizza rolls and bite those too.
24 Nest Three chicks shivering in a snowy nest, and a smart thermostat screwed to the tree. Turn it up and the snow melts, the leaves come out and the chicks thaw, cheer and put on sunglasses. Leave it alone and it goes Away.

Controls

Input Action
Drag Orbit, or grab whatever is under the pointer
Scroll or pinch Zoom
W A S D Fly
E / Q Up / down
Shift Fly faster
[ / ] Previous / next day
H Hide the interface

Every day also has its own settings panel, with quality settings that adapt to your GPU.

Built with

Project layout

01-fold/ ... 07-hollow/ One directory per day, each with a README
shared/engine/          Renderer, post-processing, camera, grabbing, boundaries, sound, settings
shared/hub/             The calendar, drawn on the GPU: a page that turns into a 3D month you fly into each day from
shared/ui/              Loading screen and on-screen controls
shared/days.ts          The 30 words, and which days are out
shared/registry.ts      Loads each day on demand
app/                    Next.js routes: the calendar at /, each day at /NN-word/
public/                 Calendar posters, and scanned textures and models
videos/                 A recording of each day, as a GIF
scripts/                Build helpers

Scripts

Command What it does
npm run dev Starts a development server with hot reloading
npm run build Builds a static site into out/, which can be hosted anywhere
npm start Serves the built site
npm run typecheck Checks types
npm run lint Runs ESLint

Adding a day

  1. Build it in its own NN-word/ directory, with a default export of a DayDefinition.
  2. Add it to shared/registry.ts.
  3. Add its blurb to LIVE in shared/days.ts.
  4. Add a poster at public/posters/NN-word.jpg.

Contributing

This is a personal daily challenge, so new days are mine to make, but bug reports and fixes are very welcome. Please open an issue first for anything large, and run npm run typecheck and npm run lint before sending a pull request.

Credits

The scanned rocks, plants and moss are all CC0, from Poly Haven and ambientCG. The ocean in Hollow is ported from Ultra Water by Humpalumps (MIT). Everyone whose work this builds on is listed in CREDITS.md.

License

MIT

About

#codevember

Resources

Stars

116 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages