Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:44 12 Sep 2026 Privacy Policy
Jump to

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 : Sea creatures

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6603
Posted: 08:15am 12 Sep 2026
Copy link to clipboard 
Print this post

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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026