/
mandelbrot.html
31 lines (31 loc) · 1.19 KB
/
mandelbrot.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
html, body { height: 100%; overflow: auto; }
body { padding: 0; margin: 0; }
#silverlightControlHost { height: 100%; text-align: center; }
</style>
<script type="text/javascript">
window.DLR = { settings: {
windowless: 'true', EnableGPUAcceleration: 'true', background: "black"
}}
</script>
<script src="ironpython/dlr.js" type="text/javascript"></script>
<script type="text/python" src="repl.py" class="xaml"></script>
<title>mandelbrot</title>
</head>
<body>
<script type="application/x-zip-compressed" src="mandelbrot/bin.zip"></script>
<script type="application/xml+xaml" id="xaml" width="100%" height="100%" defer='true' src="mandelbrot/mandelbrot.xaml"></script>
<script type="text/python" class="xaml" src="mandelbrot/mandelbrot.py" defer='true'></script>
<script type="text/python" class="xaml">
import sys
sys.path.append('mandelbrot')
import mandelbrot
from Microsoft.Scripting.Silverlight import DynamicApplication
DynamicApplication.Current.RootVisual = mandelbrot.Mandelbrot()
</script>
</body>
</html>