Processing: How to Hide Messages in Images

Can you spot the difference?

Alright, take a look at the two versions of Starry Night above. They look the same, right?

WRONG.

There’s a Shel Silverstein poem in one of them. It’s chilling out in the different red values of the pixels in the upper left hand corner on the second Starry Night. I love this method of hiding messages.

If you convert letters into numbers, you can use those to make pixel color changes that are pretty darn subtle. Then when you send your encoded image to anyone with the original, they can use Processing to pull the message out.

Continue reading “Processing: How to Hide Messages in Images”

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 “Processing: How to Script Spanish Verbs and Pronouns”

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 “Blender: How to Loop an Image Sequence into Textures”

Processing: How to Randomize Textures

TheHallCompressed

Scenes with custom textures always seem to turn out better for me, but they’re hellish to make. I’ve spent hours in GIMP hand-drawing patterns, carefully testing out layers to get  effects. It’s a hassle.

However, I’m learning to automate more of that sort of thing with Processing. What’s really nice about that is you can get a texture that changes subtly every time you run the script if you use the Random function to assign coordinates, weights, and transparency values.

Continue reading “Processing: How to Randomize Textures”