ä;€šOŠ >>>>>>>>>> 'HOUSE' DRAWS A 3'D HOUSE <<<<<<<<<<<<<< €šO€- 7€ O€ A-Z : € I,J,K : €.€£ORH = 100 : D = 1000 : CX = 320 : CY = 550&€ÓO€ IR = 75 Š 150 Š 25 : RH = IR*€åO € IZ = 4 Š 11 Š 2 : TH = IZ * .16€P € IP = 5 Š 15 Š 2 : € : PH = IP * .1 : €:€-P €1 @(0,0) "VIEW TH="; TH, "PH="; PH, "RH="; RH;$ €jP S1 = †(TH) : C1 = †(TH)$ €ˆP S2 = †(PH) : C2 = †(PH) €¦P Š DATA FOR HOUSE& €¦P N% = 11 : € "VISIBLE LINE"1 €¯P € -11,-20, 23, 6,-20, 9, 6,-20, 01€¯P € 6, 32, 0, 0, 32, 0, 0, 32, 201€¯P € 0, 0, 20, 0, 0, 13, 0, 32, 13%€¯P € 6, 32, 9, 6,-20, 9%€¯P N% = 2 : € "VISIBLE LINE"%€¸P € 6, 32, 0, 6, 32, 9%€¸P N% = 2 : € "VISIBLE LINE"%€ÁP € 6, 0, 0, 6, 0, 9%€ÁP N% = 3 : € "VISIBLE LINE"1€ÊP € 0, 32, 0, 0, 0, 0, 6, 0, 0%€ÊP N% = 5 : € "VISIBLE LINE"2€ÓP € 0, 32, 0,-11.5,32, 0,-11.5,33.5,0'€ÓP €-11.5,33.5,33 ,-11.5,32,33.€ÓP € "HIDDEN LINE": € XP,YP Š XQ,YQ%€Q € -11.5,32,33, -11.5,32,0%€Q € 0,32,20, -14,32,31.5€Q € "HIDDEN LINE 1"&€Q € -14,0,31.5 ,-14,32,31.5.€Q € "HIDDEN LINE": € XP,YP Š XQ,YQ €8Q € 0,0,20, -14,0,31.5"!€8Q € -11,-20,23, -11,0,23%"€8Q N% = 2 : € "VISIBLE LINE"(#€AQ € -11.5,33.5,0, -16.5,33.5,0%$€AQ N% = 2 : € "VISIBLE LINE"*%€JQ € -11.5,33.5,33, -16.5,33.5,33.&€JQ € "HIDDEN LINE": € XP,YP Š XQ,YQ)'€{Q € -16.5,33.5,0, -16.5,33.5,33"(€{Q € -28,32,0, -16.5,32,0)€{Q € "HIDDEN LINE 1""*€~Q € -28,32,20, -14,32,33%+€~Q N% = 2 : € "VISIBLE LINE"!,€‡Q € -28,32,20, -28,32,0-€‡Q € "HIDDEN LINE".€ŠQ € 6,-20,9, 6,32,9/€ŠQ € 0,0,0, 0,0,10<0€ŠQ € I = 1 Š 5 : € "READ STUFF": € "WINDOWS": € I,1€¢Q € 0,5,13.5, 0,14,13.5, 0,23,13.52€¢Q € 0,14,2, 0,23,2@3€¢Q € I = 1 Š 2 : € "READ STUFF": € "GARAGE DOOR": € I 4€ºQ € 6,-11,0, 6,-1.5,0%5€ºQ N% = 4 : € "VISIBLE LINE"6€ÃQ € 0,6,0, 0,6,6.57€ÃQ € 0,9,6.5, 0,9,08€ € X9€Y € IP :€Y € IZ ;€Y€ IR<€Y€=À>€Y"PERSPECTIVE"?€YŠ PERSPECTIVE PROGECTION#@€Y€ "READ STUFF": Š READ X,Y,ZA€Y"PERSPECTIVE 1"B€YXE = 0 - X * S1 + Y * C10C€YYE = 0 - X * C1 * C2 - Y * S1 * C2 + Z * S25D€YZE = 0 - X * S2 * C1 - Y * S2 * S1 - Z * C2 + RHE€YSX% = D * XE / ZE + CXF€YSY% = CY - D * YE / ZEG€Y€HÀI€Y"HIDDEN LINE"J€YŠ HIDDEN LINE ROUTINE*K€Y€ "PERSPECTIVE": XP = SX% : YP = SY%*L€Y€ "PERSPECTIVE": XQ = SX% : YQ = SY%M€Y"HIDDEN LINE 1"*N€Y€ "PERSPECTIVE": XV = SX% : YV = SY%*O€Y€ "PERSPECTIVE": XH = SX% : YH = SY%.P€YV1 = (XH - XV) * .5 : V2 = (YH - YV) * .5%Q€YU1 = XP - XQ : U2 = YP - YQ%R€YXT = XV + V1 : YT = YV + V2S€Y€ I = 2 Š 7ZT€Y VI = †(0. + (U2 * (XV - XQ) - U1 * (YV - YQ)) * (U2 * (XT - XQ) - U1 * (YT - YQ)))!U€Y V1 = V1 * .5 : V2 = V2 *.5,V€Y XT = XT + VI * V1 : YT = YT + VI * V2W€Y€X€Y€ XV,YV Š XT,YTY€Y€ZÀ[€Y"VISIBLE LINE"\€YŠ VISABLE LINE ROUTINE]€Y€ I = 1 Š N%^€Y € "PERSPECTIVE"_€Y € I = 1 Š € SX%, SY%`€Y € Š SX%, SY% a€Y€ Ib€Y€cÀd€Y"WINDOWS"e€YŠ WINDOWS SUBROUTINE$f€Y€ "PERSPECTIVE 1": € SX%, SY%3g€YY = Y + 4 : € "PERSPECTIVE 1": € Š SX%, SY%2h€YZ = Z + 5.5:€ "PERSPECTIVE 1": € Š SX%,SY%2i€YY = Y - 4 : € "PERSPECTIVE 1": € Š SX%,SY%2j€YZ = Z - 5.5:€ "PERSPECTIVE 1": € Š SX%,SY%/k€YY = Y + 2 : € "PERSPECTIVE 1": € SX%,SY%2l€YZ = Z + 5.5:€ "PERSPECTIVE 1": € Š SX%,SY%>m€YY = Y - 2 : Z = Z - 2.75 : € "PERSPECTIVE 1": € SX%,SY%2n€YY = Y + 4 : € "PERSPECTIVE 1": € Š SX%,SY%o€Y€pÀ)q€Y"GARAGE DOOR" Š GARAGE DOOR ROUTINE#r€Y€ "PERSPECTIVE 1": € SX%,SY%2s€YZ = Z + 7 : € "PERSPECTIVE 1": € Š SX%,SY%2t€YY = Y - 7.5:€ "PERSPECTIVE 1": € Š SX%,SY%2u€YZ = Z - 7 : € "PERSPECTIVE 1": € Š SX%,SY%;v€YZ = Z + 5 : Y = Y + 1 : € "PERSPECTIVE 1": € SX%,SY%2w€YZ = Z + 1 : € "PERSPECTIVE 1": € Š SX%,SY%2x€YY = Y + 5.5:€ "PERSPECTIVE 1": € Š SX%,SY%2y€YZ = Z - 1 : € "PERSPECTIVE 1": € Š SX%,SY%2z€YY = Y - 5.5:€ "PERSPECTIVE 1": € Š SX%,SY%{€Y€|À}€Y"READ STUFF" ~€Y€ X,Y,Z€Y€ÿÿ