ring

A glassy torus, tilted toward the viewer. Spin it, or put it in orbit around something.

Options

AttributeTypeDefaultRangeDescription
thicknessfloat0.160.05 to 0.5Tube thickness
tiltfloat0.550 to 1Tilt toward the viewer
rimfloat10 to 2Fresnel rim
colorcolor#9bd1ffany CSS color, including color(display-p3 r g b)Accent color of the object.
sizelength160pxany CSS lengthWidth and height of the object box.
animationlistnoneidle, spin, pulse, breathe, floatSpace separated animations, composed in order.
speednumber10.1 to 3Multiplies animation time.
statekeywordidleoff, idle, busy, activeBrightness level, eased on change.
effectlistnoneglow, beam, rgb-split, pixelate, dither, scanlines, halftone, outline, grain, vignette, chroma, ripple, defocusSpace separated post effects on this object only.
shadingkeywordautoauto, glass, matte, cel, clay, metalHow the surface takes light. auto is glass in the dark theme and matte in the light one; a scene's shading is the default for its children.
gravitykeywordorbitcenter, orbit, fall, noneRole in a gravity scene.

Notes

A glassy torus tilted toward the viewer. It reads well spinning on its own, and as a satellite orbiting a center object in a gravity scene.

<sd-scene>
  <sd-ring color="color(display-p3 0.78 0.66 1)" animation="spin" speed="0.6"></sd-ring>
</sd-scene>

License

MIT. Use it anywhere, credit appreciated.