Categories
Uncategorised

Processing – Rasterlized image

Try to follow some ‘processing’ tutorials which were on youtube.

void setup(){ is basic phrase and surely need to closed with }

-Fill : colour

-Each sub phrase comes up with ()+ ; / 세부명령은 ()와 ;를 꼭 써주어 닫아줘야함

-Ellipse : mouse position and scale . ellipse(mouseX,mouseY,60,60) or elipse(random(0,width),random(0,height,60,60)

frameRate(10) : Animating speed
int : making own formation

int age = 20; / functioning replacement

String text = “” ;

PImage : Processing image /

img = loadImage(“filename”);

can drop off photo directly by dragged
“file name”
i had really time lagging issues was goin on which my jpg file couldnt loaded and that struggling me about an hour. but the answer was very simple to solve. File name + .jpg was work. (mine file name was a.jpg and put .jpg after again and it completely solved !!)
//background : make a path through movement

for(int i = 0; i < 10; i++) { , means ellipse based moveframe is 30sec, but as put i < 10 means ellipse drawn 10times every single frame.

going ellipse in a row position
at x pos : i*10

x pos : width, but put i means that goes 0 to 100 (i <100)

y pos : height1/2 means going half

‘i’ could be replace as other word , ex ) x , y

ellipse x*50, y*50

float tiles : dynamate ( motion ) ,
motioning tileSize , apply too at the ellipse x,y
translate : fitted the size in the canvas

add color , float and replaced ellipse’s 30,30 to size,size

size adaption
invert 0,20 to 20,0
fill : color , put ramdomly

Leave a Reply

Your email address will not be published. Required fields are marked *