Skip to content

Commit 3f855e6

Browse files
committed
remove useless smooth
1 parent 65f91ac commit 3f855e6

File tree

18 files changed

+24
-44
lines changed

18 files changed

+24
-44
lines changed

contributed/animator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def setup
1313
@draw = false
1414
@back_color = 204
1515
stroke_weight 4
16-
smooth
1716
background @back_color
1817
FRAME_COUNT.times { @frames << get }
1918
end

contributed/getting_started.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup
1111

1212
def draw
1313
fill 0, 20
14-
rect 0, 0, width, height
14+
rect 0, 0, width, height
1515
translate width / 2, height / 2
1616
rotate rotation
1717
fill 255
@@ -21,5 +21,4 @@ def draw
2121

2222
def settings
2323
size 200, 200
24-
smooth
2524
end

contributed/jwishy.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def setup
3636
@back_color = [0.06, 0.03, 0.18]
3737
color_mode RGB, 1
3838
ellipse_mode CORNER
39-
smooth
4039
end
4140

4241
def draw_background

contributed/orbit.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ def draw
3535

3636
def settings
3737
size 450, 450
38-
smooth
3938
end

contributed/tree.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,4 @@ def branch(h)
6666

6767
def settings
6868
size 200, 200
69-
smooth
7069
end

external_library/gem/cf3/city.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def setup_the_city
3636

3737
def settings
3838
size 600, 600
39-
smooth
4039
end
4140

4241
def setup

external_library/gem/pbox2d/polygons.rb

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

1111
def setup
1212
sketch_title 'Polygons'
13-
smooth
1413
@box2d = WorldBuilder.build(app: self, gravity: [0, -20])
1514
@system = ShapeSystem.new self
1615
@boundaries = [

processing_app/basics/color/color_wheel.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
def setup
1414
sketch_title 'Color Wheel'
1515
background 127
16-
smooth
1716
ellipse_mode RADIUS
1817
no_stroke
1918
@style = :tint # use :shade or :tint

processing_app/basics/color/radial_gradient.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@ def create_gradient(x, y, radius, c1, c2)
4747

4848
def settings
4949
size 640, 360, P2D
50-
smooth
5150
end

processing_app/basics/image/pointillism.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ def setup
99
@a = load_image(data_path('eames.jpg'))
1010
no_stroke
1111
background 255
12-
smooth
1312
end
1413

1514
def draw

0 commit comments

Comments
 (0)