Skip to content

[HOLD 3.1] feat(mascot): mediums, fur, plush, clay, pixel, low poly and toon - #552

Merged
lorant-one merged 9 commits into
previewfrom
feat/mascot-mediums
Nov 23, 2026
Merged

lorant-one merged 9 commits into
previewfrom
feat/mascot-mediums

Conversation

@lorant-one

@lorant-one lorant-one commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Requested by Lorant · project thread

3.1 work, now on preview since 3.0 shipped.

What

A medium prop draws the same mascot another way. vector (the flat mascot) stays the default.

medium how what it wraps
fur drawn hairs (furStrands): tapered strands in clumped tufts flowing from a crown and falling with gravity, longer tufts forming the silhouette, over a dark undercoat body (shapes, no filter; face on top)
plush short fuzzy edge, lit felt nap, fibres across the whole front body skin
clay blurred-alpha height map, diffuse + specular light, thumbprint noise whole body incl. face
pixel grid sampling (features thickened first so they survive), hard alpha, 1-px outline on the grid whole mascot
lowpoly Delaunay triangulation of the outline + two raised rings, flat-shaded per facet body (shapes, no filter)
toon hard shadow band + hard highlight shapes, ink outline filter whole body
  • On Mascot, mascotSvg (server stills, OG images) and MascotDesign (parseMascotDesign keeps a known medium, drops anything else). MASCOT_MEDIUMS exported.
  • Filters are plain data (mediumPrimitives) rendered both as React elements and as an SVG string; fur and lowpoly geometry is seeded by the body path, so live and server versions match.
  • No WebGL. With working="cube" the medium is ignored (the 3D mascot draws itself).
  • Vector DOM is unchanged (wrappers render only when a medium needs them).

Performance

12 animated mascots at 64 px, DPR 3, 4× CPU throttle: main thread busy vector 6%, lowpoly 7%, fur 9%, clay 10%, plush and pixel 11%, toon 12%. A fur coat is about 160 KB of path data per mascot, so lists of avatars should use mascotSvg stills. Under reduced motion the mascot holds still.

Screens

/mnt/project-files/mascot-mediums/ in the project: grid-dark.png, grid-light.png, fur-closeup.png, stills.png (mascotSvg), clip.mp4.

Follow-ups

  • MascotPanel: a Medium picker row (blocks).
  • Studio: offer mediums as wardrobe/progression unlocks behind the existing progression switch.

🤖 Generated with Claude Code

https://claude.ai/code/session_016gNJtyt8cmi6vMFxx22cgU

… low poly or toon (3.1)

medium on Mascot, mascotSvg and MascotDesign. Filters are shared data, so the
live component and the server string draw the same. vector stays the default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyt8cmi6vMFxx22cgU
@lorant-one lorant-one self-assigned this Nov 19, 2026
…e whole front

Fur is now geometry (furStrands): tapered hairs in tufts that flow from a crown
and fall with gravity, longer ones forming the silhouette, over a dark undercoat.
Plush gets fibres across the face as well as the edge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyt8cmi6vMFxx22cgU
@lorant-one
lorant-one changed the base branch from feat/3-0-breaking-cleanup to preview November 23, 2026 20:50
@lorant-one
lorant-one merged commit 58ed7b5 into preview Nov 23, 2026
11 of 12 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
27 tasks done
@lorant-one lorant-one added the approved label Nov 24, 2026 — with Claude
@lorant-one
lorant-one deleted the feat/mascot-mediums branch November 29, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants