Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pretty Pixel-level Picture Painting, Programmatically

My mac laptop has 1,024,000 pixels. What's the simplest way to turn my display completely black and go nuts with writing little programs to twiddle pixels to my heart's delight?

To make it more concrete, say I wanted to implement the Chaos Game to draw a Sierpinski triangle, at the pixel level, with nothing else on the screen. What are ways to do that?

like image 813
dreeves Avatar asked Jun 15 '10 20:06

dreeves


3 Answers

Perhaps pick Processing

like image 144
High Performance Mark Avatar answered Oct 18 '22 01:10

High Performance Mark


Create Quartz in your Captured Console

like image 2
kubi Avatar answered Oct 18 '22 00:10

kubi


Surely a Screen Saver would be a Serendipitous Solution ?

One approach would be to download sample code for a screen saver module and then then use that as a template for your own screen saver. That way you don't have to write much beyond the actual drawing code, and you get your own custom screen saver module to boot.

like image 2
Paul R Avatar answered Oct 17 '22 23:10

Paul R