Remember those mesmerizing TikTok videos with colorful bouncing balls? Now you can create and customize your own with this interactive simulation! 🎉
- 🔄 Start/Stop simulation
- ➕ Add multiple balls
- 🎨 Color-changing balls on bounce
- 🔊 Sound effects
- 🏓 Ball collision physics
- 🌈 Customizable environments (Circle, Square, Triangle, Square with Objects)
- 🎛️ Adjustable parameters:
- Speed
- Clone frequency
- Growth rate
- Elasticity
- Gravity
- Bloom intensity
- Bounce randomness
- Sound volume
Check out our live demo to see the simulation in action!
- Clone the repository:
git clone https://github.com/aiwebarchitects/ball-simulation-from-TikTok.git
- Open
index.html
in your browser.
- Click "Start/Stop" to begin the simulation.
- Use the sliders to adjust various parameters.
- Toggle options like color change, sound effects, and ball collision.
- Experiment with different environments for unique visual effects.
- 🎨 Perfect for creating eye-catching visual content
- 🧪 Great for learning about physics simulations
- 🎮 Fun and interactive way to de-stress
- 💼 Impressive addition to your portfolio
Follow us on Twitter for the latest updates, design tips, and exclusive offers!
If you find this project helpful or entertaining, please consider giving it a star on GitHub. It helps us continue creating awesome content for you!
This project is open-source and available under the MIT License. Feel free to download, modify, and use it for your own projects!