HTML and CSS Reference
In-Depth Information
Figure 5-15. Moving a circle on a Bezier curve
Example 5-11
gives the full code listing for
CH5EX11.html
, including the code to draw the
Bezier curve points on the canvas. You can find that code in the
drawScreen()
function fol-
lowing the
//draw the points
comment.
Example 5-11. Moving on a cubic Bezier curve
<!doctype html>
<html
<html lang=
"en"
>