set initial params in hardcode
This commit is contained in:
parent
206796cf0f
commit
eb57a18a02
5
main.go
5
main.go
@ -22,8 +22,8 @@ import (
|
||||
var windowWidth, windowHeight = 1000, 700
|
||||
var goidSize = 3
|
||||
var goidColor = color.RGBA{200, 200, 100, 255} // gray, 50% transparency
|
||||
var populationSize = 1
|
||||
var loops = 2000
|
||||
var populationSize = 10
|
||||
var loops = 3000
|
||||
var numNeighbours = 5
|
||||
var separationFactor = float64(goidSize * 5)
|
||||
var coherenceFactor = 8
|
||||
@ -74,7 +74,6 @@ func main() {
|
||||
}()
|
||||
clearScreen()
|
||||
hideCursor()
|
||||
fmt.Println(td)
|
||||
var goids []*Goid
|
||||
|
||||
// for i := 0; i < populationSize; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user