removing applet folders from svn

This commit is contained in:
benfry
2011-04-17 17:50:52 +00:00
parent 433feb6247
commit eb8c319af5
626 changed files with 0 additions and 32342 deletions
@@ -1,58 +0,0 @@
import processing.core.*;
import java.applet.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.text.*;
import java.util.*;
import java.util.zip.*;
import java.util.regex.*;
public class Scale extends PApplet {
/**
* Scale
* by Denis Grutze.
*
* Paramenters for the scale() function are values specified
* as decimal percentages. For example, the method call scale(2.0)
* will increase the dimension of the shape by 200 percent.
* Objects always scale from the origin.
*/
float a = 0.0f;
float s = 0.0f;
public void setup()
{
size(200,200);
noStroke();
rectMode(CENTER);
frameRate(30);
}
public void draw()
{
background(102);
a = a + 0.04f;
s = cos(a)*2;
translate(width/2, height/2);
scale(s);
fill(51);
rect(0, 0, 50, 50);
translate(75, 0);
fill(255);
scale(s);
rect(0, 0, 50, 50);
}
static public void main(String args[]) {
PApplet.main(new String[] { "Scale" });
}
}
@@ -1,38 +0,0 @@
/**
* Scale
* by Denis Grutze.
*
* Paramenters for the scale() function are values specified
* as decimal percentages. For example, the method call scale(2.0)
* will increase the dimension of the shape by 200 percent.
* Objects always scale from the origin.
*/
float a = 0.0;
float s = 0.0;
void setup()
{
size(200,200);
noStroke();
rectMode(CENTER);
frameRate(30);
}
void draw()
{
background(102);
a = a + 0.04;
s = cos(a)*2;
translate(width/2, height/2);
scale(s);
fill(51);
rect(0, 0, 50, 50);
translate(75, 0);
fill(255);
scale(s);
rect(0, 0, 50, 50);
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB