# WCCC_Glyphs

# **MotionOfGlyphs**

For this week's Creative Code challenge by @sableRaph: *“Glyphs”,* **MotionOfGlyphs** lets a few glyphs roam as they figure where they will be placed**.** Coded with ***Locomotion,*** ***SonicPi & HydraVideoSynth*** with additional digital art techniques.

## Poetry

```javascript
The What Ifs
Is echoed
In the visuals
Of these Glyphs
As they grip our attention
Bring allure and suspension
Into the what ifs
Of these Glyphs
And their rituals
That followed
```

## Video

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

##   
Code

### HydraVideoSynth

```javascript
s0.initScreen()

osc(2,1,0.3).blend(src(s0).pixelate(125,125)).out()

//--------------------------------

s0.initScreen()

osc(2,1,0.3).blend(src(s0).pixelate(125,125).rotate(0.5).scale([1,2,0.5,0.25].smooth())).out()
speed = 0.125

//-------------------------


s0.initScreen()

osc(2,1,0.3).blend(src(s0).rotate(0.5).scale([1,2,0.5,0.25].smooth())).out()
speed = 0.125

//------------------------------/
```

### Locomotion

**Glyph Set 1**

```javascript
--sky blue background
clear { color= 0xA3BCF, alpha= 2.1 };

-- Triple Light Points
point {x = range 0 17 (osc 0.15), z = range 3 6 (osc 0.35) , intensity = range 8 35 (osc 0.15), color = 0xCFAB10 };
point {x = range 0 17 (osc 0.15), z = range 0 6 (osc 0.35) , intensity = range 15 35 (osc 0.25), color = 0xF080C0 };
point {x = range 0 17 (osc 0.15), y = range 0 6 (osc 0.35) , intensity = range 20 45 (osc 0.25), color = 0x80FD80 };


a n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/4640227b469a9ad92ce24b6aaddf1c029c67271c/3Dmodel/16PointsIn3D2.glb", size = range 5 10 (osc 0.15),ry = n + range 0 15 (osc 0.25),y = 10 - n * 2, z = -20, x = -20 }; for [1..8] a;

b n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphB.glb", size = range 10 16 (osc 0.15),ry = range 90 100(osc 0.25),y = -5, z = -20, x = -8 + n* 3 }; for[1..8] b;

c n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphD.glb", size = n - range 10 16 (osc 0.15),rx = n + range 90 330 (osc 0.25),y = 2, z = -20 + n, x = 12-(5*n)/2  };for[1..8] c;

d n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphE.glb", size = range -5 10 (osc 0.05),ry = range 0 15 (osc 0.25),y = 10 - n, z = -20, x = 5}; for[1..8] d;

f n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphF.glb", size = n + range 5 20 (osc 0.15),ry = n + range 0 15 (osc 0.25),y = n + 18 - sin(n/10) * n,lz = n + range -155 120 (osc 0.15),rx = sin(n) *100, z = -50, x = sin(n + -20)*45  }; for [1..8] f;

g n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphG.glb", size = n + range 5 20 (osc 0.05),ry = n + range 0 15 (osc 0.25),y = n + 18 - sin(n/10) * n,lz = n + range -155 120 (osc 0.15),rx = sin(n) *100, z = -50, x = sin(n + -20)*45  }; for [1..8] g;
```

**Glyph Set 2**

