An AI-powered physics education platform that generates interactive physics animations and simulations from natural language questions.
- AI-Powered Physics Analysis: Uses advanced AI to analyze physics questions and generate comprehensive explanations
- Interactive Animations: Creates real-time physics simulations with customizable parameters
- Real-time Data Display: Shows live physics calculations and measurements during animations
- Modern UI: Clean, responsive interface built with Next.js and Tailwind CSS
- Chat Interface: Conversational experience for asking physics questions
- API Key Management: Secure local storage for AI service credentials
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS, Shadcn UI
- AI: Qwen-3-Coder-480b with Cerebras API for physics analysis and code generation
- Icons: Lucide React
- Validation: Zod for schema validation
-
Clone the repository
git clone [https://github.com/buildfastwithai/open-brilliant](https://github.com/buildfastwithai/open-brilliant) cd open-brilliant -
Install dependencies
npm install
-
Run the development server
npm run dev
Open http://localhost:3000 in your browser.
- Enter a Physics Question: Ask any physics question in natural language
- AI Analysis: The system analyzes your question and identifies key concepts
- Interactive Animation: View the generated physics simulation with real-time controls
- Customize Parameters: Adjust variables using interactive sliders
- View Live Data: Monitor physics calculations as the animation runs
- "Show me projectile motion with initial velocity of 20 m/s at 45 degrees"
- "Demonstrate simple harmonic motion of a spring-mass system"
- "Illustrate conservation of momentum in a collision"
- "Visualize electromagnetic induction in a coil"
You can set your Cerebras API key in two ways:
Runtime Configuration: Enter your API key in the app's settings dialog
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request