Latest / Culture, Actually: Entertainment, Art, Books & Ideas / Why Your Code Should Sweat: Generative Art & Humidity | Culture, Actually
Transcript
- I have a confession to make, and it involves me staring at a blinking cursor while my apartment turns into a swamp. It’s not just that I’m sweating; it’s that the code on my screen is sweating with me. Let’s be real for a second. We talk a lot about digital art as if it exists in a vacuum. A pristine, air-conditioned void where pixels behave themselves and algorithms are always polite. But here I am, in my little coastal cottage, watching the humidity spike past eighty percent, feeling my hair frizz into a halo of static electricity, and realizing that my computer doesn’t know how hot and sticky it is outside. Or does it? That was the question that kept me up last night, not because of the heat, but because of the potential. I’ve been tinkering with this idea for weeks now—coding generative art that actually listens to the room. Not just the temperature, which is easy, boring data, but the humidity. The moisture. The weight of the air itself. And honestly? It’s changed the way I look at my screens. Because when you let the code feel the dampness, it stops trying to be perfect. It starts breathing. And isn’t that what we’re all looking for in our art, in our lives? Something that breathes? We tend to think of coding as this hyper-rational, clean, logical pursuit. You write a function, it returns a value. Input, output. No mess. No sweat. But when you start weaving in environmental sensors—simple little devices that measure relative humidity—you introduce chaos. Beautiful, messy, organic chaos. I remember reading an interview with a programmer who said that the best code feels like architecture, not poetry. I disagree. I think the best code feels like weather. When I first started testing these scripts, I wanted the visual output to be sharp, geometric, precise. I wanted it to resist the humidity. I wanted the lines to stay straight even when the air felt thick enough to chew on. But the moment I stopped fighting it, and instead let the moisture dictate the opacity, the flow, the decay of the shapes… everything shifted. The art became softer. It blurred at the edges. It looked like a memory rather than a blueprint. It’s giving… wet, but in a good way. Like rain on a windowpane after a long drought. So, how do you actually do this? It sounds technical, but bear with me. It’s surprisingly simple. You take a standard processing environment—something like p5.js or even Python with Pygame—and you connect it to a sensor. There are cheap ones online, tiny little chips that measure water vapor. You feed that number into your loop. That’s it. But the magic is in the mapping. If you just display the number, it’s boring. It’s a spreadsheet. But if you map that humidity level to the speed of a particle system? Suddenly, the faster the air gets heavy, the slower the particles move. They drag. They struggle. They leave trails behind them. I watched this happen live yesterday. The sun went down, the temperature dropped slightly, but the humidity rose. On my screen, a swarm of golden dots slowed from a frantic dance to a languid drift. It looked like fireflies in a humid summer evening. It looked like longing. I found myself sitting there for an hour, just watching the dots sink, thinking about how much we ignore the atmosphere around us. We live inside the weather, constantly, yet we pretend it has nothing to do with our inner worlds. There’s something uncomfortable about this process, and I mean that in the best possible way. As critics, we love comfort. We love when a film resolves neatly, when a novel ties up every loose thread. But generative art that responds to discomfort—the stickiness, the heaviness, the inability to breathe—forces us to sit with it. One of the most striking pieces I’ve seen uses humidity to control the blur radius of a portrait. When the air is dry, the face is clear, defined, almost cruel in its clarity. But as the humidity rises, the features dissolve. The eyes become smudges. The mouth vanishes. By the time the room hits one hundred percent saturation, the portrait is gone. Just a ghost. It’s haunting. It reminds me of that episode we did a few months back about writing dialogue that actually sounds real. Remember? We talked about how people don’t speak in perfect sentences when they’re stressed or tired. They slur. They lose their shape. This code does the same thing. It loses its precision when the conditions are difficult. And isn’t that true for us too? When life gets heavy, do we hold our form, or do we let ourselves blur a little? Hold that thought. I want to go deeper here. Because this isn’t just about pretty pictures. It’s about presence. In the old days, before screens, artists had to deal with the physicality of their materials. Paint dries differently in winter than in summer. Paper warps when it’s damp. Ink bleeds more on humid days. We lost that connection when we moved to digital. We gained consistency, yes. We lost the soul. By bringing the room back into the code, we’re reclaiming that tactile relationship. I’ve started leaving these projects running overnight. I wake up, and I check the visuals. Sometimes, the storm hit hard around three in the morning, and the screen is a chaotic swirl of indigo and gray. Other times, the air was still and cool, and the image is serene, minimalist, calm. It’s like a diary entry written in light. It makes me feel less alone in my quiet house. It makes me feel like the technology is aware of me, not just observing me, but sharing the space with me. It’s a strange kind of intimacy, coding a response to the air we both breathe. I know some of you might be thinking, 'Tammie, this is nice, but can I eat it?' No, you cannot eat it. But you can let it change how you see your day. I challenge you to try this. You don’t need a degree in computer science. You just need curiosity and maybe a cheap sensor kit from an electronics store. Or even just a website that tracks local weather data, if you’re feeling lazy. Map the rainfall to the color palette. Map the wind speed to the rotation of shapes. Make your art react to the world outside your window. Stop creating in a vacuum. Let the humidity get in there. Let it mess up your perfect lines. Let it make your code sweat. Because when you do, you’ll find that the imperfections are where the beauty lives. The blur is where the emotion hides. The dampness is where the truth is. We spend so much time trying to curate our lives, to filter out the noise, to keep things dry and clean and controlled. But nature is never clean. Nature is messy, wet, and wild. And our art should reflect that. It should smell like rain. It should feel like a hug from someone who knows exactly how heavy your day has been. Take a deep breath. Notice how the air feels right now. Is it heavy? Light? Let that sensation inform whatever you create next. I’ll be here, sweating over my code, waiting to hear what you made. Until then, keep it real, keep it wet, and keep creating. Love you.