Lets shape up PAGES 69 77 Lets draw

  • Slides: 10
Download presentation
Lets shape up! PAGES: 69 -77

Lets shape up! PAGES: 69 -77

Lets draw random shapes �Commands introduced �vertex(x, y); �begin. Shape() �end. Shape() �curve. Vertex()

Lets draw random shapes �Commands introduced �vertex(x, y); �begin. Shape() �end. Shape() �curve. Vertex() �Bezier. Vertex()… lets not worry about this now

Shape with vertex(x, y) nofill(); begin. Shape(); vertex(30, 20); vertex(85, 75); vertex(30, 75); end.

Shape with vertex(x, y) nofill(); begin. Shape(); vertex(30, 20); vertex(85, 75); vertex(30, 75); end. Shape();

Lets close the Shape //nofill(); begin. Shape(); vertex(30, 20); vertex(85, 75); vertex(30, 75); end.

Lets close the Shape //nofill(); begin. Shape(); vertex(30, 20); vertex(85, 75); vertex(30, 75); end. Shape(CLOSE);

POINTS or LINES? //nofill(); begin. Shape(POINTS); // lets change it to LINES vertex(30, 20);

POINTS or LINES? //nofill(); begin. Shape(POINTS); // lets change it to LINES vertex(30, 20); vertex(85, 75); vertex(30, 75); end. Shape(CLOSE);

TRIANGLES or TRIANGLE_STRIP //nofill(); begin. Shape(TRIANGLES); vertex(75, 30); vertex(10, 20); vertex(75, 50); vertex(20, 60);

TRIANGLES or TRIANGLE_STRIP //nofill(); begin. Shape(TRIANGLES); vertex(75, 30); vertex(10, 20); vertex(75, 50); vertex(20, 60); vertex(90, 70); Vertex(35, 85); end. Shape();

Curves smooth(); no. Fill(); begin. Shape(); curve. Vertex(20, 80); curve. Vertex(20, 40); curve. Vertex(30,

Curves smooth(); no. Fill(); begin. Shape(); curve. Vertex(20, 80); curve. Vertex(20, 40); curve. Vertex(30, 30); curve. Vertex(40, 80); curve. Vertex(80, 80); end. Shape();

Putting it all together smooth(); no. Fill(); begin. Shape(); vertex(15, 40); bezier. Vertex(5, 0,

Putting it all together smooth(); no. Fill(); begin. Shape(); vertex(15, 40); bezier. Vertex(5, 0, 80, 0, 55); vertex(30, 45); vertext(25, 75); bezier. Vertex(50, 75, 90, 80, 70); end. Shape();

bezier. Curve: 1 no. Fill(); begin. Shape(); vertex(32, 20); bezier. Vertex(80, 5, 80, 75,

bezier. Curve: 1 no. Fill(); begin. Shape(); vertex(32, 20); bezier. Vertex(80, 5, 80, 75, 30, 75); end. Shape();

B. Curve 2 begin. Shape(); vertex(30, 20); bezier. Vertex(80, 0, 80, 75, 30, 75);

B. Curve 2 begin. Shape(); vertex(30, 20); bezier. Vertex(80, 0, 80, 75, 30, 75); bezier. Vertex(50, 80, 60, 25, 30, 20); end. Shape();