Created
October 29, 2016 13:42
-
-
Save ayugioh2003/ef09b6d663c38756012e3911d3f35fba to your computer and use it in GitHub Desktop.
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
size(a, b); // 畫布大小設定,a 為長邊,b 為寬 | |
background(x, y, z); // 畫布色, xyz 分別為三原色 RGB | |
nostroke(); // 去掉圖案的邊線 | |
fill(x, y, z, u); | |
// 讓所銜接的圖形指令上色與其透明度 xyz 分別為 RGB 三原色,u 為透明度 | |
ellipse(x, y, w, h); | |
// 指定 x,y 座標為作圖中心,以 w 為長軸、h 為短軸做橢圓或圓形 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment