- Canvas-based DNA helix that animates continuously
- Scroll-reactive: DNA scales up and rotates as you scroll down
- Gradient colors (cyan → blue → purple)
- Connection bars between DNA strands
- Glowing node effects
- Hero section content fades and moves up with scroll
- Problem section has vertical parallax movement
- Solution section scales dynamically
- System section includes rotation effects
- All sections have opacity transitions
- Animated particle trail following mouse movement
- Custom ring cursor with spring physics
- Particles fade out with scale animation
- Formless.xyz inspired interaction
- 8+ floating particles with independent animations
- Large gradient orbs with blur effects
- Continuous looping animations
- Different speeds and directions
- Creates depth and atmosphere
- 3 large gradient spheres in background
- Cyan, purple, and blue color variations
- Independent animation patterns
- Heavy blur for atmospheric effect
- Continuous motion loops
- Title has subtle glitch animation
- Multiple text layers with offset positions
- Random timing for natural feel
- Cyan/blue/purple gradient colors
- Glass morphism with backdrop blur
- Animated active section indicator
- Hover scale effects on all buttons
- Pulsing cursor on logo
- Shimmer effect on analyze button
- Gradient background overlay
- Floating DNA emoji with rotation
- Scale pulse animation
- Larger title (text-9xl)
- Parallax grid background
- Typewriter effect maintained
- Scroll fade-out effect
const { scrollYProgress } = useScroll()
const scale = useTransform(scrollYProgress, [0, 1], [1, 3])
const rotate = useTransform(scrollYProgress, [0, 1], [0, 360])
const opacity = useTransform(scrollYProgress, [0, 0.3, 0.7, 1], [0.3, 0.5, 0.3, 0.1])- Real-time drawing of double helix
- Sine wave mathematics for spiral effect
- Gradient strokes and fills
- Frame-by-frame animation
@keyframes glitch-1- Text glitch effect@keyframes glitch-2- Secondary glitch layer@keyframes shine- Gradient text shimmer@keyframes fadeInUp- Section reveals
motion.divwith style transformsuseScroll()for scroll trackinguseTransform()for value mappinglayoutIdfor smooth section indicators- Spring physics for cursor
- DNABackground.jsx - Canvas-based DNA helix
- CursorTrail.jsx - Mouse trail particles + custom cursor
- FloatingElements.jsx - Ambient floating particles
- Multiple layers of parallax
- DNA in background (furthest)
- Gradient orbs (mid-ground)
- Floating particles (near)
- Content (foreground)
- Canvas rendering for DNA (GPU accelerated)
- CSS transforms for smooth animations
- requestAnimationFrame for canvas
- Proper cleanup on unmount
- Custom cursor replaces default
- Mouse trail for engagement
- Hover effects on all interactive elements
- Smooth scroll navigation
- Active section tracking
- Maintains semantic HTML
- Keyboard navigation works
- Screen reader compatible
- Reduced motion respected (add prefers-reduced-motion)
// 1. Track scroll position
const { scrollYProgress } = useScroll()
// 2. Map scroll to transformations
const scale = useTransform(scrollYProgress, [0, 1], [1, 3]) // 1x to 3x scale
const rotate = useTransform(scrollYProgress, [0, 1], [0, 360]) // Full rotation
const opacity = useTransform(scrollYProgress, [0, 0.3, 0.7, 1], [0.3, 0.5, 0.3, 0.1])
// 3. Apply to motion.div
<motion.div style={{ scale, rotate, opacity }}>
<canvas /> // DNA helix
</motion.div>Result: As you scroll down the page, the DNA helix:
- ✅ Grows 3x larger
- ✅ Rotates 360 degrees
- ✅ Fades in and out
- ✅ Creates immersive depth effect
- Cyan:
#06b6d4- Primary accent - Blue:
#3b82f6- Secondary accent - Purple:
#8b5cf6- Tertiary accent - Black:
#0a0a0a- Background - Gradients: Smooth transitions between accent colors
- Grid backgrounds use mask-image for fade
- Floating elements scale on mobile
- Navigation collapses (add mobile menu if needed)
- Text sizes use responsive classes (md:, lg:)
- Canvas adapts to window size
- Framer Motion: Scroll animations, transforms, spring physics
- Canvas API: DNA rendering
- CSS3: Keyframe animations, gradients, blur effects
- React Hooks: useScroll, useTransform, useEffect, useRef
-
Bio-Line.onrender.com
- Dark theme
- Technical aesthetics
- Section-based layout
- Monospace fonts
-
Formless.xyz
- Cursor interactions
- Floating particles
- Smooth parallax
- Gradient orbs
- Glass morphism
- Load the page - See DNA helix and floating particles
- Move your mouse - Watch the particle trail
- Scroll down - DNA grows and rotates, sections parallax
- Hover navigation - Scale effects and active indicators
- Click analyze - Shimmer animation
Enjoy the immersive, scroll-reactive design! 🚀