WebGL v.s. WebGPU
· 阅读需 10 分钟

Canvas 有两种 width
和 height
:
300px
、150px。例如:
<canvas id="canvas" width="300" height="150"></canvas>
The path
element features quite a number of these commands. There are two that are relevant for our purposes:
Q
, which instructs the path to create a quadratic Bézier curve.C
, which instructs the path to create a cubic Bézier curve.Online practice site: https://bezier.method.ac
SVG is a markup language for describing two-dimensional graphics applications and images, and a set of related graphics script interfaces. SVG 1.1 2nd edition is a W3C Recommendation and is the most recent version of the full specification. SVG 2 editor's draft is the next version and current status is draft.