Skip to main content

Command Palette

Search for a command to run...

MinaCoding2026_RotationalLines

More Rotation, More Lines

Updated
1 min read
MinaCoding2026_RotationalLines

LinearMessages

For MinaCoding2026 Day 15: Rotation,  Linearmessages coded in HydraVideoSynth & Processing is an exploration of Lines telling their stories

Video

https://youtu.be/4vgfVMZxlKI

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()

Minacoding2026

Part 32 of 32

Submissions for MinaCoding 2025: https://minacoding.online/theme

Start from the beginning

MinaCoding2026_Circle

Starting this Journey Again

More from this blog