flagxor / ueforth

Apache License 2.0
90 stars 26 forks source link

adding ellipse in eFORTH web #40

Open MPETREMANN11 opened 1 year ago

MPETREMANN11 commented 1 year ago

\ draw ellipse JSWORD: ellipse { x y rx ry angle div } context.ctx.ellipse(x, y, rx, ry, Math.PI * 2 * angle / div, 0, 2 * Math.PI); ~ \ usage, draw ellipse with red border \ $ff0000 color! \ 100 100 75 30 0 360 ellipse stroke