Category Archives: Processing

Processing: How to Load All Images in a Sketch Folder

Image Arrays in Processing

Did you know you can create an array of images?! I just learned this. And the really exciting part is that you can rig up Processing to look through your Sketch folder to get the names of images to load into that array.

Continue reading

Advertisements
Tagged , , , , , , , ,

Processing: How to Hide Messages in Static

What Do I Say?

Poltergeist was hands down the scariest movie I saw as a child. It hard coded my brain to associate static on television with sinister messages from the beyond. Now that I’m older,  I’ve come to the realization that static is a great place to hide all kinds of messages (thanks Poltergeist). And Processing is the obvious place to make that happen.

Continue reading

Tagged , , , , , , , , ,

Processing: How to Code a Scrolling Timeline

Time

mouseMoved() never seemed like a particularly useful tool in Processing until I started experimenting with different timeline set-ups. Turns out, it’s marvelous.

Continue reading

Tagged , , , , , , ,

Processing: How to Control Game Screens with Mouse Clicks

Game Logic

Back to my Spanish language Processing project. The original version is scripted to operate as flashcards, but what I really want is a game that’ll keep me more engaged. I’m a millennial with a raging case of undiagnosed ADD. I need game screens.

Continue reading

Tagged , , , , ,

Processing: How to Script Spanish Verbs and Pronouns

A Processing Guide

I’ve been on siesta for about a month now, so today I’m starting a new series. This one is going to be an experiment in building language-learning scripts.

Picking up a second language is really friggin’ hard.  There are apps, but those seem to be tailored for total beginners. I took Spanish in high school, so I remember a lot of the rules. I don’t want to build from the ground up. I want something closer to a crash course. An interactive one.

So I turned to Processing.

Continue reading

Tagged , , , , , , , , , ,

Processing: How to Make Transparent Textures

Alice

After a long vacation, a wedding, a bad flu, and a whole mess of planes, trains, and automobiles, I’m back to talk about textures. I love playing with transparency in scenes, but scripting transclucency is a bit unusual in Processing. The normal Processing canvas doesn’t support an alpha channel, so it requires something called PGraphics().

Continue reading

Tagged , , , , , , , , , ,

Blender: How to Loop an Image Sequence into Textures

Animating Blender Textures With Processing

Animated textures in Blender is a thing! Immediately after finding that out, I set out to script a grid crawler texture in Processing. Because no one in their right mind would want to draw that by hand.

A Bit Of Everything has a post with the logic for a static grid, but somehow getting an animated version ate 3 hours of my life. All in all, it took about 12 tries. What I love  about Processing is that even bad guesses can have pleasing results.

Continue reading

Tagged , , , , , , , , ,