An interactive visualization of Fourier series harmonics using rotating vectors and wave superposition. Built with cutting-edge web technologies for immersive mathematical exploration.
- โจ Features
- ๐ Quick Start
- ๐ง Customization
- ๐งฉ Tech Stack
- ๐ Learning Resources
- ๐ค Contributing
- ๐ License
- ๐ฌ Contact
- ๐ฎ Real-time parameter adjustments
- ๐ Responsive canvas rendering
- ๐๏ธ Color pickers for visual elements
- โก Instant waveform updates
- ๐ Rotating harmonic circles
- ๐ Waveform tracing
- ๐ Real-time graph plotting
- ๐ Animation controls (Play/Pause)
- ๐ Custom formula input (
sin(x) + 0.5*sin(3*x)) - ๐ข Predefined waveform library
- ๐งช Math.js integration
- โ Error handling for invalid inputs
- ๐ Dark mode aesthetics
- ๐ซ Framer Motion animations
- ๐ฑ Mobile-responsive layout
- ๐ผ๏ธ PNG export functionality
- Node.js โฅ16.x
- npm โฅ9.x
# Clone repository
git clone https://github.com/hamzakhaliq-404/Fourier-Series-Visualization.git
cd Fourier-Series-Visualization
# Install dependencies
npm install
# Start development server
npm run devnpm run build
npm run previewModify tailwind.config.js for color schemes:
theme: {
extend: {
colors: {
primary: '#60a5fa',
secondary: '#3b82f6',
dark: '#1e293b'
}
}
}Extend predefinedFormulas in App.tsx:
const predefinedFormulas = [
// Add new entries like:
{
name: 'Heart Wave โค๏ธ',
formula: 'abs(sin(x)) + sqrt(1 - (x/ฯ)^2)'
}
];| Category | Technologies |
|---|---|
| Core | React, TypeScript, Vite |
| Styling | Tailwind CSS, Framer Motion |
| Math | Math.js, Canvas API |
| Deployment | Vercel, GitHub Actions |
| Quality | ESLint, Prettier, TypeScript Strict Mode |
We welcome contributions! Please follow these guidelines:
- Fork the repository ๐ด
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request ๐
See our Contribution Guidelines for details.
Distributed under the MIT License. See LICENSE for more information.
Made with โค๏ธ by Hamza Khaliq |
