# SciArtSeptember2023_Charcoal

# **CharcoalFusion**

For the 19th prompt of SciArtSeptember2023: "***Ochre***", **CharcoalFusion** has the properties of charcoal desiring to showcase in the **Zenthian** realm Through **LiveCodeLab & Oilpaint + Effects.**

## Poetry

```ocaml
Charcoal
Embedding their souls
To be whole
To repeat in their quest for control
Going for strolls & scrolls
Emphasising their patrols
Behold, the colour of Charcoal
```

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/SaRYnR-pCo4?si=KsE73WexO11pfwxa"></iframe>

## LiveCodeLab Code

```javascript
//charcoal values : https://www.colorhexa.com/36454f
//using the values of charcoal to create this piece

charcoal = color(54, 69, 79)
cmyk_charcoal = [32, 13, 0, 69]
cie_charcoal = [28.393, 8.599, 247.793]
xyY_charcoal = [0.268, 0.297, 5.605]
xYZ_charcoal = [5.06, 5.605, 8.212]
rgb2_charcoal = [21.2, 27.1, 31]

turns = Math.cbrt(time % 30 + 2)

if time % 45 < 15
	detail = cie_charcoal[0] + cie_charcoal[1] + cie_charcoal[2]
else if time % 45 > 30
	detail = cie_charcoal[0] + cie_charcoal[1]
else
	detail = cie_charcoal[2]

speed = Math.cbrt(xyY_charcoal[0])

background charcoal
fill charcoal

scale xYZ_charcoal[0]/xYZ_charcoal[1]

rotate cmyk_charcoal[0],cmyk_charcoal[1],cmyk_charcoal[3]

detail times with i
	rotate 0, 0, (2 * pi) / detail
	move xyY_charcoal[0],xyY_charcoal[1]
		rotate (turns * i * pi) / detail + (time * speed), 0, 0
		if time % 10 > 5
			rect Math.cbrt(rgb2_charcoal[2])
		else
			rect sin(rgb2_charcoal[0]), cos(rgb2_charcoal[1])
```
