glslop
[ CC0 shader vibe commons · everything here is public domain ]
preview · live rendering is optional this browser needs the main-thread fallback, which may freeze the page.
params (35)
0.00
0.00
1.00
1.00
0.86
0.87
0.88
1.00
0.75
1.00
0.35
16.00
1.00
1.00
1.00
1.00
0.07
7.00
0.80
2.62
3.20
1.25
1.00
1.00
1.00
1.00
1.00
1.00
1.00
1.00
1.00
320.00
5.00
0.80
0.10
.fs source · isf not running

Skrrt

#ouq919a0
⑂ fork it{ } json

TRUENO 86 - a 1983 Sprinter Trueno AE86 going down a Japanese mountain pass at night, sideways, on its headlights. The car is one signed distance field built from the real thing's measurements: 4180 long, 1625 wide, 1335 tall on a 2400 wheelbase, 185/60 on fourteens, and the overhangs deliberately unequal - 830 in front, 970 behind - because a body box centred on the axles is what makes a model car look like a toy. The road is a SHEAR OF SPACE: a cross-section drawn once as a polyline - cut face, gutter, six metres of asphalt, shoulder, then nothing - and extruded along z while every sample is displaced sideways and downward by the centreline's own functions, so the whole descending pass is three sines and an exact 2D distance rather than a mesh. Because the profile is a polyline and the road is an extrusion, that distance is EXACT; the shear costs one constant Lipschitz factor and nothing else. The drift is not an animation, it is the road: the car's yaw is the road's heading plus a term proportional to its CURVATURE, so it points into the corner wherever the corner is, the front wheels counter-steer against that angle, the body leans on it, the line runs wide on it and the tyre smoke comes off it. The drift, the camber and the suspension are all one transform on the RAY - the sample is pushed backward through the car's yaw, roll, pitch and a volume-preserving squash before the body is evaluated, and the returned distance is multiplied by the smallest scale factor so the field stays conservative and the march stays legal. Night is what makes it: one dim moon and two headlamps, which are elliptical cones with a flat CUTOFF along the top the way a low beam really is, and they are integrated through the air as well as landed on the road - sixteen taps down the view ray gathering haze, tail-light red and the smoke off the rear tyres, which the tail lights are the only thing lighting because the beams point the other way. The camera is a DIRECTOR rather than a chase rig: every uCut seconds the frame cuts to a shot drawn from a hash of the cut index - front three-quarter, head on, off the bank, chase, down at wheel height, or a roadside pass-by where the camera stops following and the car comes to it - the draw is squared so the front views come up most often, and every shot dollies and swings inside itself, because a cut from one locked-off camera to another is still locked off. Everything on the ground is keyed to the ABSOLUTE distance down the pass rather than to the car, because the car sits at z = 0 forever and anything drawn at its own z is nailed to it - the asphalt, the tar seams every eight metres, the cat's eyes, the guardrail posts and the delineator poles all stream past because of that one substitution, and they carry half a frame of travel of ordered motion blur with them while the car, which is not moving relative to the camera, stays sharp. The reflectors are modelled as RETROREFLECTORS - emission proportional to the beam landing on them, not a specular lobe - which is why they flare white as the pool reaches them and go out the moment it leaves. When the rear quarter leans on the barrier it throws sparks: eighteen ballistic particles shed backward at road speed, each drawn as the segment it swept since the last frame and glowed by the closest distance from the view ray to that segment, with a floor on the radius of what one pixel is worth at that depth - as a density in the volumetric they were invisible, because a spray forty centimetres across is missed by sixteen taps three metres apart. Nothing can clip the mountain: the car's line is clamped by its own SWEPT WIDTH, which for a box yawed by the drift angle is halfW*|cos| + halfL*|sin| - two metres of a six metre road at forty degrees - so the harder it is sideways the less of the road it is allowed to use, and the camera climbs out of the cut face by querying the same cross-section it would otherwise be buried in. Every edge on the car is a hard intersection of planes - no rounded boxes anywhere - because a smoothed corner is a modern renderer's tell. The PS2 look is the render and not a filter: the fragment coordinate is quantised before the ray is built, so the frame is genuinely traced at a couple of hundred lines, then posterised through an ordered 4x4 Bayer dither. Thirty-five controls: body, face, pop-ups, spoiler, paint (as three channels, because a colour input is the one thing hosts disagree about), panda, gloss, wheels, tyre, speed, drift, bumps, lean, curve, grade, camera distance, camera height, camera angle, seconds per cut, lens, headlamps, beam spread, haze, smoke, sparks, motion blur, moon, stars, town, render resolution, colour depth, dither and grain.

#tureno 86#86#drifting#Initial D#car#racing#animegeneratorraymarchretrops2carvehiclejdmnightprocedural3d
by ksinwitnessed_generationmade with ClaudeCC0-1.0credit: CC0. Original. An homage - no marque assets, every number typed in by hand.activecreated 2026-09-16 01:03Z21 views0 forks35 paramsClaude-Opus-5
lineage
export clip · render a video in your browser

Renders to video in your browser (no upload), stepping the real renderer frame by frame so multipass + feedback come out right. motion auto-animates the shader's own knobs — each export rolls a fresh take (🎲 re-roll, 🔒 to pin one you like). GIF is slower with a tighter length cap; MP4/WebM are faster. Some devices record in real time (noted below if so) — keep the tab visible.

caps: ≤1920 per side, ≤60fps, ≤18000 frames (GIF ≤300)
embed · drop this shader into any page
preview ↗

Renders client-side in the reader's browser (CC0 — no attribution required, but the backlink is appreciated).