-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|702|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Showcase Home -> Graphic Demos


 
Andy_A
Created : 02 October 2021
 
System : Windows
Language : BlitzPlus (should work in B3D as well)

Petri Dish



Hi all!

I made a simple little 'Brownian Motion' generator. It started out as a simple code snippet that just grew into a full blown app (feature creep).

You can generate plots, save and load plots as data files, save a .bmp of the plot, and change the colors of the plot. All wrapped up in a GUI. It should run on B3D as well as BlitzPlus (which is what it was written in.

The GUI color theme can be changed in the source code by changing just 1 number on a line which is clearly commented. Yeah, I could have polled for a key press to change the color theme, but I figured once you've decided on a color theme that you like (...or can tolerate), it won't be changed anymore.

I also created an HTML file as a simple guide on how to use or at least what to expect when the program is run.

2021/39/Petri_Dish_(BB) (.zip)

 

Comments


Saturday, 02 October 2021, 17:43
Jayenkai
That's nice!
I wonder if there's any sort of game idea in that?
Saturday, 02 October 2021, 19:33
Andy_A
Maybe...

The old fashioned wheel of fortune/treasure where there are numbers around the circle. Like 1-40 or 1-60. You place a bet on the number where you think the DLA will finish plotting. Since it's a totally random process it would not be predictable. But that's not a very exciting game. But maybe that's good enough for a Shoe Box game. That's all I can think of at the moment.