# Genuary2025_NoRandom

# FlyingConicBuildings

The prompt for **Genuary2025 Day 27** is ***“NoRandomness“,* Day 26** is ***“Symmetry”*** & **Day 20** is **“Generative Architecture”**

FlyingConicBuildings uses LiveCodeLab, P5JS & Hydra to make a mix of Architectural inspired Code with no Randomness. With the audio code being symmetrical in how it is coded in LiveCodeLab.

## Poetry

```ocaml
Glitched Out Buildings
Glitched Out Remnants
Avoiding Structural Stagnant 
With New definition of Ceilings
```

## Video

%[https://youtu.be/rbSFBDpjCjE] 

## Code

### P5js

```javascript
function setup() {
  createCanvas(windowWidth, windowHeight, WEBGL); }

function draw() {
  background(200);
  // Enable orbiting with the mouse.
  orbitControl();
  house('orange','black','white',width/8,width/6,height/2,height/5,12,false,true);
    house('pink','navy','orange',width/8,width/4,height/3,height/6,7,true,false);
     house('black','orange','white',width/6,width/3,height/6,height/12,16,false,false);}

function house(coloring,stroke1,stroke2,width1,width2,height1,height2,detail,tf1,tf2){
   fill(coloring)
  stroke(stroke1)
  cone(width1, height1, detail, detail,tf1);
  stroke(stroke2)
  cone(width2, height2, detail, detail,tf2); }
```

### Hydra

```javascript
s1.initScreen()
src(s1).scale(2).repeat([1,2].smooth(),[2,1].smooth()).scale([0.25,0.5,1,1.25,2].smooth()).diff(s1).scrollY([0.1,-0.1,0.3].smooth()).scrollX([-0.1,0.2,-0.05,-3,0.2,0.15].smooth()).pixelate([5000,50000,500,5,50].smooth(), [50000,5000,500,50,5,50000,100000].smooth()).modulateScale(src(s1).repeat(1.5)).colorama().out(o0)
speed = 0.125
```

### LivecodeLab

```javascript
if time % 15 < 5
	bpm 88
	play 'alienBeep',  '--x- -xx-x --x- -x-x'
	play "pianoRHChord" ,'--x- -x—x-x --x- -x-x'
	play 'beepC',      '-x-x -x-- x--x xxx-'
	play 'beepA',      '--x- x-x- --x- ----'
	play "voltage"  ,'--x- -xx --x- ----'
	play "warm"  ,'--x- -x-x --x- x-x-'
	play 'snap',   '--x- -x--x-- -xx- --x--'



if time % 15 > 10
	bpm 44
	play 'lowFlash',   '--x- --x- -xx- -xx-'
	play "pianoLHChord" ,'x--x--xx-'
	play 'voltage',    'x-x- -x-- x-xx x-xx'
	play 'tranceKick', '-x-x ---x x--- --xx'
	play 'beepC',      '-x-- ---- x--x xxx-'
	play 'beepA',      '--x- --xx-- --x- --xx--'
	play 'snap',   '--x- -x--x-- -xx- --x--'



if time % 15 > 5 && time % 15 < 10
	bpm 66
	play "pianoLDChord" ,'x-x-xx—-x'
	play 'penta',  'x-x- -xx- x  x --x- --x-'
	play 'cosmos', '-x-x ---x x-x  x- --xx'
	play 'penta',  '--x- -xx- x  x --x- --x-'
	play 'beepC',      '-x-- ---- x--x xxx-'
	play 'beepA',      '--x- --xx-- --x- --xx--'
	play 'tense',      'x--x  x --x– x -x-- -x--'
```
