lk3d examples
Each page loads ../dist/lk3d.min.js (run npm run build) and is meant to be read: open
its source. Serve this folder with npm run examples.
-
An AC generator: take it apart, cut it open, see through the casing, and spin the
rotor by hand (a turn handle). In the playground
-
A converging lens: drag the object and the focal points; rays drawn with
lines meet at the image. In the playground
-
An animal cell: a cut-open cell with a true scale bar; choose an organelle and the
camera frames it. In the playground
-
A tour of a human cell: the cell made as detailed as an illustrated film (nuclear
pores, chromatin, smooth ER, the cytoskeleton, centrioles), gone through in eleven guided steps, with messenger
RNA leaving the nucleus and a close-up of the membrane.
In the playground
-
An armillary sphere: rings that model the sky, set for Hà Nội; guided steps, the
sky's daily turn, and what the scene says must be true of it (
expect), checked by
lk3d check. In the playground
-
Molecules: ball-and-stick and space-filling molecules in CPK colours, to one scale.
In the playground
-
The inner Solar System: drag a planet along its orbit (an
along handle),
in the night environment. In the playground
-
Rock layers: a block of ground with tilted layers and a fault, from the
terrain and extrude shapes.
In the playground
-
A pressure gauge: a needle that turns between stops, read out for screen readers.
In the playground
-
A fossil skull: a textured scan (glTF) of a 1.8-million-year-old Homo erectus skull,
CC0 from the Smithsonian. In the playground
-
Three looks: the same model in the drawn look, the realistic studio look and the pen
look, side by side, in each theme.
-
Air through a ducted fan: air as moving streams, drawn into the intake, through the duct
round the core and out of the nozzle hot, thicker and faster with the throttle, in slow motion.
In the playground
-
Current in a circuit: particles flowing along a closed path, faster as the voltage
rises, and a glowing filament. In the playground
-
Without a script: the generator as a
<lk3d-figure> element, its
scene from src, its guided steps under it.