🧪 Version 0.2.2 is our alpha release candidate. Please send us bug reports and suggestions!

Sketchingpy

Creative coding and interactive science everywhere for everyone: web, desktop, mobile, Jupyter, and more. Open source!

Reference for end

Finish the shape without closing it. This is part of the reference section.

Purpose

Finish the shape without closing it, meaning it cannot hold a fill.

Snippet

Draw an open shape.
shape = sketch.start_shape(50, 100)
shape.add_line_to(150, 200)
shape.add_line_to(150, 250)
shape.end()
sketch.draw_shape(shape)

Examples

Availability

Available for all platforms.

See also