OAP Lizzard A game interface engine
Game interfaces, outside the game Settings
← Research

Research / Project · How the work is run

Making the skull and lizard look solid

7 November 2026Decided

The artwork is lit at full precision by a small script and used as PNG pictures, because the drawing's own lighting filters showed bands and contour rings.

The question

The.Pootler found the first skull-and-lizard drawing too flat. How should it be lit so that it looks solid at every size the site uses?

Constraints

  • Sizes from a 16 pixel favicon to a 512 pixel phone icon.
  • Drawing tools stay outside Lizzard: they are not part of the engine or the site.

What was weighed

SVG's own lighting filters, in the drawing rejected
Tried first. The browser keeps the filters' heights in 256 steps, which showed as a band and then as contour rings.
Lighting worked out at full precision by a script, saved as PNG retained
Each part (bone, teeth, lizard) gets its own silhouette and height, lit from the top left.

How it was found out

The flat drawing and the lit one were compared side by side at each step, and the candidates were locked one at a time so that later changes could be judged against them.

Conditions: 7 November 2026; the drawing script's SVG and a lighting script using numpy and scipy, both outside the repository.

What was seen

  • With SVG's filters: a band across the dome, then contour rings.
  • At full precision: a rounded dome, shadow down the right side, the sockets sunk under the brow.
  • A fault on the way: the socket's shading showed on the lizard. The lizard's silhouette for the lighting had come out empty, so it was lit as bone. A part's silhouette must keep the shapes it is clipped to visible.

What it was taken to mean

Smooth light needs more than 256 height steps, so it can't come from the drawing itself; once worked out at full precision, the result is a picture, not a drawing.

The decision

Light the artwork in the script and save PNGs; the site's top-bar mark, favicons and phone icons are cut from them, and the earlier SVG files are gone.

Still uncertain

  • How a phone's home screen shows the icons was not checked.

Evidence