stnd.build

@stnd/art

Circle 3 — Specialized Satellite & Plumbing · Active · Utility

Role: Deterministic seed-based generative art components in Svelte 5 (IdentityProvider, Avatar, GenerativeArt).

When to use: Generate unique, reproducible visual avatars or procedural backgrounds seeded from a username or note ID.

Quick Start (TL;DR)

<script>
  import { IdentityProvider, Avatar } from "@stnd/art";
</script>
<IdentityProvider username="alice">
  <Avatar size="3rem" />
</IdentityProvider>

Generative identity-aware art components for the Standard Ecosystem.

ELI5

Same username in, same visual every time — a string like "alice" is hashed into a number, and that number seeds a deterministic PRNG (lib/seed.js) that every component in this package reads from. No two usernames look alike, but one username never changes look across sessions, devices, or components — an avatar and a button using the same seed feel like the same person’s stuff.

Use it:

<script>
  import { IdentityProvider, Avatar } from "@stnd/art";
</script>
<IdentityProvider username="alice">
  <Avatar size="4rem" />
</IdentityProvider>

Overview

@stnd/art provides a set of UI components that use generative art to create unique visual identities for users or entities. By using a seed (like a username), every component can share a consistent visual language.

Components (Svelte 5)

The art-backed form controls (ArtButton, ArtInput, ArtTextarea) are not part of the package: they restyle native controls with a second look, against the framework’s one vocabulary, and only the showcase used them. They live with that showcase, in apps/stnd.build/modules/art/components/; build any like them on GenerativeArt and the identity context.

Usage

<script>
  import { IdentityProvider, Avatar } from "@stnd/art";
</script>

<IdentityProvider username="alice">
  <Avatar size="4rem" />
</IdentityProvider>

Features