ndobrev / artificial-life-simulation Goto Github PK View Code? Open in Web Editor NEW 0.0 4.0 1.0 234 KB License: GNU General Public License v3.0 Shell 0.52% Go 83.61% HTML 15.87% Introduction ยท People ยท Discuss
Artificial-life-simulation Install git clone https://github.com/NDobrev/Artificial-life-simulation.git Windows: just start Build_x64.bat or Build_x86.bat and start gui/web/index.html Linux/Mac: build manual main.go and start gui/web/index.html Usage package main import ( "Artificial-life-simulation/core" "Artificial-life-simulation/gui" //"fmt" ) func main() { a := core.NewField(50) pla := core.NewPhytoPlankton() var point core.FieldPoint point.SetPoint(1, 1) a.AddObject(point, pla) for i := 0; i < 150; i++ { if i == 10 { a.AddObject(point, core.NewZooPlankton()) } a.OnTick() } gui.WinGuiMain() }
Artificial-life-simulation Install git clone https://github.com/NDobrev/Artificial-life-simulation.git Windows: just start Build_x64.bat or Build_x86.bat and start gui/web/index.html Linux/Mac: build manual main.go and start gui/web/index.html Usage package main import ( "Artificial-life-simulation/core" "Artificial-life-simulation/gui" //"fmt" ) func main() { a := core.NewField(50) pla := core.NewPhytoPlankton() var point core.FieldPoint point.SetPoint(1, 1) a.AddObject(point, pla) for i := 0; i < 150; i++ { if i == 10 { a.AddObject(point, core.NewZooPlankton()) } a.OnTick() } gui.WinGuiMain() }
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.