Difference between revisions of "Server-monitor.as"
From Organic Design wiki
(reorder) |
(remove duplicate code) |
||
Line 6: | Line 6: | ||
#include "bar-graph.as" | #include "bar-graph.as" | ||
− | + | createSymbol( this, 'barGraph', 'myGraph', 0 ); | |
− | + | function reduce() { | |
− | + | myGraph.rotate( Math.sin( ++x/10 ) * height / 3 + height / 2 ); | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 05:41, 27 March 2006
- include "debug.as"
echo( 'Begin: Hello world!', 'ff0000' );
- include "peer-socket.as"
- include "bar-graph.as"
createSymbol( this, 'barGraph', 'myGraph', 0 );
function reduce() {
myGraph.rotate( Math.sin( ++x/10 ) * height / 3 + height / 2 ); }