// Welcome to the BrowserSynth editor v 0.1
// You can write some sytructure synth code right here and see the results
// Once you press "Hide Code" you can use the mouse buttons to manipulate the object
// Left button rotates, right moves and wheel zooms.
// Click the 3 lines and you can chose from a couple of examples.
// The share button encodes the current script into the URL line so you can just post
// and the script is included.
// Save enables you to save the current scipt and download it to your computer as a text file.
// At the moment syntax errors are only shown in the javascript console.
{y -3 rx 20 color blue}all
{y -9 z 4 rx -45 color orange}all
//ft stands for twisted frame
// those two are CSG elements
// using CSG speeds up rendering a lot
// and reduces the number of objects
// those 3 elements can be used to create a marble as you can find in the example scripts