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:
12
examples/fireworks/modules/objects/constants.v
Normal file
12
examples/fireworks/modules/objects/constants.v
Normal 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
|
||||
)
|
Reference in New Issue
Block a user