# Genuary2023_Minimalism

### **The prompt for Genuary2023 Day 30 is**

## "Minimalism"

For Today's prompt, the piece is named ***Under280***

* The audio and visual codebases are under 280 characters in their respective environment
    
* The visual code is interactive as the mouse controls the pixelation seen on the screen via **Hydra**
    
* The audio code contains three functions that have various bpm via **SonicPi**
    

<iframe width="560" height="315" src="https://www.youtube.com/embed/PUvREmCs_gY"></iframe>

### **Poem**

***Simplicity  
Isn’t about negating Velocity  
It is about taking the time  
To roam around your vicinity  
And controlling the output intensity  
Before you take those steps to fly***

### **Hydra Code**

```javascript
osc([4,3,2,3,4],1.978,1)
	.luma([0.5,0.3,0.1].smooth())
	.modulateScale(voronoi(1,1,2)
		.scale(()=>mouse.y/mouse.x+1))
	.modulateKaleid(noise(3, 1, 1).scroll(()=>Math.sin(time/3)),2)
	.kaleid([4, 3, 5, 3, 4].smooth())
	.pixelate(()=>mouse.y+1,()=>mouse.x+1)
	.out()

speed = 0.1
```

### **SonicPi Code**

```ruby
def tweet(bpm)
  live_loop :a do
    with_fx [:ixi_techno,:gverb].tick do
      use_bpm bpm
      play dice(bpm*2)
      sample [:misc_crow,:misc_burp,:perc_snap].choose,beat_stretch: dice(3),decay: 4,sustain: 8
      sleep [0.25,0.5].choose
    end
  end
end

tweet(5)
tweet(9)
tweet(40)
```
