Return to Xholon khan computer-science.
All of the code on this page can be edited in place.
Try at ideone.com. Select only those lines from the following scripts that are between the opening and closing <script> tags.
Try at Xholon Chameleon. Select File > Open. Locate the Model > CompositeStructureHierarchy > Chameleon node (chameleon_0) in the tree. Select an entire script, including the opening and closing <script> tags, and drag it on top of the Chameleon node. Or use copy and paste(right-click the Chameleon node and select Edit > Paste Last Child). The result should appear in the Java console.
This page uses CodeMirror.