Log inGet started
Package

snowFlakes.styleBlock

README.md

Snowflakes (styleBlock, Medium)

Snow printed as round paper-white flakes in three sizes at three distances, drifting down and swaying, the round falling snow of a woodblock snow scene.

Settings: colour, opacity, density, sizePx, cellPx, speed, sway, nearLayer, farLayer, outline. Pair with snowCover for snow lying on roofs; Woodblock.weather("snow") switches both on in the current look.

What it gives up in motion

Flakes are laid on the direction the camera looks, so a pan leaves them in place in the world. They drift and sway in held steps, a printed animation at the hold rate. Flakes are round marks a few reference pixels across, never fine enough to shimmer; there is no flashing.

How it treats content

  • Opaque things: flakes fall in front of them when they are farther than the layer distance.
  • Transparent things (glass, water): flakes fall over them.
  • Particles and smoke: flakes fall over them.
  • Sky: flakes fall across it.
  • Fog: flakes keep their contrast.
  • Skinned characters: a character nearer than nearLayer stands in front of the snow.
  • Foliage: flakes fall in front of far trees.
  • World text: flakes can cross labels; exclude labels a player must read.
  • Black stays black: flakes follow the scene's brightness and sk_finish keeps black black.
  • Dim rooms: flakes are dimmed where the scene is dark.