Skip to content

Interactive 3D football kit customization using Three.js and React Three Fiber. A contribution to the Three.js community, providing accessible and beautiful examples for all.

License

Notifications You must be signed in to change notification settings

Footprintarts/ThreeJS-Kit-Customizer

Repository files navigation

Three.js Logo Three.js Football Kit Customization - Open Source

⚠️ Disclaimer

This project is a fan-made demonstration and is not affiliated with or endorsed by any of the football clubs or organizations mentioned. All trademarks and copyrights belong to their respective owners. This project is for educational and personal use only.

⚽ Interactive 3D Football Kit Customization with Three.js

This project demonstrates how to create an interactive 3D football kit customization experience using Three.js, React Three Fiber, and other modern web technologies. Users can explore various football kits, change their colors, and interact with the 3D scene.

Three.js Football Kit Customization Project

©️ Model Credits

A huge thank you to all the creators of the 3D models used in this project:

These models significantly enhance the visual appeal and functionality of this project.

Support & Engagement

If you find this project helpful, please consider:

Features

  • 3D Kit Visualization: Explore detailed 3D models of football kits.
  • Dynamic Color Customization: Change the colors of the kits in real-time using an intuitive color palette.
  • Interactive Scene: Rotate, zoom, and pan the camera to view the kits from different angles.
  • Model Toggler: Switch between different 3D models of football players.
  • Dynamic Props: The scene includes dynamic props such as a football that adjust it's position based on the active model.
  • Decorative Props: The scene includes various decorative props such as a trophies,cones and a G.O.A.T😁 placed in random positions.
  • Music Player: An integrated music player with a customizable song list.
  • Open Source: Fully open-source and customizable.

Technologies Used

  • Three.js: A JavaScript 3D library.
  • React Three Fiber: A React renderer for Three.js.
  • @react-three/drei: Useful helpers and abstractions for React Three Fiber.
  • Valtio: For simple and fast state management.
  • GSAP (GreenSock Animation Platform): For smooth animations and transitions.
  • React Icons: For UI icons.

Getting Started

  1. Clone the repository:

    git clone https://github.com/Footprintarts/ThreeJS-Kit-Customizer.git
    cd your project
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev
  4. Open your browser:

    Visit http://localhost:5173 (or the URL provided by Vite).

Usage

  • Color Customization: Use the color palette to change the colors of the football kits.
  • Model Toggling: Switch between different 3D player models using the model toggler.
  • Camera Controls: Use your mouse to rotate, zoom, and pan the camera.
  • Music Player: Control the music playback using the player at the bottom right of the screen.

Contributing

Contributions are welcome! If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Submit a pull request.

License

📜 License: This project is licensed under the MIT License. See the LICENSE file for details.

About

Interactive 3D football kit customization using Three.js and React Three Fiber. A contribution to the Three.js community, providing accessible and beautiful examples for all.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published