threecn

DNA Helix

A rotating DNA-style double helix of spheres (--primary and --accent) joined by --muted-foreground rungs.

A rotating DNA-style double helix: two strands of spheres (--primary and --accent) joined by --muted-foreground rungs.

Fullscreen

Customize

Base pairs24
Speed1
Radius1.1

Props

countnumber

Number of base pairs (nodes per strand).

Default24
speednumber

Rotation speed multiplier.

Default1
radiusnumber

Helix radius.

Default1.1
classNamestring

Classes for the wrapper element (set its height here).

Default
theme"auto" | "light" | "dark"

Color source. auto reads the live shadcn theme.

Default"auto"