Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hackstars

Hackstars is an interactive canvas project built for the Hack Club Stardance challenge. It displays a night sky filled with stars of different colors scattered randomly across the screen, which react dynamically to user input.

About the Project

The main feature of Hackstars is the shockwave effect. When you click anywhere on the screen, an expanding shockwave originates from that point and pushes nearby stars away.

The shockwave consists of two main visual rings:

  • An outer ring that calculates distance and pushes the stars backward.
  • An inner ring that adds a glowing visual effect to the wave.

You can customize the interaction using controls on the screen:

  • Adjust the shockwave strength slider.
  • Adjust the expansion speed slider.
  • Click the "Reset Stars" button to scatter the stars into brand new random positions.

How to Run

  1. Clone or download this repository.
  2. Open index.html in any web browser.
  3. or open(https://dasher2801.github.io/Hackstars/)
  4. Click anywhere on the screen to trigger a shockwave.

Built With

  • HTML5 Canvas
  • JavaScript
  • CSS

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages