slayer

a scene in yaml.
a finished frame out.

Build worlds, render films and compose their soundtracks on your laptop. Slayer brings procedural models, physically grounded light transport and music into one open-source system.

Describe a scene in plain text, explore it in Ferruccio, or work with a coding agent. Slayer renders on the CPU or on your Mac’s GPU through Metal. The scene stays yours to inspect, edit and build on.

the caprica system

An earth-like world orbits a dense, glowing lava drop; a yellow giant crowds one of two suns, and a flock soars above a blue giant. The Caprica system is plausible, but not accurate, deliberately created to be beautiful and stretch the renderer. Its lava drop began with a real scientific idea—and the search for objects like it is why Slayer began.

Fresno glows through a copper haze above Caprica’s curved cloud limb.

looking up from caprica

Fresno above the clouds of the world that orbits it.
Caprica's blue-green face and pale clouds emerge from the night side.

caprica at night

A crescent of sea and cloud.
Dark mottling and small bright points across Fresno’s glowing surface.

fresno, close

An imagined surface of dark deposits and violent bright points.
Azure, a dark blue banded giant against black space.

azure

A softly banded blue giant.
Amber, a pale banded gas giant against the glare of its star.

amber

A giant near the larger star.

the tidal basin

A real place through a year. Every Yoshino cherry, elm and plane around the basin is grown for the date a scene names, from bare wood to blossom to autumn gold, and the sun is placed for the same day. The cherries are built from their flowers up.

Four views of the lit Jefferson Memorial across blue water at dusk: cherries in blossom, green summer trees, gold autumn trees, and bare trees over snow.

one view, four dates

Jefferson at blue hour on 9 April, 16 July, 16 October and 25 December.
Cherry branches arch over the seawall path beside the water in early morning light.

the seawall in the morning

Peak bloom, just after sunrise.
The Washington Monument across the water under a rose sky, cherries in blossom along the seawall.

washington before dawn

Across the water, fifteen minutes before sunrise.

futian

A city of towers on the shore of Shenzhen Bay, with a bridge of buildings across the water, lasers fanned from the roofs and haze between the towers. Every picture is drawn by Slayer from a set file in the repository.

Futian’s towers at night across a dark bay, lasers fanned from one roof, a bridge deck with lit windows at the left.

the bay at night

The city lit by its own lamps, lasers and windows.
A canal between towers at sunset, lamps blooming pink and yellow in the fog.

the canal alley

Lamps in the fog at the foot of the towers.
Lasers fanned across a sunset sky over the bay.

the outlook

Lasers over the bay from 190 m up.

source to frame

A job names a scene, a film and a moment. This job places the camera on Mauna Kea at dusk, using NOAA elevation data, with the two Keck domes above the clouds. The YAML below is adapted from the job used to render the image beside it, with local file paths made portable.

f05-maunakea-cinder-2k.yaml
$schema: https://github.com/janearc/slayer/schemas/job-v1.jsonscene:  named: heard  with:    stage:      kind: kecks      eye: [100, 45, 210]      end-eye: [90, 44, 200]      look: [-30, 13, 0]      wide: 68      exposure: 1.4      aim: [180, 180]      elevation: [0, 0]      sun: [2.5, 1.5]      sky-hours: [0, 0.3]      interior: false      terrain: data/noaa-hawaii-crm2023-big-island-float.tif    from: 61.81818181818181    until: 65.45454545454545    bpm: 66film: {width: 2048, height: 1152, rays: 4, wide: 68, exposure: 1.4}renderer: gpuat: {value: 64, unit: s}outputs:  picture: out/maunakea/proof.png
$ slayer draw f05-maunakea-cinder-2k.yaml
The summit of Mauna Kea at dusk: the two Keck domes open and lit from inside, the buildings between them, the cloud deck glowing below, dark cinder ground in front.
proof.png: the Keck domes open at dusk, the cloud deck lit below the summit, and cinder underfoot. Not a tree in sight, which is right at 4,145 meters.

the contact sheet

Every frame on this page came out of slayer, and so did the music: the score for Into the Centre and Moth Light farther down, were composed by jane michelle arc and played by cheeptune, slayer's own synthesizer, from scores written as text. Play the clips to hear the scores and see the scenes in motion.

into the centre

Grissom's first film: a dive toward the galactic centre, the sky divided into finer triangles as the camera approaches. A vertical short with an original score; turn the sound on.

fire

Fire is hard: light that moves, comes from a volume and lights everything around it. 62 frames, looped.

one retreat

Nearby stars, the galaxy, the strands, the opening: 655 frames drawn in seven and a half minutes, with its score. Turn the sound on.

lantern

A star inside a swarm of panels, thinking. 87 frames, traced in 37 seconds.

zappy

The magnetar at the orbital's heart, breaking through its shell of panels. 22 frames, looped.
Two broad rings, mottled in rust and blue, cross around a magnetar against a field of stars.

the orbital

Two rings around a magnetar, 3.6 million km across, from far enough out to see all of it.
Night on the inside of the orbital: a grid of lit city blocks runs to the horizon, with towers standing beyond it.

