+
Skip to content

Saganaki22/Swarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🦟 Swarm by DrBaph

An interactive pointer swarm simulation where a mesmerizing group of pointers follows your cursor, creating dynamic and chaotic patterns.

social1

🎮 Features

  • Interactive Swarm Behavior: Watch as particles dynamically follow your cursor
  • Responsive Design: Experience across all devices and screen sizes
  • Mobile Support: Touch-friendly controls
  • Food Placement: Click or tap anywhere to drop food and attract the swarm
  • Pause Function: Press spacebar to Pause animation
  • Reset Function: Press 'R' to reset the simulation
  • Customizable Settings: Adjust particle count, speed, and behavior through the control panel
  • Inverted Colors: Toggle between light and dark modes

🚀 Try It Out

Visit Swarm by DrBaph to experience the simulation.

🛠️ Controls

  • Mouse Movement: Guide the swarm
  • Click: Drop food
  • Spacebar: Pause
  • R Key: Reset simulation
  • Control Panel: Adjust simulation parameters

🎨 Customization

Use the control panel to adjust:

  • Particle Count
  • Speed
  • Particle Size
  • Attraction Force
  • Avoidance Radius
  • Cohesion Strength
  • Randomness
  • Mouse Avoidance
  • Color Inversion

🔧 Technologies Used

  • Three.js for WebGL rendering
  • Dat.GUI for control interface
  • JavaScript for particle physics
  • HTML5 Canvas for rendering
  • CSS3 for styling

📝 License

Copyright (c) 2025 DrBaph

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

🔗 Links

🤝 Contributing

While this is primarily a personal project, feel free to:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

📞 Contact

Find me on Instagram for questions or collaborations.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载