monsters

Every monster is its letter in its color. 179 of the 242 looks are one species each, 63 are shared.

The terminal shows this in words, not as a letter.
Terminal
monsters in Codex, first person
Codex: first person

Builtneeds review11 changes builtSeen all the timeLast touched December 2, 2026: a change of its own was written or changed. Commit f7f8e7aeb.

In the terminal

A monster is drawn as its class letter (or one of @ & ' ; : ~ and the space for ghosts) in its species' color, on top of whatever is on its square, but only while the hero can see it or otherwise sense it (telepathy, monster detection, infravision, warning of a specific kind). Monsters are never remembered: once out of sight the square shows what the hero remembers underneath. An unseen monster that touches the hero leaves the remembered-unseen marker 'I'; the Warning attribute shows a digit 1 to 5 instead of the monster. The tty marks nothing else by default: pets look like any other monster unless hilite_pet is on (then inverse), detected monsters are drawn in inverse (use_inverse, on by default), and a ridden steed takes the hero's place. 383 species share 242 looks (letter and color); 63 looks belong to more than one species.

Quotes from NetHack

Letters and certain other symbols represent the various inhabitants of the Mazes of Menace.
doc/Guidebook.mn:544
7 more quotes
Watch out, they can be nasty and vicious. Sometimes, however, they can be helpful.
doc/Guidebook.mn:546
Monsters (a generic reference which also includes humans and pets) are only shown while they can be seen or otherwise sensed.
doc/Guidebook.mn:2505
Monsters and temporary effects are not remembered.
src/display.c:26
Use colors given in names wherever possible. If the class has `real' members with strong color associations, use those.
include/monsters.h:68
Favor `cool' colors for cold-resistant monsters, `warm' ones for fire-resistant ones.
include/monsters.h:71
Try to reserve purple (magenta) for powerful `ruler' monsters (queen bee, kobold lord, &c.).
include/monsters.h:74
Subject to all these constraints, try to use color to make as many distinctions as the / command (that is, within a monster letter distinct names should map to distinct colors).
include/monsters.h:77

Decisions

One style, fused from all the art seeds. A place looks different only where NetHack says it does.

Codex draws it
Full text

Art direction (director, 2026-10-29). One style, fused from all the art seeds: the ink-and-watercolor storybook of 1970s–80s module art (whimsical, bright, funny, a little grotesque), Klimt's gold, kintsugi, the Renaissance, R. Crumb's comix, Mordor and the rest of NORTH_STAR.md, intermingled into one look everywhere. Not a swappable skin, not a twist here and there, and not minimalist or rigid: those were misreadings of D-1 and D-6 (and of the north star's "minimalist by design", which was about not trivializing the game, not about austerity). Agents build art direction as the director asks, without pushing back on it. First: lumpier caves (N-52).

Backlog decisions: D-49, D-59, D-1, D-6

Monsters and the hero stay letters for now. A line of monsters down a hallway must stay readable.

Left as the terminal shows it
Full text

Original letters, no artwork for now. Built so 3D models can replace letters later. A line of monsters down a hallway must read. Reference: nethackwiki.com.

Backlog decisions: D-3

A monster's species is carried in the data and never shown.

Left as the terminal shows it
Full text

Monster species index is carried, not rendered on. The port passes glyph_to_mon for monsters while objects are stripped to class. Keep carrying it; nothing in presentation may depend on it until the letter↔form work decides otherwise. Documented in PROTOCOL.md and in codex_winport.c.

Backlog decisions: D-25

A study of letters turning into shapes up close, behind a switch.

Not decided
Full text

Letter↔form study and prototype (letters at distance resolve into forms up close), behind a toggle. The test form is N-37.

Backlog decisions: N-2

Three ways of turning a d into a dog were built as a study. None goes further.

Not decided
Full text

Letter↔form test form (N-2): three treatments for d behind [world] letter_form = false (now [characters] letter_to_form), contact sheet on corridor-line, docs/studies/letter-form.md. Build none further. Step-through, mosaic and emblem (draw/figures.rs, geometry::canine; letter and color only, never the species), knobs letter_form, letter_form_style, form_near, form_far; 16-letter-form films all three side-on, down the corridor and in first person; scripts/letter-form-sheet.py makes the labeled sheet. Finding: side-on all read as creatures; down a corridor (D-22) only letters and the mosaic keep the line readable; forms need a facing rule NetHack does not give; species forms would break parity. For the director.

Backlog decisions: N-37

Sprite exceptions later. Shopkeepers look like Dustin Hoffman and dogs have faces. Needs a likeness decision first.

Not decided
Full text

Sprite exceptions later: shopkeepers look like Dustin Hoffman; dogs have faces. ⚠ Real-person likeness: decide private-only vs. caricature before building (A-5).

Backlog decisions: D-5a, A-5

A thing that vanishes and reappears nearby may be animated as the same thing. Animation only.

Codex draws it
Full text

Entity tracking is presentation-side and built. A glyph that vanishes at one square and an identical one (kind, char, color, sub) that appears nearby in the same input turn may be treated as the same thing for animation only. It uses only window-port data; a wrong match produces a wrong glide, never wrong information. Pure, unit-tested, lives in nh-moments.

Backlog decisions: D-24

Codex draws letters, not a terminal's line graphics. The player's own ASCII symbols are kept.

Left as the terminal shows it
Full text

PROVISIONAL. Symbols: the port keeps the player's plain-ASCII symbols (custom SYMBOLS=, boulder, the Rogue level's), and where the symset would draw something else (DECgraphics' line-drawing letters, IBM code-page bytes, curses or UTF-8 symbols) it sends NetHack's default symbol for the glyph instead. The client draws letters, not a terminal's graphics; the player's options are untouched. Rejected: mapping DEC/IBM to Unicode box drawing (walls are 3D; the minimap and terminal view would need a font that has them, for no new information); always the default symbols (would drop a player's own ASCII choices).

Backlog decisions: D-43, N-30

In Codex

Crossing a staircase's steps, the hero's and monsters' feet stay on them, never inside the stone.

BuiltTransition

Details

A step or a glide goes in a line from one square's height to the next; over an up flight's steps that line cut through the treads (onto the first step, and off the top, where the flight ends three squares above the floor beyond), and the letter showed inside the stone, where no camera can see it (T-65; Danny, 2026-11-01: 'Let's do the step-off change too and try to avoid clipping categorically somehow by our programming implementation'). Each letter's foot now keeps to whatever is under it (nh-scene's footing.rs Footing): it rises with the steps at once, stepping up each tread it crosses; where they fall away (off the top step) it comes down on a spring from rest, easing in and settling without overshoot, drop_off_steps_snappiness (12) quick; and it never goes below what is under it, whatever the path, speed or frame rate (a unit test sweeps them). A smooth glide down (off an altar's slab) is followed exactly, as before. Off with things_stand_on_steps off. The remote reports foot_clear, and every playtest fails if any frame drew the hero's feet inside a step (clipped_frames).

Id
codex.feet_on_steps
Exact state
Built
Playtests
35-up-flight
Settings
animations.drop_off_steps_snappiness
Code
crates/nh-scene/src/footing.rs, crates/nh-plays/src/shot/pose.rs, crates/codex-client/src/pov.rs, crates/nh-plays/src/walk.rs
N-93DoneAn up staircase never swallows the hero
T-65Built, not reviewedStepping off the top of an up flight passes through its top step

Up close the red d is a hound and the white d a dog, each drawn inside its own letter.

Builtneeds reviewLetter

Details

A monster drawn inside its own letter (N-347), a study, off by default (characters.letter_to_form_style = "figure"): the red d stays its letter and fills with an ink-and-watercolor picture of a lean red hound in the letter's own outline (the bowl its crouched body, the head at its upper left with an ember eye, the stem its raised tail, black legs along the foot); nearer still, its ears, snout, hackles, brush and paws grow past the letter. Between letter_to_form_far and the middle of the way in, the picture of the letter arrives over the letter; from there to letter_to_form_near, the picture with what reaches past it. It arrives as wet watercolor spreads (N-350, letter_figure_spread; assets/shaders/figure_wash.wesl): out from the middle of each stroke to its edges, then out along the ears, snout, hackles and tail to their tips, a little darker at the wet edge, at most a plate a second so each step nearer plays as a short spread; where the monster stays, the front stays still. 0 gives back the 16-step cross-fade. A red d is a fox, a hell hound pup or a hell hound, so it is painted as all of them at once, from the letter and its color alone (never the species, D-25); red stays more than half of it. The pets' white d follows (N-351): a little dog, a dog or a large dog, painted as a white dog in the hound's pose, the DevTeam's brown on its ears and paled to a tan on the letter's own strokes (a patch round the eye and a narrow saddle, so each stroke keeps 3:1 against the ground), the tongue out and a blue-gray nose as their tiles have them; white stays more than half of it, and what it adds past the letter joins at the ends of strokes. The white f is not drawn (N-2930). Painted at startup by short code from the font's own letter, no image file; by its own light like the letters, which the torch only shades, gently (N-349, letter_figure_torch): near it a little warmer and brighter, brighter on the side it is on, never below the picture's own light and never light added, so the darks stay dark through the haze. Killed, the picture falls with its letter as far in as it stood (N-348, codex.kill_topple: "The face should knock over, not the d").

Id
codex.letter_figure
Exact state
Built, not reviewed
Playtests
gallery-figures, gallery-figure-pets
Settings
characters.letter_figure_light, characters.letter_figure_spread, characters.letter_figure_torch, characters.letter_figure_kept
Code
crates/nh-scene/src/figure.rs, crates/nh-scene/src/figure/pose.rs, crates/nh-scene/src/figure/measure/mod.rs, crates/codex-client/src/draw/figures.rs, crates/nh-plays/src/underway/forms.rs, crates/nh-plays/src/picture/forms.rs, assets/shaders/figure_wash.wesl, crates/codex-client/src/draw/plays.rs
N-347DoneA monster drawn inside its own letter
N-351Built, not reviewedThe next letters to draw inside themselves
N-349Built, not reviewedThe figure is lit by its own paint only
N-350Built, not reviewedThe figure's fade could be a wash spreading
N-2Built, not reviewedLetter↔form study and prototype (letters at distance resolve into forms up close), behind a toggle.
N-348Built, not reviewedA killed hound falls as its plain letter

Up close a d becomes a dog-shaped form in its color, and goes back to a letter farther away.

Built3D form

Up close a d becomes a dog-shaped form in its color, and goes back to a letter farther away.Up close a d becomes a dog-shaped form in its color, and goes back to a letter farther away.

Based on the real thing: The letter-to-form test form drew a jackal as a canine body, a study that is off by default.

Details

The letter-form test form, off (N-37): for 'd' only, a monster's letter gives way to a canine form near the camera (fully a form within letter_to_form_near, fully a letter beyond letter_to_form_far, blended between), in one of three styles: step-through (a solid canine of a dozen boxes in the letter's color), mosaic (the canine built of small copies of the letter flying out of it) or emblem (the solid canine with its letter on its flank). The form stands in profile to the camera (NetHack gives monsters no facing). From the letter and its color only, never the species. A study for the director; none is built further.

Id
codex.letter_form
Exact state
Built
Settings
characters.letter_to_form, characters.letter_to_form_style, characters.letter_to_form_near, characters.letter_to_form_far
Code
crates/codex-client/src/draw/figures.rs, crates/nh-plays/src/underway/forms.rs, crates/nh-plays/src/picture/forms.rs, crates/nh-scene/src/mesh/things.rs
N-37Done7 | Letter↔form spike (N-2):
N-2Built, not reviewedLetter↔form study and prototype (letters at distance resolve into forms up close), behind a toggle.

Every standing letter stands in a thin edge of ink, and a soft shade at its foot shows its square.

Builtneeds reviewLetter

Details

N-279. On the terminal's black every letter reads at about 4:1; on torch-lit stone the same colors measured about 1.5:1 (the render review: a brown d 1.6:1, the @ 1.4:1 in its own hot spot, objects 1.2 to 1.5:1). Every standing letter (monsters, objects, statues, features and traps drawn as letters, the hero's @ in the views that show it) now stands in front of its own ink: a copy of its shape from the glyph atlas widened by about 8% of the letter's height (ink::WIDTH_PX, 5 pixels of a 64-pixel cell, built once at startup and given its own mips), unlit, just behind a flat letter or in the middle of a solid letter's body so only the rim beyond its sides shows. One ink for every glyph: a warm near-black, or a pale rim for NetHack's black and blue letters, which a dark ink would swallow; never a color of hostility or danger, which the terminal does not show. The hero's ink is as thin as the hero's letter (thinned for the line ahead) and absent on the glass hero. Letters no longer cast the torch's shadow (letters_cast_shadows, off: the jackal's cast shadow in fight read as a doorway, and a dark Y lay between two d's in a corridor); instead a soft round shade (contact_shade, the ghost's pool texture, premultiplied so it only takes light away) lies on the floor under each letter's foot, under where it stands before it leans toward a high camera, a little wider than the letter and half as deep, turned with the view. ink_outline sets the ink's opacity (0: none).

Id
codex.letter_ink
Exact state
Built, not reviewed
Playtests
journey-game, gallery-forms
Settings
characters.ink_outline, characters.contact_shade, characters.letters_cast_shadows
Code
crates/codex-client/src/ink.rs, crates/codex-client/src/atlas.rs, crates/codex-client/src/draw/things.rs, crates/codex-client/src/draw/letters.rs, crates/codex-client/src/pov.rs

A monster's letter can catch the lantern's light as a faint edge on the side facing it.

Builtneeds reviewLetter

Details

N-318, a study for the director (2026-11-03). Letters are self-lit cards and sit a little apart from the lit world; with characters.letters_catch_the_light on, a second copy of a monster's letter a hair in front of it adds the lantern's light (its color, its flicker, gone when blind or beyond its reach) along each stroke's edge on the side facing the lantern: 'edge' a thin crisp band, 'soft' a band twice as wide easing in from the edge. Additive, so it is light and never a line, and never changes the letter's terminal color; nothing when the lantern shines straight at the card's face. Off by default until the director chooses. Monster letters only (objects and statues are lit by the torch already; the hero holds the lantern).

Id
codex.letter_light
Exact state
Built, not reviewed
Playtests
gallery-monsters-objects
Settings
characters.letters_catch_the_light, characters.letter_light, characters.letter_light_width
Code
crates/codex-client/src/letter_light.rs, assets/shaders/letter_light.wesl, crates/codex-client/src/draw/things.rs

Monster and hero letters are cut as metal type, sharp near and far, catching the lantern.

Builtneeds reviewLetter

Details

N-753 (the director, 2026-12-01). A monster's letter is drawn from the type face, a second texture of the glyph atlas holding each letter's distance from its stroke's edge (made pure in codex-form, type_face), cut out at one half as an object's letter is: its edge is the font's own and sharp at every distance, smoothed by the multisampling (which sharpens the cut to a pixel) or by SMAA with the contact shadow. A copy of it a hair in front adds what a shallow bevel inside each stroke, about a texel deep, catches of the lantern's light on the side facing it: nothing on the flat top, nothing on a bevel facing away, so no line round the letter and no halo; the letter's own terminal color stays beneath as its floor. characters.type_depth 0 gives the soft blended letter as before. The hero's @ is cut the same way (its own material, painted in draw/eye.rs, its bevel's copy kept by draw/eye.rs) while it is whole; thinning for the line ahead or glass it stays the blended letter, since a cut-out letter cannot fade. Its own light is lifted by characters.hero_lift (2) so it is the brightest of the creatures in its own white; monsters stay in their terminal colors, characters.letter_lift at 1, a little under the objects' white-hot glow until the director answers N-5641. The bevel reads up close; from the high views a letter is too small for it to show, but its sharp edge does.

Id
codex.letters_as_type
Exact state
Built, not reviewed
Playtests
gallery-monsters-objects
Settings
characters.type_depth, characters.letter_lift, characters.hero_lift
Code
crates/codex-form/src/type_face.rs, crates/codex-client/src/atlas.rs, crates/codex-client/src/draw/standard.rs, crates/codex-client/src/draw/eye.rs, crates/codex-client/src/letter_light.rs, assets/shaders/letter_light.wesl

From the high views, standing letters lean back to face the camera and grow a little.

Builtneeds reviewCamera or view

Details

Each camera composes letters for its playstyle (D-63, N-63). Letters stand upright and turn only about the vertical, so from the map view's look (about 52 degrees down) and the director's wide shot (about 76 degrees down) they were squashed slivers, about 5 pixels tall from the director. In those two views every standing letter (monsters, objects, statues, features, traps and the hero's own, and the falling copy of a killed monster's letter, codex.kill_topple, N-218; the hero down in a pit too, codex.pit_sink) leans back toward the camera by a share of its downward look (lean_back_in_map_view, lean_back_in_director_wide_shot: 1 faces the camera) and grows (grow_in_map_view 1.2, grow_in_director_wide_shot 1.33, never wider than its square). The lean and growth blend in as the camera rises and out as it comes down, so behind the hero and in first person letters stand upright at their size as before. A leaning letter keeps its middle over its square and its lowest point where it stood, rising a little to lie above the floor's stones. Lying back further than it stands (past 45 degrees) a letter casts no shadow: the torch above the hero would lay a dark copy of it beside it on the floor. Boulders, iron balls and the other forms keep their shape. Only the camera's own height and look are used. The hero's own letter grows a little past the others there, about 1.15 times, as the terminal's cursor marks it (codex.hero_from_above, N-142).

Id
codex.letters_from_above
Exact state
Built, not reviewed
Playtests
journey-game, journey-dads-options
Settings
characters.lean_back_in_map_view, characters.grow_in_map_view, characters.lean_back_in_director_wide_shot, characters.grow_in_director_wide_shot
Code
crates/nh-plays/src/shot/compose.rs, crates/codex-client/src/draw/world.rs, crates/codex-client/src/draw/letters.rs, crates/codex-client/src/draw/things.rs, crates/nh-plays/src/shot/pose.rs, crates/codex-client/src/pov.rs, crates/codex-client/src/draw/kills.rs
N-63DoneLetters seen from high up
N-99DoneLetters in view
N-218DoneA kill seen from above falls where it can be seen

A monster or pet that moves slides from its old square to its new one instead of blinking across.

Builtneeds reviewTransition

Details

Every tracked letter glides, everywhere (N-86; director, 2026-10-31: "Monsters can glide everywhere, and so can pets and heros"; the hero's own steps and runs glide already, codex.run_glide). When nh-moments' tracker follows a monster from one square to a nearby one (the same letter in the same color gone from one square and appearing within two in the same input turn, D-24; never the species, N-79), the letter drawn on the new square starts back on the old one and slides to its own place over monster_glide_seconds, eased like the hero's step and carrying its speed into the next slide if it moves again first; shorter while keys are queued (pace.pause_when_keys_waiting). A fast monster's two-square move slides along one line. A pack stepping together (identical letters in a line, the back one's square emptied and a new one in front, the squares between showing the same letter in both looks) steps one square each, so a letter never slides through its packmate and a pack coming down a corridor closes in as a moving line (D-22); where two packmates could each have stepped in, nothing glides. The signal audit (2026-10-31) added three guards: a letter marked as the pet (hilite_pet) and one not are never one thing; a letter that vanished in an earlier look of the same input turn loses to one that vanished in this look (a monster killed earlier in the turn doesn't walk off), and stays vanished once the hero has moved on (a run, travel); the remaining look-alikes (a monster teleported, hidden or newly in sight within two squares, hallucination, a curled long worm) give at most a wrong slide over the right picture. Only the letter moves (its pet underline with it): the squares are what nh-scene says, the director's camera reads the game's squares, and a letter hit while still sliding hurries to its square over catch_up_seconds, the recoil riding on the last of its slide (codex.plays_meet, D-81). No match or a tie: the letter blinks, as on the terminal. A wrong match is a wrong slide, never wrong information. A pet swapping places with the hero (nh-moments' swap: it left the square the hero now stands on for the one the hero stood on the look before, so mounting a steed is not one; animation idea 35, approved with this, D-17) steps pet_swap_steps_aside (0.3 of a square) to the right of its way at the middle of its walk and back, so the two letters pass beside each other. Off (monster_glide = false), letters blink as the terminal draws them.

Id
codex.monster_glide
Exact state
Built, not reviewed
Playtests
journey-game, journey-dads-options
Settings
animations.monster_glide, animations.monster_glide_seconds, animations.pet_swap_steps_aside, pace.pause_when_keys_waiting
Code
crates/nh-moments/src/track.rs, crates/nh-plays/src/walk.rs, crates/nh-plays/src/lib.rs, crates/codex-client/src/draw/in_flight.rs
N-86DoneMonsters walk from square to square instead of blinking
N-79DoneThe tracker's same-thing test includes the species index

Up close a monster can become a 3D form of the player's own, tweened from its letter.

Builtneeds review3D form

Based on the real thing: Whatever the player's own glTF file is, which Codex never ships and fits to its letter's square.

Details

A player's own forms (D-79): glTF files in the player's folder ([own_forms] folder), named in its forms.toml by letter and color, by letter, or by species (the player's choice; Codex itself never draws by species). Fitted to the letter's square, standing on the floor or floating a little above the letter's middle (stand = float), as tall as the letter or a line's size. The letter tweens into the form as a Flash shape tween, between far and near, through five keyframes blended continuously as morph targets: the form pressed into the letter's outline flat, then in 3D (depth), then swelling toward the form and half made (each smoothed over the mesh so it swells and never crumples, lit by its own normals), then the form. Its skin comes into focus in six steps over the same tween, from the bare form in the letter's color to the file's full texture and relief (skin_focus.wesl). The form is solid: what stands behind it is hidden unless letters_behind draws it through. A line's skin lays pictures over the form, each from a side of it (from), a part of its file (crop), painting the parts it names (on): each paints only what its side sees, each point most from the picture facing it most squarely, all baked once into a map of the form (its own texture coordinates, or Codex's own when those overlap or are missing), so the paint holds through the tween and a fall and comes into focus with the skin; a picture's clear pixels leave the form's own surface, and under paint the carving's fine relief yields and the surface is matte. Pins fit a picture to the form feature by feature: placed, sized and turned where it fits them best, and what is left shared between the form changing its shape near its pins and the picture stretching (reshape, halfway by default). A line's turn turns a file whose front is not glTF's. A line's sheet is a file of pictures of the thing side by side that Codex sorts out itself: cut at its gaps, each subject told from its backdrop, each fitted by its outline from the side given, pinned round its outline (the form keeping its shape), with the player's pins added where an outline cannot say (a face's eyes); what it made is written beside the sheet. Each place takes the picture that faces it most squarely by the surface's broad facing, others only within a soft seam, and a picture laid by hand wins near-ties. The light a photograph was taken in is partly taken out first (even_light), by how its brightness follows the way the form's surface faces. A photograph's shine is taken out of the paint (N-460): white added to a picture's color at a place that is not of the color (the light's reflection, which falls where the camera stood), where another picture covering the place shows no such white about it, is taken out of that picture's color, which keeps its own hue, light and grain; skin lighter or darker in another light, another white balance, and a place one picture alone sees keep their color. The relief takes no bump from shine (N-461): a texel lighter than the paint about it by white added to that paint's color counts as that color. The map is map_size texels square (2048: a painting's strokes hold up close; N-384), and the paint's own light and dark stand out of the surface as relief (relief, over relief_reach of the map: a painting's strokes and a face's wrinkles answer the dungeon's light, the carving's own relief yielding under the paint as before; a tangent frame from the screen's derivatives, no tangents needed). The torch is held overhead, so a form also takes a soft light from where it is seen, in its own colors, brightest where it faces the eye (fill), and the torch's orange is partly taken out of its own colors (true_color): a face lit from above alone, in warm light, read as a mummy's (N-385). Each form is drawn as if through a long lens from far off, at the size it stands (long_lens: one more morph target, the move a long lens makes, weighted by the eye's distance), since through the game's wide lens a face one square away looms in the middle and falls away at the sides (N-387). Beside each form Codex writes it seen from its four sides with a grid of shares, for reading pins off, and before loading says plainly in problems.txt which files it can't read (compressed, or KTX2 or WebP textures) and how to save them again. A line may name a fit instead of a file (fit, picture, model: N-395): Codex makes the head from the shape model, the player's fit.json and the turnaround picture it was fitted to, in the background while the letter stands, as codex-form fit-head builds it (codex-form's head), and lays the picture on it by each picture's camera; the head it made is written beside the fit as <slug>.fitted.glb with its sheet, under its key, and read back from there while the fit, picture and model are as they were (N-450). A fitted head's hair is a hull from the pictures' outlines with layers of strands standing off it, and four of the fit's form knobs (its fit.json's form_knobs, codex-form help's head_knobs) shape it (N-396): hair_spread (rounds the share of hair at each point spreads to its neighbors: 6 keeps the hairline where the pictures show it, 20 was the first build's, a level line low on the forehead), hair_nape (cm the back's cut and its hair come down below the ears: 3 to the nape, 0 a bare neck dome under the hair), hair_ears (1: below the temples the sides and back keep to where the pictures show hair, and off each ear found on the head itself within hair_ear_clear, 3.5 cm, whatever its color, so an ear is an ear even on a head whose hair and skin are one color, N-3591; 0 covers them) and hair_shell_skin (0.5: the layers stand only where the picture facing them shows hair; 1 everywhere, an ear's skin in flecks through them); one layer of strands (hair_shells 1, N-3591: the outer layers' strands are finer than a pixel a square or two off and frayed the edge into specks that shimmered; 3 was the first build's); hair_spread 20, hair_nape 0, hair_ears 0, hair_shell_skin 1 and hair_shells 3 build what the build before them built (the tests' fitted head, N-3003). Each form looks about on its own (looks_about, N-401: nh_plays::gaze): at irregular moments a few seconds apart (each look holds look_seconds times 0.4 to 1.6, drawn from the form's seed: its letter, color and first square, with the game's clock), now at the hero (looks_at_you of its looks: the eye in first person, the hero's letter in the other views, so from behind his face shows in three-quarter view or profile), now at another monster or a door the map shows, now off a way of its own a little down or up (look_up_down), never further than look_away from the hero's way; a floating head turns about its neck, a standing form about its feet; each turn eased on the smoother step at turn_speed, then following on a critically damped spring; turned by as much as it is the form, so the letter and its letter-shaped keyframes still face the camera, and the skin's focus field, the long lens and a fall turn with it. While the hero carries a shop's goods unpaid, every form keeps its eyes on the hero (watch_unpaid; the shop watch's own count, Moments::unpaid, read once a frame: X-88): bound after the player's pick-up by the game's inventory line (unpaid, N zorkmids), per inventory letter and as many as the line says, released by the game's answer to a drop or a payment (part of a stack dropped or bought keeps the rest: a count typed before the letter, the drop's or the purchase's words, D's menu; N-402), the items chosen in D's menu once the game asks for the next command with no refusal said, the death of the shopkeeper whose greeting came before the pick-up (unless an amulet saves them), the inventory the game lists after the player's i (a bound letter not listed, or listed without unpaid), its word that nothing is owed, death or a new level. Cameras and lights in a file are left out; animations are not played; problems are written to problems.txt in the folder. What Codex builds of a line is a static asset beside the line's sources (N-450: <slug>.baked.glb, one standard glTF binary file: each part's mesh as built, its keyframes and the long lens as the mesh's morph targets, the painted map and its relief as KTX2 textures with every mip level, RGBA8 and nothing to inflate, and in its extras the key of everything it was made from, the bytes of the files the line names, the line, the letter with its size and outline, the knobs that change what is built, a version bumped by hand, and the line itself). A start or a re-read whose key is the bake's loads it through Bevy's glTF loader and builds nothing, under a second for a painted head; the build is codex_form::build, pure, the same in the game and in the codex-form tool's bake, so a folder baked by the tool (or once by the game) and copied to another machine loads there. The first play with no bake builds in the background, as N-420 did, and writes the bake beside the sources (keep_made off: it writes nothing). A *.baked.glb in the folder with no line in forms.toml stands on its own line, read from its extras (a forms.toml line for the same words wins); a bake dropped into the folder while the game runs is read at once, by the key it carries (N-452: the game's own writes, under keys it already holds, read nothing again), and a bake standing alone samples its form's own pictures as they are sampled beside their sources (N-469). The last kept_versions of each line (3; N-441) are copies of its bakes under their keys in cache/own-forms beside codex.toml, so undoing an edit takes the version it had back beside the sources instead of making it again; the oldest goes first, and past 1 GB in all the least recently used. A form read from its bake writes its four views beside it when they are missing (N-422). A change shows as a codex.toml change does: the forms standing stay as they are until their new versions are ready, each drawn once too small to see (Bevy first draws a mesh without its morph targets), then a cut where it stands; a line that did not change keeps its form, and a line taken out goes back to its letter at once.

Id
codex.own_forms
Exact state
Built, not reviewed
Playtests
gallery-own-forms, own-forms-gaze, own-forms-kept
Settings
own_forms.folder, own_forms.size, own_forms.near, own_forms.far, own_forms.own_light, own_forms.depth, own_forms.letters_behind, own_forms.even_light, own_forms.map_size, own_forms.relief, own_forms.relief_reach, own_forms.fill, own_forms.true_color, own_forms.long_lens, own_forms.looks_about, own_forms.watch_unpaid, own_forms.looks_at_you, own_forms.look_seconds, own_forms.look_away, own_forms.look_up_down, own_forms.turn_speed, own_forms.keep_made, own_forms.kept_versions
Code
crates/codex-client/src/draw/own_forms/mod.rs, crates/codex-client/src/draw/own_forms/folder.rs, crates/codex-client/src/draw/own_forms/stand.rs, crates/codex-client/src/draw/own_forms/fit.rs, crates/codex-client/src/draw/own_forms/build.rs, crates/codex-client/src/draw/own_forms/show.rs, crates/nh-plays/src/underway/forms.rs, crates/nh-plays/src/picture/forms.rs, crates/codex-client/src/draw/form_cache.rs, crates/codex-form/src/build.rs, crates/codex-form/src/baked.rs, crates/codex-form/src/keys.rs, crates/codex-form/src/letter.rs, crates/codex-form/src/mips.rs, crates/codex-form/src/paint.rs, crates/codex-form/src/relief.rs, crates/codex-form/src/overlay.rs, crates/codex-form/src/seen.rs, crates/codex-form/src/side.rs, crates/codex-form/src/picture.rs, crates/codex-form/src/views.rs, crates/codex-form/src/sheet.rs, crates/codex-form/src/shape.rs, crates/codex-form/src/own.rs, crates/codex-form/src/fitted/head.rs, crates/codex-form/src/species.rs, assets/shaders/skin_focus.wesl, crates/nh-plays/src/gaze.rs, crates/nh-plays/src/own_form.rs, crates/nh-moments/src/shop.rs, crates/nh-moments/src/catalog/shop.rs
N-352DoneThe player's own forms
N-356DoneA face laid over a form
N-357DoneA laid picture pinned to its form
N-358DoneA front view of each form, with a grid, for finding pins
N-360DonePictures from several sides
N-363DoneA sheet of pictures Codex sorts out itself
N-364DoneA blank head for pictures
N-365DoneA photograph's own light taken out
N-366DoneWhat a player brings, and the files Codex can't read said plainly
N-367DonePictures overlaid on forms: a crate, and a tool to check them
A-5To doSprite exceptions (D-5a), after N-2 and the likeness decision.
N-401DoneWhere a player's form looks
N-420DoneA player's form ready at once, and changed live, like codex.toml
N-450DoneA player's form is a baked, static asset
N-396Built, not reviewedHis hair reads as a wig
N-3003Built, not reviewedA fitted head of no one in the tests' forms, so a judge, the gallery and the goldens can see a fitted head's hair (N-396, N-3000):
N-3591To doA fitted head's hair frays into specks at its edge and at the ears in the game (the tests' marble head, N-3003, gallery-own-forms' 05-own-forms-fitted-first-per

When two animations meet on one thing, a move catches up to the game and a reaction plays on top.

Builtneeds reviewTransition

Details

D-81 (X-81): every animation either changes a thing (a monster's walk, a door swinging, a door falling, the tombstone rising, the mist's fade, a thrown thing's flight, a kill's fall) or reacts on it and comes back to rest (a flinch, a kick's shudder, a rattle, a strain, a tug, the light, the washes). When a new one reaches a monster or a door while a change is still moving it, that change hurries to where the game now has it over catch_up_seconds (0.1), along its own curve, never jumping, and the new one starts at once on top of it: a blow on a monster still sliding lands as it arrives, the flinch riding on the last of its slide; a kick on a door still closing slams it home before the boot lands (0.2 s), then shakes it in its shut place (the director, 2026-11-08: "whatever is the most realistic in terms of interaction is the way to go", X-99). A reaction is an offset from wherever the changes have the thing, so a shudder shakes a door where its swing has it and the cut from high up cuts a shaking door as every other (X-101). Two reactions of one kind add up as far as reaction_stack (2) times one: a second blow during a flinch flinches again and both read; ten do not throw the letter across the room. A monster that flinches and then steps keeps flinching as it walks. Two changes on one thing play one after the other in the game's order, only the last two kept. The game's later word in one look still takes the place of its earlier one (two blows in one look flinch once). Each altar keeps its own light: a second altar's flash in one look no longer puts out the first (Danny, 2026-11-09). Only what the game showed starts any of it; the drawing is what the game says now or on its way there, never moving away from it.

Id
codex.plays_meet
Exact state
Built, not reviewed
Playtests
journey-game, plays-meet
Settings
animations.catch_up_seconds, animations.reaction_stack
Code
crates/nh-plays/src/lib.rs, crates/nh-plays/src/compose.rs, crates/nh-plays/src/flash.rs, crates/nh-plays/src/light.rs, crates/codex-client/src/draw/in_flight.rs, crates/codex-client/src/draw/doors.rs
X-81Built, not reviewedWhen plays meet, built
X-99Built, not reviewedWhen plays meet on a door, today's rules to look at with X-81
X-101Built, not reviewedA shaking door writes all of where it is

A mind flayer's wave closes on you from every side in magenta points and ends as its next line says.

Builtneeds reviewReaction to an event

Details

N-740 (the director, 2026-11-28, choosing it from N-739: "let's vary the animation for each of the examples as they represent different outcomes from a pathos perspective"). The feeling is intrusion: cold, quick, from everywhere. "A wave of psychic energy pours over you!" (monmove.c:593) draws a shell of 1200 small points, the mind flayer's magenta (its tile, monsters.txt tile 100, and its letter's color) with violet and pale magenta, round the hero, wider than it is tall so it stays off the floor and under the walls' tops. The game names no direction and no sender, so the shell closes from every side at once, fast from the first frame: within two squares of the hero before 0.6 s. Its ending is the line the game prints next, in the same look (mind_blast prints them one after another, no --More-- between). No further line: the shell passes through the hero and goes on out the far side, gone in 2.2 s. "It feels quite soothing." (monmove.c:596, a peaceful flayer): it slows as it reaches the hero, stops a square or two out, and settles low round the hero into a level pool, as warm water does; its magenta third goes out while its two warm thirds stay; it thins away by 5.5 s. "It locks on to your mind!" (monmove.c:615, also "telepathy" and "latent telepathy"): it closes faster still and snaps tight round the hero's head for one beat, brighter, then every point is thrown out and falls, going out as it falls, by 2.6 s, as the damage lands. "You sense a faint wave of psychic energy." (monmove.c:590, the flayer far away): a thin, faint wash with no front, 480 points at a third of the brightness, each coming and going in its own time as the whole drifts one way across the hero over 3.2 s. No point shows within 0.7 of a square of the hero's column; none while the hero is blind. Not the hero's own blast ("A wave of psychic energy pours out.", polyself.c:1907) nor the wave locking on to another monster (monmove.c:639). Back to the backlog after the last look (figures-moments): its locking-on ending's close third is a high view (wave-locks-on-after-mid-close-third.png), so it ships off (animations.psychic_wave_shown false); the code stays, shared with enlightenment.

Id
codex.psychic_wave
Exact state
Built, not reviewed
Settings
animations.psychic_wave_strength, animations.psychic_wave_shown
Code
crates/nh-moments/src/catalog/happened/mind_blast.rs, crates/nh-plays/src/motes/figures.rs, crates/nh-plays/src/motes.rs, crates/nh-knobs/src/animations/psychic_wave.rs, crates/codex-client/src/draw/motes.rs
N-739DoneOther places for the points that gather into figures
N-740To doThe mind flayer's wave as points (N-739):
Applies to everything on the map (4)
  • A monster is its letter, standing upright and glowing in its own color so it shows in the dark.
  • The window port passes what the game chose for each glyph as the tty would show it, and no more.
  • Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
  • The map is drawn as a 3D world of walls and floors, lit by the hero's torch and a faint glow.

Accepted pictures and playtests

A change to how this looks is compared with these pictures before it is accepted.

  • monsters in Codex, first personfirst person
  • monsters in Codex, close third personclose third person
  • monsters in Codex, director's viewdirector's view
  • monsters in Codex, map viewmap view
Gallery scene gallery-monsters-objects, monsters objects. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.
  • monsters in Codex, first personfirst person
  • monsters in Codex, close third personclose third person
  • monsters in Codex, director's viewdirector's view
  • monsters in Codex, map viewmap view
Gallery scene gallery-figure-pets, figure dog. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.
  • monsters in Codex, first personfirst person
  • monsters in Codex, close third personclose third person
  • monsters in Codex, director's viewdirector's view
  • monsters in Codex, map viewmap view
Gallery scene gallery-figures, figures. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.
  • monsters in Codex, first personfirst person
  • monsters in Codex, close third personclose third person
  • monsters in Codex, director's viewdirector's view
  • monsters in Codex, map viewmap view
Gallery scene gallery-hallucination, trip. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.
  • monsters in Codex, first personfirst person
  • monsters in Codex, close third personclose third person
  • monsters in Codex, director's viewdirector's view
  • monsters in Codex, map viewmap view
Gallery scene gallery-trip-moments, voice. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.

Playtests: 35-up-flight, gallery-figures, gallery-figure-pets, journey-game, gallery-forms, gallery-monsters-objects, journey-dads-options, gallery-own-forms, own-forms-gaze, own-forms-kept, plays-meet

Planned and proposed

Idea A player's own form plays its idle movement while it stands.

In progress Shopkeepers with faces and dogs with faces, as the director first asked.

Asked for in these words: “Danny, 2026-11-05 (A-5, with N-347): "dogs have faces"”

Left to do: A shopkeeper Codex draws itself waits on the species question or the shop's greeting.

In progress Letters seen from afar resolve into their forms up close.

Asked for in these words: “Danny, 2026-10-28 (NORTH_STAR.md, notes from the director): "Or maybe the letters are visible from afar and as the monsters come closer they step-through into focus where they are actually rendered"”

Left to do: Which letters are drawn inside themselves next is the director's choice.

Idea A body or a thing that crumbles to dust falls as dust to a pile.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-513): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”

Idea Sparks or frost fly where the game says they do.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-516): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”

Details for builders

Id: monsters. Lexicon subjects: creature.

Design notes from NetHack

Color rules in monsters.h: growth stages share a color; colors in names are used; cool colors for cold-resistant kinds, warm for fire-resistant; magenta for rulers; within a letter, distinct names get distinct colors. Most species have a data.base quotation.

Backlog rows

N-93DoneAn up staircase never swallows the hero
T-65Built, not reviewedStepping off the top of an up flight passes through its top step
N-347DoneA monster drawn inside its own letter
N-351Built, not reviewedThe next letters to draw inside themselves
N-349Built, not reviewedThe figure is lit by its own paint only
N-350Built, not reviewedThe figure's fade could be a wash spreading
N-2Built, not reviewedLetter↔form study and prototype (letters at distance resolve into forms up close), behind a toggle.
N-348Built, not reviewedA killed hound falls as its plain letter
N-37Done7 | Letter↔form spike (N-2):
N-63DoneLetters seen from high up
N-99DoneLetters in view
N-218DoneA kill seen from above falls where it can be seen
N-86DoneMonsters walk from square to square instead of blinking
N-79DoneThe tracker's same-thing test includes the species index
N-352DoneThe player's own forms
N-356DoneA face laid over a form
N-357DoneA laid picture pinned to its form
N-358DoneA front view of each form, with a grid, for finding pins
N-360DonePictures from several sides
N-363DoneA sheet of pictures Codex sorts out itself
N-364DoneA blank head for pictures
N-365DoneA photograph's own light taken out
N-366DoneWhat a player brings, and the files Codex can't read said plainly
N-367DonePictures overlaid on forms: a crate, and a tool to check them
A-5To doSprite exceptions (D-5a), after N-2 and the likeness decision.
N-401DoneWhere a player's form looks
N-420DoneA player's form ready at once, and changed live, like codex.toml
N-450DoneA player's form is a baked, static asset
N-396Built, not reviewedHis hair reads as a wig
N-3003Built, not reviewedA fitted head of no one in the tests' forms, so a judge, the gallery and the goldens can see a fitted head's hair (N-396, N-3000):
N-3591To doA fitted head's hair frays into specks at its edge and at the ears in the game (the tests' marble head, N-3003, gallery-own-forms' 05-own-forms-fitted-first-per
X-81Built, not reviewedWhen plays meet, built
X-99Built, not reviewedWhen plays meet on a door, today's rules to look at with X-81
X-101Built, not reviewedA shaking door writes all of where it is
N-739DoneOther places for the points that gather into figures
N-740To doThe mind flayer's wave as points (N-739):
N-354DoneA player's form stands still
N-513To doBodies and things crumble to dust
N-516To doSparks and frost