the orbital, at street level

The same orbital, close enough to see its streets. Its cities are built procedurally and recursively, so the camera can go from the whole ring down to one building.

the earth, turning

Sixty frames at twenty a second, from grissom, which draws the earth as triangles on Metal rather than tracing it.
An observatory dome at night in thin haze, its slit open and four orange guide-star laser beams rising from it, dark trees beside it.

the beam

Guide-star lasers leaving a dome into the haze, at 4K.
A great oval crowd of small colored forms, pink, green, blue and gold, scattered across black space with a few bright lights among them.

the multitude

A crowd of authored forms, every one of them its own shape, at 4K.
A giant open-frame telescope beside its sliding shelter at night, with low buildings around it.

owl

The hundred-metre telescope ESO designed and never built, standing in the open beside its shelter.
The Rubin Observatory building at night: a long lit facility with the telescope's tall enclosure at one end.

rubin

The Vera C. Rubin Observatory at night, its long building lit and the enclosure standing over it.
A submarine surfaced on open water at dusk, its long dark hull and sail low in the waves, the sky fading from violet to a pale peach horizon with one bright star.

alfa, surfaced

A submarine on open water at dusk, the sea drawn from its wave spectrum, every glint on it traced.
The same submarine seen from below in dark blue water, its whole hull in profile, the broken underside of the sea surface above it.

alfa, from below

The same hull from ninety-five meters down, looking up at the underside of the sea. The water and its light here are authored, not measured: a fill set by hand so the hull reads.
A Venera lander stands alone on a plain of broken rock slabs under a hazy orange and yellow sky.

venera, on venus

A Venera lander alone on a plain of broken rock slabs, under a hazy orange and yellow sky.

in orbit

The Hubble Space Telescope seen from above its open aperture door, looking down the bright metal tube to the secondary mirror, its blue solar wings across it, stars behind.
Hubble, its door wide open.
The James Webb Space Telescope from above its sunshield, the layered shield bright in hard light, the dark segmented mirror and its struts above it, stars behind.
Webb, whose eyes were sensitive to the dark.
The Spitzer Space Telescope seen from above its open tube, its flat solar panel beside it catching the light, stars behind.
Spitzer, forgotten, but loved.

Each is the manufactory's own model at its highest detail, lit by one hard light, with real stars behind it from Gaia, and the catalogue lists the sources each was built from.

built for the agent loop

Plain text in, plain words back. An agent that can edit a file and run a shell can direct a film, and slayer --agent-help gives it the verb map, written for it. Small models running locally, like Qwen3 14B, have learned to drive it without much trouble.

  1. it reads the catalogue

    $ slayer list presets

    Scenes, film presets, stocks, scores and voicings, by name.

  2. it checks its work

    $ slayer assess job.yaml

    Validate the scene before spending time on a render.

  3. it hands you the picture

    $ slayer draw job.yaml

    Render frames, a film and its soundtrack from the same job.

Rendering runs locally. Your laptop is the studio.

built like a photographer, checked like a physicist

ninjafilm
Photographic stock, optics and grain. Its darkroom re-exposes a saved frame without tracing it again. Render in landscape or portrait, then choose output settings for your destination, including YouTube. Configurable quality options let you balance detail, render time and file size.
manufactory
Spruces, stones and ferns grown from a seed. The same seed makes the same thing, bit for bit. The catalogue draws 121 of the kinds it makes, with the sources each was built from.
cheeptune
A score rendered ahead of time and timed to the picture. Slayer ships with 37 original tracks, Apache licensed like the rest of it.
sky
Volumetric light and the cosmos, to scale.
burning-trousers
An independent test harness. Its expected results come from physics, published data or its own arithmetic, never from the renderer under test.
grissom
The survey viewer: sky surveys laid onto the sky's triangles, the earth beside them, and the sky as seen from any place on it. It draws on Metal directly, without the ray tracer, so it moves as fast as you do.
ferruccio
A native workspace for building scenes. Drag objects in the working view, orbit the camera or move through the scene with two trackballs, then render the finished image with Slayer. Ferruccio uses wgpu on Metal; working-view performance depends on the scene. Its colors come from Chroma, just like this page. How it works, and why.
azazel
Slayer's own job queue. Agents submit slayer commands to one durable queue, and a single worker admits them, watches them and keeps what came of them. Few ray tracers ship with one. It is still being validated.
game
What builds, checks and releases slayer: tests, mutation tests, lint, and lanes that take turns on one machine, so heavy work waits instead of colliding.
Ferruccio in Play: a rendered ship and a two-meter visitor fill the view, with the Orbit and Travel trackballs and mode buttons around it.
Play, rendered: a flying saucer and a two-meter visitor, with the Orbit and Travel trackballs.
Ferruccio in Play with the Wireframe display: the ship and visitor as line drawings, the same trackballs beside them.
Play, in wireframe: the live working geometry.

music, drawn as it plays

Moth Light: lead, bass, chip pad, hats and drums, each drawn as it plays, in three-four at seventy.
Moon Lake, explained: the same song as a portrait short, on YouTube.
0.1.9released november 2026
12views of caprica