# CodeJourney_CollagingCode

# CodeCollaging: FloatingStructLayers

For this Code Journey, I am playing around with a **LiveCodeLab** sketch that is being collaged by its many components to make images.

## Images

### Remix

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088300088/54d11f5e-8de7-481e-b734-16502a73fab3.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088308225/2ba7cb60-edab-44cc-a227-b9757bb090e5.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088317358/bc18ea50-2a9f-484f-b10d-35ef666e7cd7.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088324023/d30a9459-14f9-4bc3-8514-a2ca3b3ed652.png align="center")

### Original

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088263919/ea8a2ee4-5c36-49cf-9cf2-3dc048e4b435.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088270160/fddee18c-a89b-4560-84e3-3e24339bdf2d.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1767088348388/d499cac2-4071-4f40-a957-6352cd357db4.png align="center")

## LiveCodeLab Code

```javascript
if time % 30 > 15
	ambientLight color(abs(sin(time) *255),255 - time % 15 * 15, 0)
	simpleGradient orange,yellow,blue
	stroke white
else
	ambientLight color(wave(255),40 * (time % 6),90 * ((time % 14 +1)/6))
	simpleGradient blue,yellow,orange

(time % 15 + 6) / 4 times with j
	scale (time % 40 + 1)/20
	move sin(time)/j,cos(time)/j,tan(time)/j
		25 times with i
			rotate 15,time %15,wave(sin(45))*i
				peg
```
