f79b8545-bafc-47b2-a3bb-1f0954d4bd98~2.333333,3.666667,3.666667,71.92997,71.92997,71.92997,1,1,1~~smart|False|None|None|None|||Spot1|||||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~3.554376,0.5004988,5.483645,0,0,0,1,1,1~~smart|False|None|None_DoOnce|None|||zprim_Cube(Clone)||||//\ Define\ dictionaries\ for\ hexadecimal\ conversion\nr\ =\ \{0:0,\ 1:1,\ 2:2,\ 3:3,\ 4:4,\ 5:5,\ 6:6,\ 7:7,\ 8:8,\ 9:9,\ 10:"A",\ 11:"B",\ 12:"C",\ 13:"D",\ 14:"E",\ 15:"F"}\n\n//\ Loop\ to\ create\ and\ manipulate\ a\ light\ object\nwhile\ time\ <\ 20\n\ \ \ \ //\ Generate\ random\ values\ for\ timing\ and\ color\ components\n\ \ \ \ z\ =\ round\(rnd\+20\)\n\ \ \ \ k\ =\ round\(rnd\*15\)\n\ \ \ \ l\ =\ round\(rnd\*15\)\n\ \ \ \ m\ =\ round\(rnd\*15\)\n\ \ \ \ n\ =\ round\(rnd\*15\)\n\ \ \ \ o\ =\ round\(rnd\*15\)\n\ \ \ \ p\ =\ round\(rnd\*15\)\n\ \ \ \ \n\ \ \ \ //\ Construct\ a\ hexadecimal\ color\ code\n\ \ \ \ color\ =\ "\#"\ \+\ r\[k]\+r\[l]\+r\[m]\+r\[n]\+r\[o]\+r\[p]\n\n\ \ \ \ //\ Set\ the\ light\ object\ with\ the\ generated\ color\ and\ other\ properties\n\ \ \ \ setLightObject\ "Spot1",\ color,\ rnd\ \+\ 1,\ "soft",\ rnd\n\ \ \ \ \n\ \ \ \ //\ Rotate\ the\ light\ object\ over\ time\n\ \ \ \ rotateObject\ "Spot1",\ time\*100,\ time\*100,\ time\*100\n\ \ \ \ \n\ \ \ \ //\ Move\ the\ light\ object\ to\ a\ new\ position\n\ \ \ \ moveObject\ "Spot1",\ k/3,\ l/3,\ m/3\n\ \ \ \ \n\ \ \ \ //\ Wait\ for\ a\ short\ duration\ before\ the\ next\ iteration\n\ \ \ \ wait\ z/10\nend\ while|;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~7.338156,2,3.947879,0,110,0,3.555556,2,0.001~~smart|True|None|None|None|||Image2|||||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~4.736161,2,13.21754,0,20,0,3.555556,2,0.001~~smart|True|None|None|None|||Image3|||||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~-3.338156,2,8.052121,0,110,0,3.555556,2,0.001~~smart|True|None|None|None|||Image1|||||;142efd61-d7fd-4da0-9dfd-1a6520950dcb~2.940851,2.992949,4.163166,0,0,0,1,1,1~~smart|True|None|None_DoOnce|None|||Point1||||setLightObject\ "Point1",\ "\#FDFDB3",\ 2,\ "soft",\ 0\.4|;142efd61-d7fd-4da0-9dfd-1a6520950dcb~-3.63926,1.366063,-1.294537,0,0,0,1,1,1~~smart|True|None|None_DoOnce|None|||Point2||||setLightObject\ "Point2",\ "\#FDFDB3",\ 2,\ "soft",\ 1|;142efd61-d7fd-4da0-9dfd-1a6520950dcb~0.2801,1.052889,0.4068233,0,0,0,1,1,1~~smart|True|None|None|None||||||||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~1,1.04,1,0,0,0,1,1.04,1~~smart|True|None|None_DoOnce|None|||Cube1||||object\ =\ "Cube1"\nx\ =\ 1\ny\ =\ 1\nz\ =\ 1\nstep\ =\ 0\.06\nwhile\ time\ <\ 20\n\ \ \ \ for\ i\ in\ range\(x,\ x\+1,\ step\)\n\ \ \ \ \ \ \ \ moveObject\ object,\ i,\ y,\ z\n\ \ \ \ \ \ \ \ scaleObject\ object,\ i,\ y,\ z\n\ \ \ \ \ \ \ \ wait\ 0\.01\n\ \ \ \ end\ for\n\ \ \ \ for\ i\ in\ range\(y,\ y\+1,\ step\)\n\ \ \ \ \ \ \ \ moveObject\ object,\ x\+1,\ i,\ z\n\ \ \ \ \ \ \ \ scaleObject\ object,\ x\+1,\ i,\ z\n\ \ \ \ \ \ \ \ wait\ 0\.01\n\ \ \ \ end\ for\n\ \ \ \ for\ i\ in\ range\(x\+1,\ x,\ -step\)\n\ \ \ \ \ \ \ \ moveObject\ object,\ i,\ y\+1,\ z\n\ \ \ \ \ \ \ \ scaleObject\ object,\ i,\ y\ \+\ 1,\ z\n\ \ \ \ \ \ \ \ wait\ 0\.01\n\ \ \ \ end\ for\n\ \ \ \ for\ i\ in\ range\(y\+1,\ y,\ -step\)\n\ \ \ \ \ \ \ \ moveObject\ object,\ x,\ i,\ z\n\ \ \ \ \ \ \ \ scaleObject\ object,\ x,\ i,\ z\n\ \ \ \ \ \ \ \ wait\ 0\.01\n\ \ \ \ end\ for\nend\ while|;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~-2,2,-2,20.00001,20,340,1,1,1~~smart|True|None|None_DoOnce|None|||Cube2||||object\ =\ "Cube2"\nx\ =\ -3\ny\ =\ 2\nz\ =\ -2\namplitude\ =\ 1\nwhile\ time\ <\ 20\n\ \ \ \ for\ i\ in\ range\(0,\ 360,\ 1\)\n\ \ \ \ \ \ \ \ angle\ =\ i\ \*\ pi\ /\ 180\n\ \ \ \ \ \ \ \ newX\ =\ x\ \+\ amplitude\ \*\ cos\(angle\)\n\ \ \ \ \ \ \ \ newY\ =\ y\ \+\ amplitude\ \*\ sin\(angle\)\n\ \ \ \ \ \ \ \ moveObject\ object,\ newX,\ newY,\ z\n\ \ \ \ \ \ \ \ rotateObject\ object,\ newX\*100,\ newY\*100,\ z\*100\n\ \ \ \ \ \ \ \ wait\ 0\.01\n\ \ \ \ end\ for\nend\ while\n|;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~2,0,6,0,20,0,12,0.001,16~~smart|True|None|None|None|8||Floor1||8|||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~-8.937952,2,2,0,90,0,8,4,0.1~~smart|True|None|None_DoOnce|None|8||Wall1||8||length\ =\ 16\nwidth\ =\ 12\nheight\ =\ 4\nthickness\ =\ 0\.1\nbaseheight\ =\ 0\.15\nbasedepth\ =\ 0\.2\npositionx\ =\ 2\npositiony\ =\ 0\npositionz\ =\ 6\nrotationx\ =\ 0\nrotationy\ =\ 20\nrotationz\ =\ 0\n\nobject1\ =\ "Floor1"\nobject2\ =\ "Wall1a"\nobject3\ =\ "Wall1b"\nobject4\ =\ "Wall1c"\nobject5\ =\ "Image1"\nobject6\ =\ "Image2"\nobject7\ =\ "Image3"\n\n//\ define\ a\ constant\ for\ the\ rotation\ angle\ in\ radians\nangle\ =\ rotationy\ \*\ pi\ /\ 180\n//\ precompute\ the\ cosine\ and\ sine\ of\ the\ angle\ncos\ =\ cos\(angle\)\nsin\ =\ sin\(angle\)\n\n//\ calculate\ the\ distance\ between\ the\ center\ of\ the\ floor\ and\ the\ center\ of\ the\ wall\ndistance\ =\ width\ /\ 2\ndistance2\ =\ length\ /\ 2\n//\ calculate\ the\ displacement\ in\ x\ and\ z\ direction\ndx\ =\ distance\ \*\ cos\ndz\ =\ distance\ \*\ sin\ndx2\ =\ distance2\ \*\ sin\ndz2\ =\ distance2\ \*\ cos\n//\ calculate\ the\ position\ of\ the\ wall\nwallx\ =\ positionx\ \nwally\ =\ positiony\ \+\ height\ /\ 2\nwallz\ =\ positionz\ \n\nmoveObject\ object1,\ positionx,\ positiony,\ positionz\nrotateObject\ object1,\ rotationx,\ rotationy,\ rotationz\nscaleObject\ object1,\ width,\ 0\.001,\ length\n\nmoveObject\ object2,\ wallx\ -\ dx,\ wally,\ wallz\ \+\ dz\nrotateObject\ object2,\ rotationx,\ rotationy\ \+\ 90,\ rotationz\nscaleObject\ object2,\ length,\ height,\ thickness\n\nmoveObject\ object5,\ wallx\ -\ dx\ \+\ thickness\ \*\ 3,\ wally,\ wallz\ \+\ dz\nrotateObject\ object5,\ rotationx,\ rotationy\ \+\ 90,\ rotationz\nscaleObject\ object5,\ \(height\ /\ 2\)\ \*\ \(16/9\)\ ,\ height\ /\ 2,\ 0\.001\n\nmoveObject\ object3,\ wallx\ \+\ dx,\ wally,\ wallz\ -\ dz\nrotateObject\ object3,\ rotationx,\ rotationy\ \+\ 90,\ rotationz\nscaleObject\ object3,\ length,\ height,\ thickness\n\n\nmoveObject\ object6,\ wallx\ \+\ dx\ -\ thickness\ \*\ 3\ ,\ wally,\ wallz\ -\ dz\nrotateObject\ object6,\ rotationx,\ rotationy\ \+\ 90,\ rotationz\nscaleObject\ object6,\ \(height\ /\ 2\)\ \*\ \(16/9\)\ ,\ height\ /\ 2,\ 0\.001\n\nmoveObject\ object4,\ wallx\ \+\ dx2,\ wally,\ wallz\ \+\ dz2\nrotateObject\ object4,\ rotationx,\ rotationy,\ rotationz\nscaleObject\ object4,\ width,\ height,\ thickness\n\nmoveObject\ object7,\ wallx\ \+\ dx2,\ wally,\ wallz\ \+\ dz2\ -\ thickness\ \*\ 3\nrotateObject\ object7,\ rotationx,\ rotationy,\ rotationz\nscaleObject\ object7,\ \(height\ /\ 2\)\ \*\ \(16/9\)\ ,\ height\ /\ 2,\ 0\.001\n|;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~-3.638156,2,8.052121,0,110,0,16,4,0.1~~smart|True|None|None|None|||Wall1a|||||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~7.638156,2,3.947879,0,110,0,16,4,0.1~~smart|True|None|None|None|||Wall1b|||||;bfaed1ac-f1f1-49dd-8bc3-431b3d1f1731~4.736161,2,13.51754,0,20,0,12,4,0.1~~smart|True|None|None|None|||Wall1c|||||;^0,0.354315,0^0,180,0^5^^false,,^^0,3,0,275.1433,176.0932,4.245121^false||||^false||^unlocked|