Skip to content

karpathy/lifejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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/

Releases

No releases published

Packages

No packages published