```javascript
--sky blue background
clear { color= 0xABBCF, alpha= 2.1 };

-- Triple Light Points
point {x = range 0 17 (osc 0.15), z = range 3 6 (osc 0.35) , intensity = range 8 35 (osc 0.15), color = 0xCFAB10 };
point {x = range 0 17 (osc 0.15), z = range 0 6 (osc 0.35) , intensity = range 15 35 (osc 0.25), color = 0xF080C0 };
point {x = range 0 17 (osc 0.15), y = range 0 6 (osc 0.35) , intensity = range 20 45 (osc 0.25), color = 0x80FD80 };


a n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/4640227b469a9ad92ce24b6aaddf1c029c67271c/3Dmodel/16PointsIn3D2.glb", size = range 5 10 (osc 0.15),ry = n + range 0 15 (osc 0.25),y = 10 - n * 2, z = -20, x = -20 }; for [1..3] a;

b n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphB.glb", size = range 10 20 (osc 0.15),ry = range 90 100(osc 0.25),y = -5, z = -20, x = -8 + n* 3 }; for[1..8] b;

c n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphD.glb", size = n - range 10 16 (osc 0.15),rx = n + range 90 330 (osc 0.25),y = 2, z = -20 + n, x = 12-(5*n)/2  };for[1..12] c;

d n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphE.glb", size = range -5 10 (osc 0.05),ry = range 0 15 (osc 0.25),y = 10 - n, z = -20, x = 5}; for[1..8] d;

f n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphF.glb", size = n + range 5 20 (osc 0.15),ry = n + range 120 15 (osc 0.25),y = n + 18 - sin(n/10) * n,lz = n + range -155 120 (osc 0.15),rx = sin(n) *100, z = -50, x = sin(n + -20)*45  }; for [1..18] f;

g n = dancer { url="https://raw.githubusercontent.com//IllestPreacha/CreativeDataStuff/3aeba2aa93b6beedefa434737938bc934578e263/3Dmodel/GLyph/GLyphG.glb", size = n + range 5 20 (osc 0.05),ry = n + range 0 190 (osc 0.25),y = n + 18 - sin(n/10) * n,lz = n + range -155 120 (osc 0.15),rx = sin(n) *100, z = -50, x = sin(n + -20)*45  }; for [1..18] g;


```

### SonicPi

```ruby
live_loop :stanza1 do
  use_random_seed Time.now.to_i/2
  with_fx :ping_pong do
    with_fx :vowel, voice: dice(4) do
      with_fx :ixi_techno, mix: [0.1, 0.3, 0.5, 0.3].tick do
        use_bpm [120,30,240].choose
        sample [:loop_garzul, :ambi_dark_woosh].tick,decay: 2, beat_stretch: 6, rate: [-1, 0.5 - 0.25, 2].choose
      end
    end
  end
  sleep [1,2,4].choose
end

live_loop :stanza2 do
  use_random_seed Time.now.to_i/3
  with_fx :ping_pong do
    with_fx :vowel, voice: dice(4) do
      with_fx :flanger, mix: [0.1, 0.3, 0.5, 0.3].tick do
        use_bpm [120,30,240].choose
        sample [:ambi_lunar_land, :ambi_dark_woosh,:elec_beep].choose,decay: 4, beat_stretch: 3, rate: [-1, 0.5 - 0.25, 2].choose
      end
    end
  end
  sleep [1,2,4].choose
end



live_loop :stanza3 do
  use_random_seed Time.now.to_i/4
  with_fx :ping_pong do
    with_fx :vowel, voice: dice(4) do
      with_fx :flanger, mix: [0.1, 0.3, 0.5, 0.3].tick do
        use_bpm [120,30,60,15,240].choose
        sample  [:ambi_piano, :loop_breakbeat].tick,decay: 8, beat_stretch: 1.5, rate: [-1, 0.5 - 0.25, 2].choose
      end
    end
  end
  sleep [1,2,4].choose
end
```

```ruby
live_loop :stanza1 do
  use_random_seed Time.now.to_i/2
  with_fx :ping_pong do
    with_fx :vowel, voice: dice(4) do
      with_fx :ixi_techno, mix: [0.1, 0.3, 0.5, 0.3].tick do
        use_bpm [120,30,240].choose
        sample [:loop_garzul, :ambi_dark_woosh].tick,decay: 2, beat_stretch: 6, rate: [-1, 0.5 - 0.25, 2].choose
      end
    end
  end
  sleep [1,2,4].choose
end

live_loop :stanza2 do
  use_random_seed Time.now.to_i/3
  with_fx :ping_pong do
    with_fx :vowel, voice: dice(4) do
      with_fx :flanger, mix: [0.1, 0.3, 0.5, 0.3].tick do
        use_bpm [120,30,240].choose
        sample [:ambi_drone, :ambi_dark_woosh,:elec_beep].choose,decay: 4, beat_stretch: 3, rate: [-1, 0.5 - 0.25, 2].choose
      end
    end
  end
  sleep [1,2,4].choose
end

live_loop :stanza3 do
  use_random_seed Time.now.to_i/4
  with_fx :ping_pong do
    with_fx :vowel, voice: dice(4) do
      with_fx :flanger, mix: [0.1, 0.3, 0.5, 0.3].tick do
        use_bpm [120,30,60,15,240].choose
        sample  [:ambi_drone, :loop_breakbeat].tick,decay: 8, beat_stretch: 1.5, rate: [-1, 0.5 - 0.25, 2].choose
      end
    end
  end
  sleep [1,2,4].choose
end
```
