Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Penrose Tiling Program for CMM2
Author | Message | ||||
William Leue Guru Joined: 03/07/2020 Location: United StatesPosts: 393 |
I wrote this some time ago but it needed cleaning up, which I finally got done. You can generate Penrose P2 tilings starting from any of the 7 unique vertices, and choose a tile size and color scheme. Enjoy! -Bill Penrose.zip |
||||
Malibu Senior Member Joined: 07/07/2018 Location: AustraliaPosts: 228 |
Nicely done, and Roger Penrose is one smart cookie... Here's a good video on the tiles Veritasium - Penrose Tiles John |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4223 |
Hi Bill, Did you try to run this at MMB4W, or only on CMM2 ? It does not work immediatly on MMB4W , I may have to debug... Volhout PicomiteVGA PETSCII ROBOTS |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
For MMB4W the main problem is detecting ENTER In MMB4W the enter key returns LF not CR although that might vary from PC to PC. To make it run, I added const LINEFEED = 10 and CASE ENTER, LINEFEED to the startscreen sub. There are a few font sizes and MODE choices to make but with that one change, it does run on MMB4W Jim VK7JH MMedit MMBasic Help |
||||
William Leue Guru Joined: 03/07/2020 Location: United StatesPosts: 393 |
Thanks, Jim! I do my best to make sure my programs run correctly on the CMM2. I do not test for running on any other hardware, sorry. I don't own the hardware to test it on, and I don't really have the time. However, I am always glad when somebody takes up the porting job. I try to make my code easy to port with liberal use of constants, comments, and in general good structuring. -Bill |
||||
Print this page |