Custom swamp-themed avatar generator with daily rerolls
Opened by stack72 · 4/9/2026· GitHub #233
Summary
Let operatives customize parameters for a procedurally generated swamp-themed avatar on their profile. Avatars are auto-generated from the chosen parameters, and users can reroll up to 3 times per day to get a variation they like.
Motivation
Generic default avatars don't fit the swamp aesthetic. A custom avatar generator gives every operative a unique visual identity that's on-theme, without requiring them to upload an image. The reroll mechanic adds a fun daily interaction — "what will my swamp creature look like today?" — while preventing infinite generation abuse.
Design sketch
Avatar parameters
User-selectable traits that feed the generator, e.g.:
- Creature type: frog, gator, newt, turtle, heron, catfish, etc.
- Color palette: murky green, bog brown, bioluminescent, toxic purple, etc.
- Accessories: moss crown, lily pad hat, swamp gas aura, cattail staff, etc.
- Expression: stoic, menacing, goofy, wise, etc.
- Background element: cypress tree, fog, fireflies, bubbling mud, etc.
Parameters are stored on the profile. The combination + a seed value produces the avatar.
Generation
- Server-side generation from parameters + seed (deterministic — same inputs = same output)
- Output as SVG or PNG, cached/stored after generation
- Reroll changes the seed while keeping the chosen parameters
Reroll mechanic
- 3 rerolls per calendar day per user
- Reroll counter resets at midnight UTC
- Each reroll generates a new seed, producing a different variation of the same parameter set
- Changing parameters does NOT consume a reroll (only the seed changes on reroll)
Storage
- Avatar parameters + current seed on the profile document (or dedicated collection)
rerollsUsed+rerollDatefor daily tracking- Generated avatar cached in S3 or as a static asset
Profile UI
- Avatar displayed prominently on
/u/{username}and in leaderboard entries - Parameter editor in profile settings with live preview
- Reroll button with remaining count indicator
Open questions
- Generation approach — deterministic algorithmic (SVG compositing), AI-generated, or pixel art?
- Should tier influence available options (e.g., higher tiers unlock rarer traits)?
- Avatar size/format constraints for leaderboard thumbnails vs. profile display?
- Should rerolls be a scoring event or purely cosmetic?
- CDN/caching strategy for generated avatars
Open
No activity in this phase yet.
Sign in to post a ripple.