ellipse: Draw an Ellipse

Description Usage Arguments See Also Examples

Description

Draw an Ellipse

Usage

1
ellipse(sketch, x = NULL, y = NULL, w = NULL, h = NULL)

Arguments

sketch

A p5 sketch.

x

The x coordinate of the ellipse.

y

The y coordinate of the ellipse.

w

The width of the ellipse.

h

The height of the ellipse.

See Also

Other Shape 2D Primitives: arc, line, rect

Examples

1
2
3
4
5
6
7
8
## Not run: 

p5() %>%
  background("#DCDCDC") %>%
  ellipse(56, 46, 55, 55)


## End(Not run)

ropenscilabs/realtime documentation built on May 29, 2019, 8:50 a.m.