Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
// This snippet shows the cool new functionality added by @bzwheeler and the team at trinket.io | |
// You can now develop and host your own modules for skulpt, and set up a page to make those | |
// modules available as in the following. | |
Sk.externalLibraries = { | |
numpy : { | |
path: 'http://example.com/static/primeronoo/skulpt/external/numpy/__init__.js', | |
dependencies: ['/static/primeronoo/skulpt/external/deps/math.js'], | |
}, | |
matplotlib : { |
This file contains hidden or 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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script> | |
<script src="http://www.skulpt.org/js/skulpt.min.js" type="text/javascript"></script> | |
<script src="http://www.skulpt.org/js/skulpt-stdlib.js" type="text/javascript"></script> | |
</head> | |
<body> |