Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SoccerBallImage *ebiten.Image // Screen Resolution ScreenWidth = 1600 ScreenHeight = 900 // Starting velocity for balls MinV0 float64 = -50 MaxV0 float64 = 50 )
Simulation variables
Functions ¶
func DrawScenery ¶
DrawScenery is a helper function to draw background
func StartValues ¶
StartValues set starting position and velocity for a slice of balls Positions spread in a square and velocity is random
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.