Path: csiph.com!tncsrv06.tnetconsulting.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Richard Ashbery Newsgroups: comp.sys.acorn.programmer Subject: Re: Rotating a Colour-Filled Square Date: Wed, 13 Nov 2019 12:54:00 +0000 (GMT) Organization: None Lines: 33 Message-ID: <58124834ffbasura@invalid.addr.uk> References: <5811cae024basura@invalid.addr.uk> X-Trace: individual.net qvJakpjVEg09QxFCwe0HsgfjuAV21xt0xtUWNBBntUdXjLWPTx X-Orig-Path: uwclub.net!richard.ashbery Cancel-Lock: sha1:Oo7wDFMVLzio5AUJZLnRbuNJzb4= User-Agent: Pluto/3.16 (RISC OS/5.25) NewsHound/v1.52-32 Xref: csiph.com comp.sys.acorn.programmer:5902 In article , Sebastian Barthel wrote: > MODE 1280,960,8 > CLS ORIGIN 1024,1024 S=0.05 > FOR R=0 TO 2*PI STEP S > POINT SIN(R)*300, COS(R)*300 DRAW > SIN(R+1.571)*300,COS(R+1.571)*300 DRAW > SIN(R+3.141)*300,COS(R+3.141)*300 DRAW > SIN(R+4.712)*300,COS(R+4.712)*300 DRAW SIN(R)*300, COS(R)*300 > FILL 0,0 > WAIT : CLS > NEXT > If You want to speed up things, You should use an array with the > precalculated SIN/COS values. > The only real difference to Your lines is the single FILL command. > The effect can't be seen if the MODE command isn't given. Excellent - many thanks Sebastian Richard