Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game implements ebiten callbacks for fluid simulation demo
func New ¶
New creates a game, given:
gridSize - width and height of grid used to model fluid scale - width and height used to display of each cell
func (*Game) Draw ¶
func (g *Game) Draw(screen *ebiten.Image)
Draw draws on the screen with each tick
Click to show internal directories.
Click to hide internal directories.