Created
May 27, 2018 05:08
-
-
Save hamilton/594ff065b35016d1b782cfe7542d4bb8 to your computer and use it in GitHub Desktop.
continuous game of life
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>continuous game of life - iodide</title> | |
<link rel="stylesheet" type="text/css" href="iodide.dev.css"> | |
</head> | |
<body> | |
<script id="jsmd" type="text/jsmd"> | |
%% meta | |
{ | |
"title": "continuous game of life", | |
"languages": { | |
"js": { | |
"pluginType": "language", | |
"languageId": "js", | |
"displayName": "Javascript", | |
"codeMirrorMode": "javascript", | |
"module": "window", | |
"evaluator": "eval", | |
"keybinding": "j", | |
"url": "" | |
}, | |
"py": { | |
"languageId": "py", | |
"displayName": "python", | |
"codeMirrorMode": "python", | |
"keybinding": "p", | |
"url": "https://iodide-project.github.io/pyodide-demo/pyodide.js", | |
"module": "pyodide", | |
"evaluator": "runPython", | |
"pluginType": "language" | |
} | |
}, | |
"lastExport": "2018-05-27T05:08:03.778Z" | |
} | |
%% plugin | |
{ | |
"languageId": "py", | |
"displayName": "python", | |
"codeMirrorMode": "python", | |
"keybinding": "p", | |
"url": "https://iodide-project.github.io/pyodide-demo/pyodide.js", | |
"module": "pyodide", | |
"evaluator": "runPython", | |
"pluginType": "language" | |
} | |
%% code {"language":"py"} | |
pyodide.loadPackage('numpy') | |
pyodide.loadPackage('matplotlib') | |
%% code {"language":"py"} | |
</script> | |
<div id='page'></div> | |
<script src='iodide.dev.js'></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment