Difference between revisions of "3D Space Example.as"

From Organic Design wiki
m
 
Line 1: Line 1:
 
{{legacy}}
 
{{legacy}}
<as>
+
<source lang="js">
 
Mouse.hide();
 
Mouse.hide();
 
#include "space.as"
 
#include "space.as"
Line 10: Line 10:
 
// Test object
 
// Test object
 
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );
 
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );
</as>
+
</source>

Latest revision as of 13:19, 6 August 2024

Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, now this page is for historic record only.
Mouse.hide();
#include "space.as"

// Instantiate a new 3D-space
// - extends createEmptyMovieClip( name, layer )
createSymbol( _root, 'space', 'mySpace', 0 );

// Test object
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );