creativecreatorormaybenot / fireworks

Licence: BSD-3-Clause license
Interactive app(s) for showing fireworks using Flutter's canvas.

Programming Languages

C++
36643 projects - #6 most used programming language
dart
5743 projects
CMake
9771 projects
ruby
36898 projects - #4 most used programming language
HTML
75241 projects
swift
15916 projects

Labels

fireworks demo badge Twitter Follow

Interactive app(s) for showing fireworks using Flutter's canvas.

Repo structure

To allow for both the live demo and counter app using the same code for rendering the actual fireworks, the repo contains the following packages:

  • fireworks, which is a basic Flutter package that contains a render object and widget for rendering the fireworks. It also contains a controller class that manages the rockets, explosion particles, vsync, etc.
  • fireworks_demo, which is the app that is used for the live demo.
  • fireworks_counter, which is a slightly modified version of the Flutter template app using the fireworks package.

Live demo

You can view a live demo of the fireworks package in action that allows you to both watch the fireworks and launch your own firework rockets by hovering with the mouse :)

You can checkout the tweet I made about it.

Counter app

For the Flutter counter challenge, I took the template app that is generated by flutter create and modified just a few lines of code to add the fireworks to it :)

Because I had already implemented the fireworks package in an abstract way before, I was able to simply drop the widget and the controller into the counter app and transform it in a matter of minutes.
You can also checkout the tweet for this one.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].