examples: add fireworks example (#8358)

This commit is contained in:
shadowninja55 2021-01-26 16:13:11 -05:00 committed by GitHub
parent 90ecbde712
commit ba3342a034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 225 additions and 0 deletions

View file

@ -0,0 +1,12 @@
module objects
const (
width = 800
height = 800
gravity = Vector{0, -0.03}
age_rate = 1
offspring_count = 100
rocket_radius = 5
particle_radius = 2.5
drag = 0.98
)