1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
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
)