Processing playtime

Jan 25, 2009 03:19

I had a play around with some code meico  posted recently, and ended up downloaded Context Free to try a few more ideas out. Which then got me in the mood for trying out Processing. It reminds me of the time I used to write code with AMOS Basic on the Amiga in the early nineties, because it was enjoyable and easy to get into. My friend John and I used to compete to create interesting code, whether it be fractals, 3D stuff, image processing, rendering animations, or copying nice effects we'd seen in the amiga demoscene.

I never quite managed to keep a copy of all the source code, and I'm kicking myself over it now. What I do remember though was one simple effect my friend came up with, so as a quick test, I've ported that to Processing.

Scrolling fractal triangle.

This port I've written runs through each pixel applying bitwise XOR and shifting the result along. If we were doing the same in AMOS at the time, it would never have been realtime. Fortunately, we could do graphic operations with the blitter chip to 'XOR copy' a whole line in one go so it ran just as fast. I wonder if there are more efficient ways (like blits) to do this in Processing.

Must go back to bed ... might be able to sleep now.

pretty stuff, programming

Previous post Next post
Up