DnaAnimation
A CSS-based 3D DNA helix animation component. Renders an animated double helix with configurable color, length, and opacity.
Basic Usage
Basic DNA animation with default settings.
Custom Color
Use color to change the helix color.
Custom Length
Use length to control the number of chain segments.
API
DnaAnimation Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| color | color of the DNA helix | string | '#fff' |
| length | number of chain segments (max 100) | number | 20 |
| opacity | opacity of the animation | number | 1 |