-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
34 lines (30 loc) · 1.45 KB
/
index.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
32
33
34
<!DOCTYPE html>
<html>
<head>
<title>using Processing.js with Amber Smalltalk</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="Sebastian Heidbrink" />
<script type='text/javascript' src='the.js'></script>
</head>
<body>
<script type='text/javascript'>
require(['app'], function (amber) {
amber.initialize({
//used for all new packages in IDE
'transport.defaultAmdNamespace': "amber-processingJs"
});
require(["amber-ide-starter-dialog"], function (dlg) { dlg.start(); });
amber.globals.PjsSketchContainer._newWidth_height_sketchClass_canvasId_(500, 500, 'ProcessingClock', 'canvas1');
});
</script>
Moving Circles made with <a href="http://processingjs.org">Processing.js</a> and Amber
<p>Examine the <button onClick="amber.globals.Browser._openOn_(amber.globals.ProcessingCircles)">ProcessingCircles class</button></p>
<b>
A Clock made with <a href="http://processingjs.org">Processing.js</a> and Amber
<p>Examine the <button onClick="amber.globals.Browser._openOn_(amber.globals.ProcessingClock)">ProcessingClock class</button></p>
<b>
Vector sample made with <a href="http://processingjs.org">Processing.js</a> and Amber
<p>Examine the <button onClick="amber.globals.Browser._openOn_(amber.globals.ProcessingVector)">ProcessingVector class</button></p>
<b>
</body>
</html>