This is an index of some, but not all, of the goodies in our Examples directory.
A simple "Hello World!" program that renders a smily face.
Basic filled shapes: circle, square, rectangle, rounded rectangle, triangle, quad, ellipse, arc pie, arc chord. Shapes created with user-defined vertices, including: non-convex shapes; shapes with compound contours (i.e. holes); shapes combinining linear and curvilinear segments. All shapes are filled and unstroked.
Shapes with and without stroke and/or fills. Varying thicknesses of shapes' strokes. Varying the stroke spacing (spacing of stitch runs within strokes). Strokes with tangent versus parallel stitches.
Demonstration of how the orientation of stitches, relative to strokes, can be precisely controlled.
Choose how much your strokes overlap the interior of their shapes.
Make a single outline around a group of shapes.
Lines with varying stroke weight. Lines with varying stroke spacing. Lines with varying stitch lengths. Lines with tangent versus parallel stitches.
Curves and line segments.
Test your units.
Different styles of hatching: parallel, concentric, and spiral. Varying hatch spacing.
Exotic, experimental, and/or advanced hatching methods: Perlin noise field; cross-hatching; user-defined vector fields.
Varying stitch offsets in parallel hatching for filled shapes. Varying the amount of noise added to stitch lengths in parallel hatching.
Some hatching modes that are still in active development: "spine" hatching mode, and SPIRAL mode.
Sketch which demonstrates a feature that automatically sets the hatch angle of a shape, depending on the shape's overall orientation.
Methods for overlapping shapes, including the ability to cull overlapped stitches (if desired).
Using raster rendering to create complex compound shapes.
Embroidering shapes in bitmap images. Shapes must be white blobs on a black background. The hatchSpine method (stitches perpendicular to contour, in the upper right) is still experimental.
The Processing logo. Combining stroke and fill in a filled shape taken from a bitmap image. Stroke-over-fill or fill-over-stroke.
Using multiple PNG images to create a multicolor embroidery design.
Frames of the classic Muybridge horse, rendered as embroidered graphics.
This example is intended for people who would like to use PEmbroider's SVG-generation features with pen plotters, such as the EMSL AxiDraw. The example includes certain plotter-specific optimizations, such as the elimination of jump-stitches (lines connecting shapes).
Embroidering shapes loaded from simple SVG files.
High-quality stroked and/or filled letterforms, from TrueType fonts.
Options for high-quality type alignment (baseline, ascent, descent; left, center, right).
Built-in implmentations of Hershey fonts (single-stroke vector fonts) for quick embroidered typography without font rasterization.
Demonstration of an optional feature which optimizes the embroidery of filled text on a per-character basis.
Demonstration of how an embroidery file can be generated and exported during live interaction.
Multi-stroke doodle recorder.
Trace thin lines in a scanned drawing to produce a single-stroke vectorized version suitable for embroidery.
An obstacle course of challenging polygons to test the PEmbroider hatching algorithms.
An experimental GUI editor that requires no coding, great for kids.