MinaCoding2026_RotationalLines
More Rotation, More Lines
Updated
•1 min read
LinearMessages
For MinaCoding2026 Day 15: Rotation, Linearmessages coded in HydraVideoSynth & Processing is an exploration of Lines telling their stories
Video
Code
Processing
void setup()
{
fullScreen();
}
void placement(int rx, int ry, color picking)
{
pushMatrix();
translate(rx, ry);
fill(picking);
rect(0, 0, 90 + sin(second())*rx*3, abs(sin(ry))*36);
popMatrix();
}
void Thickening()
{
//Color Array
color[] picker = { #FFFFFF, #FF00AA, #FFFF00, #FAFAFA, #CFCFCF };
stroke(picker[second()%5]);
int timer = second() % 10;
//different cases
switch(timer) {
case 3:
case 2:
case 1:
strokeWeight(timer * 2);
circle(timer*6,timer*12,timer);
break;
case 6:
case 5:
case 4:
strokeWeight(timer + 7);
default: // Default executes if the case names
strokeWeight(timer + 1);
break;
}
strokeWeight(timer);
}
void draw()
{
frameRate(second()%30 + 5);
background(#000000);
Thickening();
placement(190, 190, #AAB100);
placement(125, 75, #BF25AC);
placement(180, 130, #CCA1B7);
placement(250, 180, #FF01A0);
placement(400, 300, #CA1AFC);
placement(500, 41, #FA1B25);
placement(700, 241, #FAFAFA);
placement(750, 247, #49C00A);
}
HydraVideoSynth
s0.initScreen()
src(s0).repeat(()=> (time % 10 +1)/3,(time % 10 +1)/3).scale([0.5,2,1,2,1,0.5,0.26].smooth()).blend(osc(1,1,1).modulateKaleid(src(s0).kaleid([2,3,4,1,1.5,2.56].smooth())).scale(0.75).repeat([2,3,2,1.5],[2,1.2])).out()



