set initial params in hardcode

This commit is contained in:
Nikolai Rodionov 2022-11-16 18:57:18 +01:00
parent 206796cf0f
commit eb57a18a02

View File

@ -22,8 +22,8 @@ import (
var windowWidth, windowHeight = 1000, 700 var windowWidth, windowHeight = 1000, 700
var goidSize = 3 var goidSize = 3
var goidColor = color.RGBA{200, 200, 100, 255} // gray, 50% transparency var goidColor = color.RGBA{200, 200, 100, 255} // gray, 50% transparency
var populationSize = 1 var populationSize = 10
var loops = 2000 var loops = 3000
var numNeighbours = 5 var numNeighbours = 5
var separationFactor = float64(goidSize * 5) var separationFactor = float64(goidSize * 5)
var coherenceFactor = 8 var coherenceFactor = 8
@ -74,7 +74,6 @@ func main() {
}() }()
clearScreen() clearScreen()
hideCursor() hideCursor()
fmt.Println(td)
var goids []*Goid var goids []*Goid
// for i := 0; i < populationSize; i++ { // for i := 0; i < populationSize; i++ {