# CodeJourney_Zine

# WarpDriving; Imagination Driving Along

For The Zine Jam: **Sunday Zine Club #26 (Drive)**: [https://itch.io/jam/sunday-zine-club-26](https://itch.io/jam/sunday-zine-club-26)  , ***WarpDriving; Imagination Driving*** makes a zine that mixes Code (Locomotion, P5js, HydraVideoSynth & LiveCodeLab), Poetry & Digital Manipulations to fit the theme of Drive.

## Zine

[https://illestpreacha.itch.io/warpdriving-imagination-driving-along](https://illestpreacha.itch.io/warpdriving-imagination-driving-along)

## Code

### Locomotion & HydraVideoSynths Snippets

```javascript

//Locomotion
y n = dancer { url= "camille", size = 0.7425 * n/12, animation = [n,1,n*2],rx = n / range - 360 360 (osc 0.13) ,x= sin(n/2) + range -4 4 (osc 0.13), y = sin(n/2) + range -2 2 (osc 0.013), dur = 4}; for [1..25] y;


//Hydra
s0.initScreen()

src(s0).blend(src(s0).scale(1.05)).diff(src(s0).scale(1.35).repeat(2,2)).out()
```

```javascript
//Locomotion
y n = dancer { url= "camille", size = 0.7425 * n/22, animation = [n,1,n*2],rx = n / range - 360 360 (osc 0.13) ,x= sin(n/2) + range -4 4 (osc 0.13), y = sin(n/2) + range -2 2 (osc 0.013), dur = 4}; for [1..45] y;



//Hydra
s0.initScreen()

src(s0).blend(src(s0).scale(1.05)).diff(src(s0).scale(1.35).repeat(3,3)).colorama().out()


```

### LiveCodeLab & HydraVideoSynth Snippets

```javascript

//LiveCodeLab
background black

75 times with i
	rotate wave * sin(time) * 0.01,-(wave / sin(time) * 0.01) * cos(time), wave(0.001)/cos(time)/10
	move sin(time)/100
	fill blue
	stroke i,i%2,i/4
	peg



//Hydra
s0.initScreen()

src(s0).modulateRotate(src(s0).scale(2).pixelate(125,125)).scale(1.2).colorama(()=> (time % 10 + 1)/9.9).repeat(1,2).out()
```

### Previous Code Snippet of Mazes

*   Maze Elements (LiveCodeLab)
    
    *   [https://blog.illestpreacha.com/wccc-mazes](https://blog.illestpreacha.com/wccc-mazes)
        
    

*   Ships Made Previously with P5.XR
    
*   Poetic Elements (P5Js)
    

*   [https://blog.illestpreacha.com/gamedev-microfiction](https://blog.illestpreacha.com/gamedev-microfiction)
    
*   Hydra Manipulation
    
    ```javascript
    s0.initScreen()
    
    src(s0).pixelate(500,500).invert().modulateScale(src(s0).repeat(1,2)).out()
    ```
