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,53 +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 Functions extends PApplet {
/**
* Functions.
*
* The drawTarget() function makes it easy to draw many distinct targets.
* Each call to drawTarget() specifies the position, size, and number of
* rings for each target.
*/
public void setup()
{
size(200, 200);
background(51);
noStroke();
smooth();
noLoop();
}
public void draw()
{
drawTarget(68, 34, 200, 10);
drawTarget(152, 16, 100, 3);
drawTarget(100, 144, 80, 5);
}
public void drawTarget(int xloc, int yloc, int size, int num)
{
float grayvalues = 255/num;
float steps = size/num;
for(int i=0; i<num; i++) {
fill(i*grayvalues);
ellipse(xloc, yloc, size-i*steps, size-i*steps);
}
}
static public void main(String args[]) {
PApplet.main(new String[] { "Functions" });
}
}
@@ -1,33 +0,0 @@
/**
* Functions.
*
* The drawTarget() function makes it easy to draw many distinct targets.
* Each call to drawTarget() specifies the position, size, and number of
* rings for each target.
*/
void setup()
{
size(200, 200);
background(51);
noStroke();
smooth();
noLoop();
}
void draw()
{
drawTarget(68, 34, 200, 10);
drawTarget(152, 16, 100, 3);
drawTarget(100, 144, 80, 5);
}
void drawTarget(int xloc, int yloc, int size, int num)
{
float grayvalues = 255/num;
float steps = size/num;
for(int i=0; i<num; i++) {
fill(i*grayvalues);
ellipse(xloc, yloc, size-i*steps, size-i*steps);
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB