Skip to content

Commit 3a9a119

Browse files
committed
Remove smooth() from many Topics examples
1 parent 0406f31 commit 3a9a119

File tree

15 files changed

+7
-17
lines changed

15 files changed

+7
-17
lines changed

content/examples/Basics/Image/RequestImage/RequestImage.pde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ float loaderX, loaderY, theta;
2323

2424
void setup() {
2525
size(640, 360);
26-
smooth();
2726
imgW = width/imgCount;
2827

2928
// Load images asynchronously

content/examples/Topics/Advanced Data/Regex/Regex.pde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ String[] links;
1616

1717
void setup() {
1818
size(640, 360);
19-
smooth();
2019
// Load the links
2120
links = loadLinks(url);
2221
}

content/examples/Topics/Create Shapes/BeginEndContour/BeginEndContour.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PShape s;
88

99
void setup() {
1010
size(640, 360, P2D);
11-
smooth();
11+
1212
// Make a shape
1313
s = createShape();
1414
s.beginShape();

content/examples/Topics/Create Shapes/GroupPShape/GroupPShape.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PShape group;
1010

1111
void setup() {
1212
size(640, 360, P2D);
13-
smooth();
13+
1414
// Create the shape as a group
1515
group = createShape(GROUP);
1616

content/examples/Topics/Create Shapes/PathPShape/PathPShape.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PShape path;
99

1010
void setup() {
1111
size(640, 360, P2D);
12-
smooth();
12+
1313
// Create the shape
1414
path = createShape();
1515
path.beginShape();

content/examples/Topics/Create Shapes/PolygonPShape/PolygonPShape.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PShape star;
1010

1111
void setup() {
1212
size(640, 360, P2D);
13-
smooth();
13+
1414
// First create the shape
1515
star = createShape();
1616
star.beginShape();

content/examples/Topics/Create Shapes/PolygonPShapeOOP/PolygonPShapeOOP.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Star s1, s2;
1010

1111
void setup() {
1212
size(640, 360, P2D);
13-
smooth();
13+
1414
// Make a new Star
1515
s1 = new Star();
1616
s2 = new Star();

content/examples/Topics/Create Shapes/PolygonPShapeOOP2/PolygonPShapeOOP2.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ArrayList<Polygon> polygons;
1212

1313
void setup() {
1414
size(640, 360, P2D);
15-
smooth();
15+
1616
// Make a PShape
1717
PShape star = createShape();
1818
star.beginShape();

content/examples/Topics/Create Shapes/PolygonPShapeOOP3/PolygonPShapeOOP3.pde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ PShape[] shapes = new PShape[3];
1515

1616
void setup() {
1717
size(640, 360, P2D);
18-
smooth();
1918

2019
shapes[0] = createShape(ELLIPSE,0,0,100,100);
2120
shapes[0].setFill(color(255, 127));

content/examples/Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ PShape circle;
1010

1111
void setup() {
1212
size(640, 360, P2D);
13-
smooth();
1413
// Creating the PShape as an ellipse
1514
circle = createShape(ELLIPSE, 0, 0, 100, 50);
1615
}

0 commit comments

Comments
 (0)