Spring, 2019 | Sungkyunkwan University


Google Chrome – www.google.com/chrome

Brackets – www.brackets.io

P5JS Sample Code – Download

Lecture PPT – Download

 

 

*** To hide Brackets error icon and message ***

*** Brackets 에서 빨간 에러 메세지, 아이콘 그만 보기 ***

Brackets -> File -> Extension Manager -> Default ->

Disable ESlint and JSLint in the list.

목록에서 ESLintJSLint 비활성화

 

 

Homework

Pick one of your previous homeworks (week3 ~ week7), convert it into p5js code.

Capture your Chrome browser and upload the video.

Upload js code. 

https://p5js.org/learn/

https://p5js.org/reference/

 

Final Project Idea Presentation (May 16)

You can bring and discuss your idea with me next week.

Try to think about 

Why – why this software is useful / fun / artistic

Who – user

Where / When – will your software be used



Submit Your Homework

name
student ID
content
Spam Filter What is the name of your university? University


2019-05-15 16:00
Minjeh Kim | 2014315138
http://minjehkim.egloos.com/6486331

2019-05-09 14:33
young cho | 199999


2019-05-09 12:56
young cho | 100000
import processing.video.*;

Capture cam;

void setup(){
size(640,480);

cam = new Capture(this, 640, 480);
cam.start();
}

void draw(){
if (cam.available()) {
cam.read();
}

background(0);

image(cam,0,0);

cam.loadPixels();
noStroke();

float closest = 255;
int closestX = 0;
int closestY = 0;
color colorToTrack = color(255,0,0);

for (int i = 0; i < cam.width; i++) {
for (int j = 0; j < cam.height; j++) {
color c = cam.get(i, j);
float diff = sqrt( sq(red(c)-red(colorToTrack))
+ sq(green(c)-green(colorToTrack))
+ sq(blue(c)-blue(colorToTrack)) );
if( diff < closest ) {
closest = diff;
closestX = i;
closestY = j;
}
}
}

//println(closest);
if( closest < 100 ) {
fill(0,255,0);
ellipse( closestX, closestY, 10, 10 );
}

}

2019-05-08 23:40
JiYoung Kim | 2015311964
http://jyungk.egloos.com/6483447

2019-05-08 22:53
조예림 | 2016310251
http://swsobeee.egloos.com/6483436

2019-05-08 22:47
Gianela | 2017315142
http://gianela98.egloos.com/6483431

2019-05-08 22:17
Carolina | 2019318233
https://carom94.wixsite.com/website-1

2019-05-08 21:59
Beatriz Qianqian Koppers Díaz | 2019318276
https://starwingsart.wixsite.com/videointeractive/post/week9-code

2019-05-08 21:15
최준호 | 2018314445
http://kopagfm.egloos.com/6483410

2019-05-08 20:46
Jiyoung Yun | 2015318872
http://hannahyuun.egloos.com/6483199

2019-05-08 20:43
Jiyoung Yun | 2015318872
http://hannahyun.egloos.com/

2019-05-08 20:27
Jiwon Jung | 2015318861
http://mmiiyyoo.egloos.com/6483301

2019-05-08 18:44
조현수 | 2017314534
http://peachs312.egloos.com/6483267

2019-05-08 18:31
Chaeyeon Byun | 2015313263
http://byunchae.egloos.com/6483263

2019-05-08 18:20
정다인 / Jeong Da In | 2018312361
http://mintalice.egloos.com/6483258


2019-05-08 17:45
Hyunjung Kim | 2018311727
http://tibetfox25.egloos.com/6483245

2019-05-08 17:45
박지현 | 2016312038
http://qkrdid105.egloos.com/6483244

2019-05-08 17:33
Sonhee Kong 공손희 | 2016311017
http://kshpbo830.egloos.com/6483239

2019-05-08 16:38
Phooreum Min | 2015310958
http://byunghwa96.egloos.com/6483215

2019-05-08 16:15
Yiel Jang | 2018311115
http://iv19yiel.egloos.com/6483181

2019-05-08 11:11
Kim Da Young | 2018314500
http://francesca1.egloos.com/6483034

2019-05-08 05:04
Samaa Kinsara | 2019318182
https://samakinsara.wordpress.com/2019/05/07/week-9/

2019-05-07 23:10
배소현 | 2015311180
http://wendy1997.egloos.com/6482915

2019-05-06 21:06
정효영 | 2015313195
http://webears.egloos.com/6482394

2019-05-06 14:05
jeong huiyun | 2015311597
http://huitemsiv.egloos.com/6482261