Author Topic: Pixel People (WIP)  (Read 4824 times)

0 Members and 1 Guest are viewing this topic.

Offline Basic_Bill

  • Newbie
  • Posts: 5
  • I do not know what I'm doing!
    • View Profile
Pixel People (WIP)
« 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?)



* pp v1.bas (Filesize: 2.96 KB, Downloads: 162)
« Last Edit: July 07, 2019, 05:51:56 am by Basic_Bill »
Please, help me be a better coder. Donate your knowledge today!

Offline Basic_Bill

  • Newbie
  • Posts: 5
  • I do not know what I'm doing!
    • View Profile
Re: Pixel People (WIP)
« Reply #1 on: July 07, 2019, 05:58:44 am »
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 :)
Please, help me be a better coder. Donate your knowledge today!

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: Pixel People (WIP)
« Reply #2 on: July 07, 2019, 07:06:29 am »
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:

Code: QB64: [Select]
  1. INPUT "groups:       ", nsp
  2. INPUT "pixels/group: ", rc
  3.  

It's cryptic being presented with an input cursor and no idea what you're entering.
« Last Edit: July 07, 2019, 07:18:24 am by OldMoses »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Pixel People (WIP)
« Reply #3 on: July 07, 2019, 07:31:07 am »
5 groups and 500 pixels: 35 to 37 per second
12 groups and 1000 pixels: 17 to 18 per second
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Pixel People (WIP)
« Reply #4 on: July 07, 2019, 09:50:56 am »
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?

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Pixel People (WIP)
« Reply #5 on: July 07, 2019, 12:00:57 pm »
at about 8000 cycles with many major aggregates
500---> 198 per second
1200---> 102 per second
on Toshiba Celeron 1000M @ 180Ghz 4GB Ram
Programming isn't difficult, only it's  consuming time and coffee

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Re: Pixel People (WIP)
« Reply #6 on: July 07, 2019, 01:10:16 pm »
5g / 500pix ---->  147
12g / 1000 pix ->  70
10g / 100 pix -->   700

Offline Basic_Bill

  • Newbie
  • Posts: 5
  • I do not know what I'm doing!
    • View Profile
Re: Pixel People (WIP)
« Reply #7 on: July 07, 2019, 03:08:44 pm »
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
Please, help me be a better coder. Donate your knowledge today!

Offline euklides

  • Forum Regular
  • Posts: 128
    • View Profile
Re: Pixel People (WIP)
« Reply #8 on: July 24, 2019, 03:40:18 am »
5 groups and 500 pixels: 265-270 per second
12 groups and 1000 pixels: 135 per second
ASUS GL753
Why not yes ?