Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pixel life
#7
slapped this after updatgen in the main loop and it has an interesting effect. 

Code: (Select All)
    mutation = Int(Rnd * 100)
    Select Case mutation
        Case Is < 10
            PSet (xmax \ 2, ymax \ 2), klr
        Case 10, 11
            Circle (xmax \ 2, ymax \ 2), Int(2 + Rnd * 10), klr
        Case 12
            dx = (1 + Rnd * 12)
            Line (xmax \ 2 - dx, ymax \ 2 - dx)-(xmax \ 2 + dx, ymax \ 2 + dx), klr, B
    End Select
Reply


Messages In This Thread
Pixel life - by James D Jarvis - 10-15-2023, 04:11 PM
RE: Pixel life - by bplus - 10-15-2023, 04:30 PM
RE: Pixel life - by James D Jarvis - 10-15-2023, 04:51 PM
RE: Pixel life - by bplus - 10-15-2023, 05:00 PM
RE: Pixel life - by James D Jarvis - 10-15-2023, 06:01 PM
RE: Pixel life - by bplus - 10-15-2023, 10:20 PM
RE: Pixel life - by James D Jarvis - 10-15-2023, 10:51 PM
RE: Pixel life - by bplus - 10-16-2023, 12:20 AM
RE: Pixel life - by James D Jarvis - 10-17-2023, 12:25 AM
RE: Pixel life - by James D Jarvis - 10-17-2023, 12:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Game of life Unseen Machine 18 984 01-09-2026, 03:45 PM
Last Post: ahenry3068
  Simple text pixel data to array demo Unseen Machine 5 642 09-12-2025, 05:30 PM
Last Post: bplus
  Game of Life again but by way of Parallelism bplus 2 923 02-25-2024, 07:46 AM
Last Post: Pete
  3D rendering of Game of Life by ubi44 bplus 3 1,284 02-16-2024, 02:50 AM
Last Post: bplus
  Pixel Collision apps bplus 9 1,798 03-16-2023, 08:28 AM
Last Post: aurel

Forum Jump:


Users browsing this thread: 1 Guest(s)