This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using Iisu; | |
using IisuUnity; | |
using System; | |
using System.Collections.Generic; | |
using SKA; | |
using SKA.Geometry; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.image.BufferedImage; | |
import java.awt.*; | |
PImage screenShot; | |
void setup() { | |
size(800, 600); | |
screenShot = getScreen(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//show photos | |
PImage photo_a; | |
PImage photo_b; | |
PImage photo_c; | |
void setup() //設定 | |
{ | |
size(300,300); | |
photo_a = loadImage("a.jpg"); | |
photo_b = loadImage("b.jpg"); | |
photo_c = loadImage("c.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//show photos | |
PImage photo_a; | |
PImage photo_b; | |
PImage photo_c; | |
int mode = 0; | |
void setup() //設定 | |
{ | |
size(300, 300); | |
photo_a = loadImage("a.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//show photos | |
PImage photo_a; | |
PImage photo_b; | |
PImage photo_c; | |
int mode = 0; | |
void setup() //設定 | |
{ | |
size(300, 300); | |
photo_a = loadImage("a.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
size(300, 300); | |
background(0); | |
} | |
void draw() | |
{ | |
ellipse(200, 200, 50, 50); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int xx = 200; | |
void setup() { | |
size(300, 300); //畫面尺寸 | |
background(255);//背景白色 | |
} | |
void draw() | |
{ | |
background(255); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//亂數畫圓 | |
int xx = 200; //設定xx 給人使用 | |
int yy = 200; //設定yy 給人使用 | |
//設定一次功能 | |
void setup() { | |
size(300, 300); //畫面尺寸 | |
background(255);//背景白色 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//亂數畫圓 xx, 畫面上到下yy | |
int xx = 200; //設定xx 給人使用 | |
int yy = 200; //設定yy 給人使用 | |
//設定一次功能 | |
void setup() { | |
size(300, 300); //畫面尺寸 | |
background(255);//背景白色 | |
frameRate(3000); //設定畫面更新速度 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//由左到右畫圓 xx, 畫面上到下yy 顯示設定frameRate | |
int xx = 200; //設定xx 給人使用 | |
int yy = 200; //設定yy 給人使用 | |
//設定一次功能 | |
void setup() { | |
size(300, 300); //畫面尺寸 | |
background(255);//背景白色 | |
frameRate(100); //設定畫面更新速度 | |
} |
OlderNewer