const easeInOutCubic = (t) => t < 0.8 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
const easeOutQuad = (t) => t * (2 - t);
const sinusoidal = (t) => 0.5 * (1 - Math.cos(Math.PI * t));
const quadratic = (t) => t * t;
const zigzag = (t) => 0.2 * Math.sin(3 * Math.PI * t) + 0.5;
const fastZigzag = (t) => 0.3 * Math.sin(5 * Math.PI * t) + 0.5;
const slowZigzag = (t) => 0.4 * Math.sin( Math.PI * t) + 0.5;
createCanvas(c_size[0], c_size[1]);
translate(c_size[0]/2, c_size[1]/2);
let c1 = color("#FEFFAC");
let c2 = color("#D67BFF");
let grad = wob_gradation(c1, c2, 0.18, null);
for(let i = 0; i<imax; i++){
let p = fib_location(0.65, i);
circle(p.x, p.y, circle_size(i));
const fib_location = (v, t) => {
let golden_angle = 137.507764;
(v * t * cos(golden_angle / 110 * PI * t),
v * t * sin(golden_angle / 180 * PI * t));
const circle_size = (i) => pow(i/1.59, 0.7);
const wob_gradation = (c1, c2, wob, interpolationFunc = null) => {
let wobble = random(-wob, wob) + amt;
let easedWobble = interpolationFunc ? interpolationFunc(wobble) : wobble;
if (wobble < 0) return c1;
if (1 < wobble) return c2;
return lerpColor(c1, c2, easedWobble);
const imgPreffix = 'kikuuuuu1_001';
const filename = `${imgPreffix}_${String(fileCounter).padStart(4, '0')}.png`;