|
Forum Index : Microcontroller and PC projects : Sea creatures
| Author | Message | ||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6603 |
I came across some impressive graphics and converted the code to MMBasic The program runs nicely on MMB4W and PC3_Windows. Especially nice on MMB4W at 800x600. On the real hardware things are much slower. 800x600 ![]() ![]() and at 320x240 ![]() There are a few things to change to suit the different devices - around line 30 ''''''''''''''' change these settings ''''''''''''''''' DIM FLOAT imgScale = 3.5 '1 for 800x600 - 3.5 for 320x240 DIM motionTime = 8000 ' mS for each pattern DIM maxpoints = 1000 ' 1000,1500,2000,3000 higher is better if you have the memory DIM useframes = false DIM randomOrder = False DIM clr = 2 ' 2-10. clr >2 will be brighter but less sharp 'mode 2 '1,16 ' 1,16 is good on the CMM2, 2 on the Pico '''''''''''''''''''''''''''''''''''''''''''''''''''''''' 800 lines so in a zip yuruyurau2.zip I don't have a PC3 to try it on and no monitor close at hand for the CMM2 so only tested with MMB4W A Windows exe that this is based on. seacreatures.zip Jim VK7JH MMedit |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |