forked from JimAllanson/lifejs
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathREADME
24 lines (21 loc) · 863 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Javascript port of Scriptbots (https://sites.google.com/site/scriptbotsevo/)
Requires a copy of the Sylvester Vector math library (sylvester.js) in the same directory as Life.js and Worker.js
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/
For a copy of the Sylvester library, see: http://sylvester.jcoglan.com/