# MinaCoding2023_Human_Imagination

# JuneImagination

Below are some of the equations in ***TixyLand and SonicPi*** that were done during The **MinaCoding** prompt: **Human**

The First of the Seven Sketches for the **Human.** With the first being: **Imagination**

**JuneImagination** takes mathematical equations in TixyLand and tries to imagine a world in which these dots represent humans and the different thought patterns that emerge.

It can be considered a speculative design/visualization of human imagination if it followed a mathematical formulation.

Overlayed in the video to represent the multiple trajectories of imagination that are Possible

## **Video**

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

## Poetry

```ocaml
Expansion of the Imagination
As the patterns derived
May not be the ones wanted by the mind
But for the time that it has been exposed
To the realm of the world
It shall engage its whirls
As it too, has a tale to be told
```

## Code

### TixyLand

```javascript
tan(cbrt(y)+t/x)*sqrt((t*y)/x)
```

<iframe width="400" height="400" src="https://tixy.land/?code=tan%28cbrt%28y%29%2Bt%2Fx%29*sqrt%28%28t*y%29%2Fx%29">
</iframe>

```javascript
sin(cbrt(y)+t/x)/sqrt((i*y)/x)+cos(t)
```

<iframe width="400" height="400" src="https://tixy.land/?code=sin%28cbrt%28y%29%2Bt%2Fx%29%2Fsqrt%28%28i*y%29%2Fx%29%2Bcos%28t%29">
</iframe>

```javascript
sinh(cbrt(t)+t/i)/sqrt((pow(i,sin(t)*y)/x +cos(t)))
```

<iframe width="400" height="400" src="https://tixy.land/?code=sinh%28cbrt%28t%29%2Bt%2Fi%29%2Fsqrt%28%28pow%28i%2Csin%28t%29*y%29%2Fx+%2Bcos%28t%29%29%29">
</iframe>

### SonicPi

```ruby
with_fx :flanger, mix: 0.4 do
  with_fx :whammy, mix: rrand(0.1,0.3) do
    with_fx :pitch_shift, mix: 0.2 do
      use_bpm 120
      live_loop :r_dab808 do
        # first play thru
        sample :perc_snap if spread(17,24).tick
        
        #second play thru
        sample :guit_e_fifths if spread(11,12).tick
        sample 'C:/SonicPi/Reske_Sample.wav', beat_stretch: 7 if spread(17,24).tick
        #sample :guit_em9, beat_stretch: 11 if spread(11,14).tick
        sleep [0.5,2,4,8,16,24].choose
      end
    end
  end
end


with_fx :reverb, mix: 0.4 do
  with_fx :ixi_techno, mix: rrand(0.1,0.3) do
    use_bpm 120
    live_loop :r_dab808 do
      sample :drum_bass_hard, beat_stretch: 4 if spread(17,24).tick
      sample 'C:/SonicPi/Reske_Sample.wav' if spread(7,12).tick
      #sample :guit_em9, beat_stretch: 11 if spread(11,14).tick
      sleep [1,2,4,8,16].choose
    end
  end
end
```
