This project is an interactive experience designed to raise awareness about the importance of taking care of our planet. Using Vue.js and Three.js, it creates an immersive visualization of the environment, exploring issues related to nature conservation and the environmental impacts we face.
Through particle animation and interactivity, we aim to convey the message that small actions can make a big difference for the future of our planet.
- Particle Animations: 3D animated particles simulate air and nature movement, symbolizing the need to preserve the environment.
- Mouse Interactivity: The project responds to mouse movement, creating an immersive sense of control over the scene.
- Background Image and GIF: A background layer with an image and an animated butterfly GIF, representing wildlife and the importance of biodiversity.
- Vue.js: A progressive JavaScript framework for building user interfaces.
- Three.js: A JavaScript library for creating 3D graphics in the browser.
- CSS: Interface styling focused on responsiveness and interaction.
-
Clone the repository:
git clone https://github.com/yourusername/environment-project.git
-
Install dependencies: Navigate to the project directory and install dependencies using npm or yarn:
cd environment-project npm install
or
yarn install
-
Run the development server: After installing the dependencies, start the development server with the command:
npm run serve
or
yarn serve
-
Access the project: The project will be available at
http://localhost:8080/
.
- src/components: Contains the Vue.js components used in the project.
AppForest.vue
: Component responsible for rendering the background and animated particles.
- src/assets: Images and files used in the project.
- public: Public files, such as
index.html
.
- Vue.js manages the project structure and user interaction.
- Three.js renders the 3D particles in the scene and enables their dynamic movement.
- Particle animation is based on mouse movement, providing an immersive experience for the user.
- The project is also responsive, adapting to different screen sizes, with the background adjusting to the window size.
If you’d like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
We thank everyone involved in developing and creating solutions to raise awareness about environmental preservation!
If you have any questions or suggestions about this project, feel free to contact me:
- GitHub: @yourusername
- Email: [email protected]