@@ -101,7 +101,7 @@ addCanvas(
101
101
}
102
102
}
103
103
104
- return `Raster formats store pixel information and have a fixed resolution.` ;
104
+ return `Raster image formats store pixel information and have a fixed resolution.` ;
105
105
} ,
106
106
// Smooth circle.
107
107
( ctx , width , height ) => {
@@ -123,8 +123,9 @@ addCanvas(
123
123
} ,
124
124
) ;
125
125
126
- return `Vector formats use formulas to draw the image at any scale. they are ideal fo
127
- artwork with sharp lines that will be viewed at varying sizes.` ;
126
+ return `By contrast vector formats can scale infinitely because they are defined by
127
+ formulas. They are ideal for artwork with sharp lines that will be viewed at varying
128
+ sizes.` ;
128
129
} ,
129
130
) ;
130
131
@@ -156,9 +157,9 @@ addCanvas(2, (ctx, width, height, animate) => {
156
157
drawOpen ( ctx , start , end , true ) ;
157
158
} ) ;
158
159
159
- return `Vector graphics are commonly defined using Bezier curves. The cubic bezier is made up of
160
- four coordinates: the start/end points and their corresponding "handles". These handles can
161
- be thought of as defining the direction and momentum of the line.` ;
160
+ return `Vector-based images are commonly defined using Bezier curves. The cubic bezier is made
161
+ up of four coordinates: the start/end points and their corresponding "handles". These
162
+ handles define the direction and " momentum" of the line.` ;
162
163
} ) ;
163
164
164
165
addCanvas ( 2 , ( ctx , width , height , animate ) => {
@@ -205,10 +206,10 @@ addCanvas(2, (ctx, width, height, animate) => {
205
206
drawOpen ( ctx , start , end , false ) ;
206
207
} ) ;
207
208
208
- return `The curve can be drawn geometrically by recursively splitting points by a percentage
209
+ return `Curves can be drawn geometrically by recursively splitting points by a percentage
209
210
until there is only one point remaining. Note there is no constant relationship between the
210
- percentage that "drew" the point and the arc lengths before/after it. Uniform motion must be
211
- approximated instead .` ;
211
+ percentage that "drew" the point and the arc lengths before/after it. Uniform motion along
212
+ the curve can only be approximated .` ;
212
213
} ) ;
213
214
214
215
addTitle ( 4 , "Making a blob" ) ;
@@ -280,7 +281,7 @@ addCanvas(
280
281
drawClosed ( ctx , shiftedShape , true ) ;
281
282
} ) ;
282
283
283
- return `Each point is randomly moved towards or away from the center.` ;
284
+ return `Each point is randomly moved toward or away from the center.` ;
284
285
} ,
285
286
) ;
286
287
@@ -314,7 +315,7 @@ addCanvas(
314
315
315
316
drawClosed ( ctx , polyBlob , false ) ;
316
317
317
- return `In this state, the points have handles with zero length and angle .` ;
318
+ return `In this state, the points have handles of length zero .` ;
318
319
} ,
319
320
( ctx , width , height , animate ) => {
320
321
const period = Math . PI * 1000 ;
@@ -568,8 +569,7 @@ addCanvas(
568
569
} ) ;
569
570
570
571
return `Points are added until they both have the same count. These new points should be as
571
- evenly distributed as possible. It is almost never possible to be able to remove points
572
- from a shape without changing it.` ;
572
+ evenly distributed as possible.` ;
573
573
} ,
574
574
( ctx , width , height , animate ) => {
575
575
const period = Math . PI ** Math . E * 1000 ;
0 commit comments