QB64.org Forum
Active Forums => Programs => Topic started by: Basic_Bill on July 07, 2019, 05:48:14 am
-
Pixel People love hanging out with other Pixel People but kinda prefer their own kind.
All comments welcome!
Enter # of groups (max 12)
Enter pixels per group (max 1000?)
-
If you try this demo, please enter 5 groups and 500 pixels each group and let me know what your cycles/second is.
I'm curious how slow my PC really is :)
-
Pixel People must be punks, they all got into little mosh pits. ;)
It started briefly in the 700s and dropped quickly to the low to mid 300s. I didn't wait for a conclusion, if there is one, but by the time the colors were largely consolidated into homogeneous groups with a small number still zipping around, my cps were down around 257ish
May I suggest adding this:
INPUT "pixels/group: ", rc
It's cryptic being presented with an input cursor and no idea what you're entering.
-
5 groups and 500 pixels: 35 to 37 per second
12 groups and 1000 pixels: 17 to 18 per second
-
Hi Basic_Bill
I second OldMoses comment, more explanation would be appreciated for those running your code cold.
My system results to Input of 5,500: Quickly drops to around 350 and then drifts down from there.
Interesting activity, how congregations disintegrate outside center area.
Have you tried smaller boards for quicker end results, stabilization, if any?
-
at about 8000 cycles with many major aggregates
500---> 198 per second
1200---> 102 per second
on Toshiba Celeron 1000M @ 180Ghz 4GB Ram
-
5g / 500pix ----> 147
12g / 1000 pix -> 70
10g / 100 pix --> 700
-
Awesome! Thanks guys for the data and the tips.
I'm now adding some purpose (besides hanging out) and a life span to the pixels.
Here's some of mine speeds. Note that cycle speed is just for reference, not for any purpose.
12/1000 -150
5/500 - 290
10/100 - 1340
I'm on an old i5 quad core @ 3ghz
-
5 groups and 500 pixels: 265-270 per second
12 groups and 1000 pixels: 135 per second
ASUS GL753