Plotting pixels directly to screen

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ngc2394
    New Member
    • May 2020
    • 1

    Plotting pixels directly to screen

    I have a need to plot pixels directly to screen in real time to create an image from iterated chaotic functions using Python. I don't want to fill an array and save to a file and then show the image instantly. I want to see the image build up pixel by pixel over time, in the order that the function prescribes. If anything I would probably want to slow down the build up of the image. 25 years ago I used Quickbasic 4.5. This old language had a function "pset(x, y), color" which did exactly what I want to do. I could run that function within a loop to plot a pixel on each iteration of the function in time order. When using older computers even at full speed, these functions would gradually build up an image on screen over several minutes or sometimes far longer, allowing the often fascinating manner in which the image came together over time to be experienced. This is an aspect that is completely lost when plotting into an array and then instantly bringing the completed image to screen.

    What plotting functions are available to achieve this in Python?
Working...