mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Removing a few examples for 2.0
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
*
|
||||
* Click on the image to give it focus and press the letter keys
|
||||
* to create forms in time and space. Each key has a unique identifying
|
||||
* number called its ASCII value. These numbers can be used to position
|
||||
* shapes in space.
|
||||
* number. These numbers can be used to position shapes in space.
|
||||
*/
|
||||
|
||||
int rectWidth;
|
||||
|
||||
@@ -9,16 +9,14 @@
|
||||
|
||||
float scale;
|
||||
|
||||
void setup()
|
||||
{
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
noStroke();
|
||||
scale = width/20;
|
||||
}
|
||||
|
||||
void draw()
|
||||
{
|
||||
for(int i = 0; i < scale; i++) {
|
||||
void draw() {
|
||||
for (int i = 0; i < scale; i++) {
|
||||
colorMode(RGB, (i+1) * scale * 10);
|
||||
fill(millis()%((i+1) * scale * 10));
|
||||
rect(i*scale, 0, scale, height);
|
||||
|
||||
Reference in New Issue
Block a user