film
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
film
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2strict
clamp01(x: number) → number
EASING / RAMP HELPERS
| arg | type | description |
|---|---|---|
| x | number |
ramp(t: number, a: number, b: number) → number
Normalised 0..1 progress of `t` across [a, b], clamped at both ends.
| arg | type | description |
|---|---|---|
| t | number | |
| a | number | |
| b | number |
sramp(t: number, a: number, b: number) → number
`M.ramp` with a smoothstep applied — the default for anything a viewer watches change, because a linear ramp reads as a machine.
| arg | type | description |
|---|---|---|
| t | number | |
| a | number | |
| b | number |
lerp(a: number, b: number, x: number) → number
| arg | type | description |
|---|---|---|
| a | number | |
| b | number | |
| x | number |
lerp3(a: { number }, b: { number }, x: number) → void
| arg | type | description |
|---|---|---|
| a | { number } | |
| b | { number } | |
| x | number |
movement(t: number) → void
Which movement `t` falls in, and how far through it is.
| arg | type | description |
|---|---|---|
| t | number |
wetness(t: number) → number
How wet every surface in the world is, 0..1. Straight into the Weather component's `wetness`. Dry through movement I, arrives with the rain over ~14 s, and never fully dries again — the garden ends wet.
| arg | type | description |
|---|---|---|
| t | number |
rainfall(t: number) → number
Rain intensity 0..1 — emitter rate, splash rate, the sound bed's level. A front that arrives fast, holds through movement II, and thins to nothing by the time the first blooms are open.
| arg | type | description |
|---|---|---|
| t | number |
growth(t: number) → number
How grown the garden is, 0..1. Drives population instance counts, plant scale and moss coverage. Nothing until the stone is wet; then a long S that is still finishing when the sun arrives.
| arg | type | description |
|---|---|---|
| t | number |
glow(t: number) → number
How much of its own light the garden is making, 0..1. Rises after the growth, peaks in the middle of movement III, and is guttered out by the sun.
| arg | type | description |
|---|---|---|
| t | number |
sunElevation(t: number) → number
Sun elevation in degrees. NEGATIVE means below the crater rim and the scene is moonlit instead. Crosses the rim at the head of movement IV.
| arg | type | description |
|---|---|---|
| t | number |
moonlight(t: number) → number
How much light the moon is contributing, 0..1 — full through movements I and II, gone by the time the sun is up.
| arg | type | description |
|---|---|---|
| t | number |
shotAt(t: number) → void
The shot `t` falls in: its table row, its index, and 0..1 progress through it. Anything that must land on a cut reads this.
| arg | type | description |
|---|---|---|
| t | number |
shotStart(n: number) → number
Film-time at which shot `n` begins.
| arg | type | description |
|---|---|---|
| n | number |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.