// I lengthened the shadow to // created an edge/horizon as well as lightening // the shadow to make it more // shadowy and less like a black hole // I've also added some stars to // create a time of day.In the star field // there is a loose box ouline creating a // gaze between the box and the stars. //////////////////////////////////////////// paper 0 // I realize the shadow isn't that realistic // it's fun to watch it draw. // the surface repeat A 0 55 { pen (25+20*A/55) line 0 A 100 A } // Dark sky pen 75 repeat a 100 56 { line 0 a 100 a } // shadow 1 pen 90 repeat A 20 50 { line A 30 90 55 } // shadow 2 repeat A 30 50 { line A 40 90 55 } // shadow 3 repeat A 40 55 { line 55 a 90 55 } //box pen 50 repeat A 20 50 { repeat B 30 60 { line A B (A+10) (B+10) } } // emphasize front line pen 51 line 20 60 50 60 // dark side of cube pen 65 repeat A 30 60 { line 50 A 60 (A+10) } // stars set [5 85] 35 set [17 63] 35 set [25 95] 35 set [97 87] 45 set [80 93] 1 set [80 85] 1 set [41 91] 35 set [72 80] 1 set [72 91] 1 set [7 99] 1 set [29 75] 35 set [59 97] 35 set [72 63] 40 set [89 80] 1 set [88 88] 1 set [79 74] 1