HuesInGlitch
For the 28th day of MinaCoding2024 : "HitaHita" , HuesInGlitch is coded in Python, LiveCodingYoutube & Hydra.
To follow the HitaHita prompt, the colours used can be considered a "soft" hue selection. as HitaHita can mean softly.
Poem
HitaHita with the Hue
HitaHita with the groove
As the grids take up the space in this room
May they glow as they flow through
Video
Code
Python
import numpy as np
import seaborn as sns
import matplotlib.pylab as plt
def battle():
boats = [0,1,2,3,4,5,6,7,8,9,10,11]
prob = [0.025,0.025,0.05,0.05,0.05,0.05,0.1,0.1,0.1,0.1,0.2,0.15]
shipyard2 = np.random.choice(boats, (16,16), p=prob)
return shipyard2
def plotting(x):
letters = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P']
uniform_data = x
ax = sns.heatmap(uniform_data, linewidth=0.5,cmap="plasma")
ax.set_xticklabels(letters)
plt.show()
return x
plotting(battle())
LiveCodingYoutube
Hues = "bVD9A2EWHjw"
create(2,2,Hues)
play(all)
speed([0,1],-0.1)
speed([2,3],0.1)
Hydra
s0.initScreen()
src(s0).modulatePixelate(s0).modulateRotate(s0).modulateHue(s0).modulateScale(s0).out()