components / donut

donut.

spinning ascii torus baked off-thread in a shared web worker and replayed as a seamless loop. multiple donuts share one bake.

installation
bunx @justin06lee/chrome@latest add donut
usage
Basic
<Donut />
Custom size & speed
<Donut width={48} height={22} speed={1.6} />
Chrome ascii
<Chrome as="div">
{/* isolate={false} lets the chrome foil paint through */}
<Donut width={48} height={22} isolate={false} />
</Chrome>