Skip to content

Just a C++17 and SFML demo that displays fireworks of some sort

License

Notifications You must be signed in to change notification settings

Penaz91/firework_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fireworks Demo

Small Demo I made for a friend that displays a star field with 1000 stars, all generated with circles.

Clicking somewhere on the window will shoot a firework on that place, using ease-out functions.

When the firework explodes, particles will be emitted to match a certain shape.

Patterns

Shapes can be edited and added in the resources/patterns directory.

Each black pixel represents a random color particle. Transparent pixels won't create particles. Colored pixels will have their color taken and used to create the particles.

Building the project

You will need the latest version of SFML and a compiler that supports C++17's <filesystem>.

The project includes a makefile that allows to build the project by just using the make command.

About

Just a C++17 and SFML demo that displays fireworks of some sort

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published