# Mathober2023_Gyrate

For the 25th  Prompt Of Mathober: **Gyrate,**  **GyratingSquares** in ***LiveCodeLab***

The gyration follows the following definition of the word: `“Move or Cause to move in a circle or spiral, especially”`

## Poem

```ocaml
The Squares are Rotating
The Squares are Gyrating
Motivation is Many
Inspiration is Many
For the Squares are Plenty
```

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/jEHS6O9SAds?si=2fDC7W7Caeu-FQlk"></iframe>

## Code

### LiveCodeLab Visuals

```javascript
rotate Math.sqrt(cos(time)),Math.cbrt(tan(time))

if time % 30 > 15
	animationStyle motionBlur
else
	animationStyle paintOver

scale 0.5
17 times
	move 0.2, Math.hypot(0.2,sin(time)/3), 0.2
	box sin(2) * cos(time), Math.cbrt(time % 6)+1
```

### LiveCodeLab Audio

```javascript
if time % 30 > 20
	bpm 125
	play 'alienBeep'  ,'--x- ---x- -o-x- --xx--'
	play "downstairs"  ,'--x- --xx-- --x- --x--'
	play "glass"  ,'--x- -x-- --x- -x--xx-'
	play "hiss" + int(random 2) ,'x--x-o--o-x'
	play "mouth" + int(random 5) ,'x----x'

else
	bpm 60
	play 'alienBeep'  ,'--xx --x- --x- -x-x'
	play "downstairs"  ,'--x- -x-x --x- -x-x-'
	play "glass"  ,'--x- ---- --x- ----'
	play "hiss" + int(random 7) ,'xx-----xx'
	play "mouth" + int(random 14) ,'xxxx----oo-----x-----x'
```
