Skip to content

GDG-On-Campus-ICTU/HACKTOBERFEST_ICTU_2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Cosmic Canvas: A Starry Night Web Experience 🌌

Cosmic Canvas is an interactive web experience where users can immerse themselves in a starry night simulation, with animated stars twinkling, falling, and dynamically responding to user interaction. The project is designed to simulate a tranquil night sky and bring a little magic to the browser. As part of Hacktoberfest, we're welcoming contributors to help enhance this project further and make it even more enchanting!


🚀 What is Hacktoberfest?

Hacktoberfest is an annual celebration of open source, held during the month of October. It encourages developers around the world to contribute to open-source repositories by submitting pull requests (PRs). By contributing to open-source projects, participants can win prizes, such as free t-shirts, stickers, and digital badges, after completing four pull requests.

To participate:

  1. Sign up on Hacktoberfest's official site.
  2. Find repositories with the Hacktoberfest topic.
  3. Submit pull requests between October 1st and October 31st to count towards your goal.
  4. Make meaningful contributions to improve open-source projects!

🌌 Project Overview: Cosmic Canvas

Cosmic Canvas is a delightful web-based project that brings a starry night to life. Here are the main features:

  • Twinkling Stars: The stars on the canvas will randomly shine bright and dull like the real night sky.
  • Falling Stars: Some stars occasionally fall, and new stars appear to replace them, mimicking shooting stars.
  • Interactive Elements: As users move their mouse across the canvas, stars respond by connecting with lines of light, creating a dynamic and magical experience.
  • Responsive Design: The canvas adjusts itself to various screen sizes, ensuring a seamless experience on all devices.

🛠️ How to Contribute

We welcome all contributors, from beginners to experts, to help make Cosmic Canvas better. Here's how you can contribute:

🌟 1. Star the Repository

First, show your support by starring this repository! ⭐️

🛠️ 2. Fork this Project

Click on the "Fork" button at the top right of this repository. This will create a copy of the repository under your GitHub account.

⬇️ 3. Clone the Forked Repository

Once you've forked the repository, clone it to your local machine.

git clone https://github.com/your-username/Cosmic-Canvas.git

###🎨 4. Pick an Issue Look through the issues section. We've tagged some beginner-friendly issues with good first issue to help newcomers get started.

###💡 5. Create a New Feature Branch Make a new branch to work on your feature or fix:

git checkout -b feature/your-feature-name

📝 6. Make Your Changes

Edit files, add features, fix bugs, or update documentation. Be sure to test your changes thoroughly.

🔄 7. Commit Your Changes

Once you're happy with your changes, commit them with a descriptive message:

git add . git commit -m "Add a detailed message about your changes"

⬆️ 8. Push to Your Branch

Push your changes back to your forked repository:

git push origin feature/your-feature-name

🔔 9. Create a Pull Request

Go to your forked repository on GitHub and click on the "Compare & pull request" button. Fill out the PR template and submit it for review.

🔧 Technical Contributions

Here are some technical aspects you can work on to make Cosmic Canvas even more awesome:

Star Animations Enhancements: Improve the twinkling effect using CSS animations or JavaScript for a more realistic starry night sky. Efficient Rendering of Stars: Optimize the performance of the canvas by reducing the number of re-renders and enhancing the drawing process for smoother performance on low-end devices. Canvas Resizing and Responsiveness: Ensure the canvas is responsive across different screen sizes, including mobile devices, without performance degradation. Custom Star Patterns: Allow users to add custom constellations or star patterns by clicking or dragging on the canvas. Add Shooting Stars: Implement more dynamic falling stars that leave trails and occur randomly at different intervals and directions. Refactor and Modularize Code: Clean up the existing JavaScript code to be more modular, separating concerns and making it easier to extend. Interactive User Controls: Create user controls (sliders, toggles) for features like star density, animation speed, or background color. Unit Tests for Components: Add tests to ensure the functionality of core components, improving the project's overall maintainability. 🌟 Hacktoberfest Contribution Guidelines To ensure that your pull requests count towards Hacktoberfest, please make sure of the following:

Your pull request must be meaningful; avoid low-quality contributions like fixing typos or spacing errors. Contributions should be respectful, and the code should follow proper formatting. Feel free to ask for help if you encounter issues while setting up the project or making contributions! 🌍 Community & Support If you have any questions or need help, feel free to open a discussion or reach out to the maintainers. We're here to help everyone, especially first-time contributors!