# Genuary2023_Looping

## Looping Chere

**#genuary1** **#genuary**!

### The prompt for Genuary 2023 Day 1 is

### ***Perfect loop / Infinite loop / endless GIFs***

I decided to have a loop of a **Chere ( A Cube + Sphere hybrid**) done in [Livecodelab](https://livecodelab.net/)

### Code Below & Gif Underneath

```javascript
noStroke
ambientLight  200,150,220
rotate time % 3, time % 3, time % 3

//change the background
if time % 10 > 5
	simpleGradient aqua,teal,blue

//control the colour of the Chere
if time % 10 > 6
	fill orange
else
	fill pink

//The size of the Chere
scale 0.1 + wave(0.1)

//The Movement of the Chere
move wave(0.1), wave(0.1),wave

//change between a ball and a box
if time % 10 > 6
	ball
else
	box
```

### RockyLoopingChere Sped Up Version

Where the vibrant of the Chere  
Has begun to transform beyond the here

Beyond the There but all in all, it still belongs across the atmosphere as the Journey doesn't have a who, what or where?

![AS the Chere Rocks  back and forth, trying to assert its worth](https://cdn.hashnode.com/res/hashnode/image/upload/v1672607287952/d391edec-612a-4aac-bd7f-4d650e9b6dc7.gif align="center")

### RockyLoopingChere Slowed Down Version

Where the patterns and movements of the Chere  
Has begun to slow down as it goes around

Beyond the There but all in all, it still belongs across the atmosphere as the Journey doesn't have a who, what or where?

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1672607381346/692835a2-4b85-4d54-a5d7-c4ce1e090ef7.gif align="center")
