itch.io is community of indie game creators and players

Devlogs

Week 9 - Hydra and P5Live

THIS WEEK we have been tasked with making unique visuals (2) using either Hydra or P5.live, or both. It’s the first step we need to take in becoming an algorave PRO! I quite prefer hydra at the moment, so I’ll be using it for the first few visuals–I’ll probably make quite a few since they’re simple and quick to do.

s0.initCam()
s1.initScreen()
src(s1).invert().blend(s0).rotate(1, 0.05).kaleid(5, 2).out(o0)
noise(100, 1).color(0, 1, 0).mult(osc(1250,0.1,0.01)).out(o0)

Another simple line but quite a cool look. I think I’ll go for something a little more sophisticated next.

gradient([0.01, 2, 0.5])
.rotate(5, 3, 5).mask(voronoi(20, 2, 10))
.colorama(0)
.invert()
.modulateScale(o0)
.modulateScale(o0,3)
.blend(o0)
.blend(o0)
.blend(o0)
.blend(o0)
.blend(o0)
.blend(o0)
.out(o0)

I changed everything about the original code, however, kept the modulateScale’s (changed the values) and the blends (added a few more to the stack) to create this piece. I think the final result is super nice to look at, and definitely not as crazy as the stuff I was making earlier in class. That was all an epileptic’s nightmare.

I’D LIKE to make one more piece in Hydra before moving on to P5.live

shape(8,1,2).mult(voronoi(10000,1).blend(o0).luma()).mult(osc(6, 5, 30))
.blend(o0)
.mult(noise(2, 3))
.invert()
.blend(o0)
.modulateRepeat(noise(2,3), 5, 5, 1, 1)
.rotate(0.1, 0.2)
.blend(o0)
.modulatePixelate(noise(25,1),200)
.blend(o0)
.out(o0)

I quite like it.

P5 LIVE TIME!!

Download Drawing, Moving and Seeing with Code - Spring 2025
Read comments (1)