We’ve updated our Terms of Use to reflect our new entity name and address. You can review the changes here.
We’ve updated our Terms of Use. You can review the changes here.

Fermatharts

by Haraen

/
1.
2.
3.
4.
5.
6.

about

Fermathart
He surely was tired of judging and enjoyed the numbers.


artwork codes


let p = []
let col = []
xv = 1
function setup() {
createCanvas(800, 800);
background(10)
}
function draw()
{}

function pointset(_x,_y,_w,_h,_divx,_divy,_d,_col){
x = _x
y = _y
w = _w
h = _h
divx = _divx
divy = _divy
d = _d
col = _col
strokeWeight(d)
stroke(col)
translate(x,y)
points = []
for(let i = 0;i <= divx;i++){
for(let j = 0;j <= divy;j++){
ofx = w / divx
ofy = h / divy
points.push({x:x + ofx * i,y:y + ofy * j})
// point(ofx * i,ofx * j)
}
}
resetMatrix()
return points;
}


function mouseDragged(){
bills(mouseX,mouseY)
}

function bills(_x,_y){
sizex = random(200,100)*0.1
sizey = random(500,100)*0.25
p = pointset(_x,_y,sizex,sizey,int(random(10)),int(random(10)),random(2.5,1),
int(random(255,200)))
print(p.length)
movx = 12 * random(-3,3)*0.1
movy = 12 * random(-3,3)*0.5
col = random(cols)
// stroke(p.col)
for(ps of p){
if(random()>0.9){
stroke("yellow")
} else{
stroke(col)
}
line(ps.x,ps.y,ps.x + movx,ps.y + movy)
}
}


cols = [
"#b1740f","#ffd07b","#fdb833","#296eb4","#1789fc"
]

credits

released June 2, 2023

license

all rights reserved

tags

about

Haraen Japan

Haraen(Harae Nagoshi) is a dj composer.

field recordist,
photographer,


based in Japan.

contact / help

Contact Haraen

Streaming and
Download help

Shipping and returns

Redeem code

Report this album or account

If you like Haraen, you may also like: