# MinaCoding2026_Circle

# **CircularEnergy**

**For *MinaCoding2026,*** *Prompt 1: Circles, Prompt 7: Energetic and Prompt 18: Quick,*  **CircularEnergy** embodies them in a **LiveCodeLab** Coded Sketch

## Poem

```javascript
Circles Moving
Moving Circles
In their own journey
Through their own obstacles and hurdles
These circles are moving
Some are slow and some are in a Hurry
```

## Video

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

## LiveCodeLab

### LiveCodeLab Normal Circles

```javascript
//CirclingSwing

background black

pushMatrix()
10 times with i
	scale 0.6
	move sin(0.5)*i,sin(time)
	fill blue
	noStroke
		ball
popMatrix()

pushMatrix()
10 times with i
	scale 0.56
	move -sin(0.5)*i,sin(time)
	fill green
	noStroke
		ball
popMatrix()

pushMatrix()
10 times with i
	scale 0.65
	move sin(0.5)*i,-sin(time)
	fill white
	noStroke
		ball
popMatrix()

pushMatrix()
10 times with i
	scale 0.6
	move -sin(0.5)*i,-sin(time),1
	fill red
	noStroke
		ball
popMatrix()
```

### LiveCodeLab Energetic Circles

```javascript
background black

//pair 1
pushMatrix()
10 times with i
	scale 0.6
	move sin(0.5)*i,sin(time)
	rotate sin(time), wave(i)
	fill blue
	noStroke
		ball
popMatrix()

pushMatrix()
10 times with i
	scale 0.56
	move -sin(0.5)*i,sin(time)
	rotate wave(i),wave(i)*1.1,sin(time) 
	fill green
	noStroke
		ball
popMatrix()

//pair 2
pushMatrix()
10 times with i
	scale 0.65
	move sin(0.5)*i,-sin(time)
	rotate sin(time), wave(i)/2, wave(i)*1.1
	fill white
	noStroke
		ball
popMatrix()

pushMatrix()
10 times with i
	scale 0.6
	move -sin(0.5)*i,-sin(time),1
	rotate  wave(i)*1.1,sin(time), wave(i)/2,
	fill red
	noStroke
		ball
popMatrix()

//pair 3
pushMatrix()
move
10 times with i
	scale 0.45
	move sin(0.5)*i,-sin(time),wave(i)
	rotate sin(time), wave(i)/2, wave(i)*1.1
	fill orange
	noStroke
		ball
popMatrix()

pushMatrix()
move
10 times with i
	scale 0.45
	move wave -sin(0.5)*i,sin(time)
	rotate sin(time), wave(i)/2, wave(i)*1.1
	fill grey
	noStroke
		ball
popMatrix()

//pair 4
pushMatrix()
move
10 times with i
	scale 0.45
	move -1, -wave(2),sin(time)
	rotate sin(time), wave(i)/2, wave(i)*1.1
	fill purple
	noStroke
		ball
popMatrix()

pushMatrix()
move
10 times with i
	scale 0.45
	move -1,wave(2),-sin(time)
	rotate sin(time), wave(i)/2, wave(i)*1.1
	fill brown
	noStroke
		ball
popMatrix()
```

### LiveCodeLab Audio

```javascript
if time % 39 > 26
	bpm 150
	play 'tranceKick', '-x-x ---x x-x- x-xx'
	play "glass"  ,'--x- -x-x --x- -x-x'
	play "mouth" + int(random 3) ,'x--xx'
	play "pianoLHChord" + int(random 2) ,'x--xx'

if time % 39 < 13
	bpm 60
	play 'tranceKick', '-x--xx--x---x'
	play "glass"  ,'x--x--x'
	play "mouth" + int(random 3) ,'x--xx--x'
	play "pianoLHChord" + int(random 2) ,'x--xxx'

else
	bpm 90
	play 'tranceKick', '-x-x'
	play "glass"  ,'--x- -x-x --x- -x-x'
	play "mouth" + int(random 6) ,'x--xx-'
	play "pianoLHChord" + int(random 6) ,'x--xx--'


```
