BASIC Recursion Program
Richard Ashbery (8349) 42 posts |
Back in 2002 a programmer, Cedric Dent (I’m reminded of Hitchhiker’s Guide to the Galaxy – ahh! no that’s Arthur Dent) created a rather nice graphic program to illustrate recursion. It displays a group of 4 squares with a changing pattern followed by a 4-circle design and then repeated. The original program was designed to run in MODE 8. I’ve changed parameters to operate with 1920 × 1080 resolution (1080p Full HD) monitors giving a great improvement in rendering quality. http://www.riscosbasic.uk/pics/SquCrcle.zip Originally from Gordon Sweet’s site the code was part of a program called BestPatterns. Program has gone full circle, originally created in Acorn BBC BASIC, then converted to run on BBC Four Windows (BB4W) and finally back to RISC OS BASIC. |
Kuemmel (439) 384 posts |
Nice! If you got more of these thingies, more than welcome by me…the good old times when the computer magazines were full with listings of those :-) …and now we got the speed and resolution to bring those a step further… |