Published grammar
This page uses the same scene-first presentation as the gallery viewer while also showing the source grammar text.
Start -> R w(3 3)
[ T( 0.5 -0.5 0.5) S(2*w-1 1 2*w+1) I(CubeY shinyGold 1) ]
[ T( w+0.5 -0.5 0.5) S(1 1 2*w-1) I(CubeY shinyGold 1) ]
[ T( -(w-0.5) -0.5 0.5) S(1 1 2*w-1) I(CubeY shinyGold 1) ]
[T( w 0 w) A(90 0) CylinderHole]
[T( w 0 -w) A(90 0) CylinderHole]
[T( -w 0 w) A(90 0) CylinderHole]
[T( -w 0 -w) A(90 0) CylinderHole]
[T(0.5 0 0.5) Border]
Border 4-> A(90 1) [T(w+1 -0.5 0) S(1 1 2*w+1) DSX(1 1 1.3) I(CubeY shinyGold 1) ]
CylinderHole -> [ Loop(0) ] [ T(1.1 1 0) A(180 2) Loop(0) ]
Loop(x)-> T(0.1 0 0)
[ S(0.1 (0.5-sqrt(0.25-(x-0.5)*(x-0.5))) 1)
DSX(1 (0.5-sqrt(0.25-(x-0.5+0.1)*(x-0.5+0.1)))/(0.5-sqrt(0.25-(x-0.5)*(x-0.5))) 1)
I(CubeY shinyGold 1 ) ]
?(x<1-0.11)Loop(x+0.1):End
End ->