"use client"; import React, { useState, useEffect } from "react"; import Link from "next/link"; import { motion, AnimatePresence } from "framer-motion"; import { Button } from "@/components/ui/button"; import { ArrowRight, Terminal, Activity, Zap, Layers, Share2, Cpu, Play, Sparkles } from "lucide-react"; const EXAMPLES = [ { prompt: "Visualize a Binary Search Tree", process: "Structuring Logic...", visual: ( ) }, { prompt: "Explain Solar System Orbits", process: "Calculating Trajectories...", visual: ( ) }, { prompt: "Neural Network Architecture", process: "Connecting Layers...", visual: ( {[20, 50, 80].map((x, i) => ( {[20, 50, 80].map((y, j) => ( ))} ))} ) } ]; export function Hero() { const [activeExample, setActiveExample] = useState(0); const [step, setStep] = useState(0); // 0: Input, 1: Process, 2: Output useEffect(() => { const timer = setInterval(() => { setStep(prev => { if (prev === 2) { setActiveExample(current => (current + 1) % EXAMPLES.length); return 0; } return prev + 1; }); }, 2500); // Change step every 2.5s return () => clearInterval(timer); }, []); return (
{/* Background Effects */}
Vidsimplify 1.0 Launch

Precision Animation is
Future.

The random AI video generation is inaccurate, hallucinated, inexplainable and can't be edited.

In the growing complex world we need precision animation. Simply type a prompt, and VidSimplify generates a mathematically accurate video explaining your system, research, or product in depth.

We are here to change the game of video explanations.

Tech & Systems
Research & Math
Product Demos
{/* Hero Visual - Interactive Pipeline */}
{/* Top Bar: System Status */}
SYSTEM_READY
MATH_CORE_ACTIVE
{/* Pipeline Container */}
{/* Connecting Lines Background */}
{/* Step 1: Input */}
"{EXAMPLES[activeExample].prompt}"
{/* Step 2: Processing */} {/* Step 3: Output */} {step === 2 ? (
{EXAMPLES[activeExample].visual}
) : ( )}
{/* Labels */}
Prompt
Logic Core
Animation
{/* Dynamic Status Message */} {step === 0 && } {step === 1 && } {step === 2 && } {step === 0 && "Waiting for input..."} {step === 1 && EXAMPLES[activeExample].process} {step === 2 && "Rendering final output"} {/* Bottom Bar: Live Logs */}
LIVE_EXECUTION_LOG ONLINE
{step === 0 && ( <> > DETECTED_INPUT_STREAM > ANALYZING_SEMANTICS... )} {step === 1 && ( <> > GENERATING_MATHEMATICAL_MODELS > OPTIMIZING_GEOMETRY_NODES... > SOLVING_PHYSICS_CONSTRAINTS... )} {step === 2 && ( <> > RENDERING_FRAME_BUFFER > APPLYING_POST_PROCESSING... > OUTPUT_GENERATED_SUCCESSFULLY )}
); }