lifejs
lifejs copied to clipboard
Artificial Life simulator using canvas. Based on https://github.com/karpathy/scriptsbots
Javascript port of Scriptbots (https://sites.google.com/site/scriptbotsevo/)
To use:
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<script type="text/javascript" src="Life.js"></script>
</head>
<body>
<script type="text/javascript">
var view = new Life.Renderer();
view.init();
document.body.appendChild(view.canvas);
</script>
</body>
</html>
For a list of default parameters see: https://github.com/JimAllanson/lifejs/wiki/Default-Parameters For a demonstration, see: http://jimallanson.github.com/lifejs/ For more information on the simulation, see: https://sites.google.com/site/scriptbotsevo/