goboids

command module
v0.0.0-...-bf6c8fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 8 Imported by: 0

README

goboids

Swee Meng said he wanted to write a boids in PyGame.

And he did it! https://github.com/sweemeng/pygame-boids

Running

No idea why Windows is giving me corrupted out put for more than 15 boids. Converting it to wasm and running it on Chrome gives us at least 120fps/60tps.

go install github.com/hajimehoshi/wasmserve@latest
wasmserve .
open http://localhost:8080/

In action

See also it running in your browser here: https://angch.github.io/goboids/

References used

https://ebitengine.org/en/examples/vector.html https://ebitengine.org/en/documents/webassembly.html https://vergenet.net/~conrad/boids/pseudocode.html

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL