Skip to content

Latest commit

 

History

History
executable file
·
257 lines (101 loc) · 7.79 KB

README.md

File metadata and controls

executable file
·
257 lines (101 loc) · 7.79 KB

PEmbroider Examples

This is an index of some, but not all, of the goodies in our Examples directory.


Hello_PEmbroider

A simple "Hello World!" program that renders a smily face.

PEmbroider_shapes

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.

PEmbroider_strokes_1

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.

PEmbroider_strokes_2

Demonstration of how the orientation of stitches, relative to strokes, can be precisely controlled.


PEmbroider_stroke_outlines_1

Choose how much your strokes overlap the interior of their shapes.

PEmbroider_stroke_outlines_2

Make a single outline around a group of shapes.

PEmbroider_lines_1

Lines with varying stroke weight. Lines with varying stroke spacing. Lines with varying stitch lengths. Lines with tangent versus parallel stitches.

PEmbroider_lines_2

Curves and line segments.

PEmbroider_ruler

Test your units.

PEmbroider_shape_hatching_1

Different styles of hatching: parallel, concentric, and spiral. Varying hatch spacing.

PEmbroider_shape_hatching_2

Exotic, experimental, and/or advanced hatching methods: Perlin noise field; cross-hatching; user-defined vector fields.

PEmbroider_shape_hatching_3

Varying stitch offsets in parallel hatching for filled shapes. Varying the amount of noise added to stitch lengths in parallel hatching.

PEmbroider_shape_hatching_experimental

Some hatching modes that are still in active development: "spine" hatching mode, and SPIRAL mode.

PEmbroider_hatchAngle_auto

Sketch which demonstrates a feature that automatically sets the hatch angle of a shape, depending on the shape's overall orientation.

PEmbroider_shape_culling

Methods for overlapping shapes, including the ability to cull overlapped stitches (if desired).

PEmbroider_shape_merging

Using raster rendering to create complex compound shapes.

PEmbroider_bitmap_image_1

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.

PEmbroider_bitmap_image_2

The Processing logo. Combining stroke and fill in a filled shape taken from a bitmap image. Stroke-over-fill or fill-over-stroke.

PEmbroider_png_image_multicolor

Using multiple PNG images to create a multicolor embroidery design.

PEmbroider_bitmap_animation

Frames of the classic Muybridge horse, rendered as embroidered graphics.

PEmbroider_axidraw_plotter_svg

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).

PEmbroider_svg_image

Embroidering shapes loaded from simple SVG files.

PEmbroider_text_1

High-quality stroked and/or filled letterforms, from TrueType fonts.

PEmbroider_text_2

Options for high-quality type alignment (baseline, ascent, descent; left, center, right).

PEmbroider_text_3

Built-in implmentations of Hershey fonts (single-stroke vector fonts) for quick embroidered typography without font rasterization.

PEmbroider_optimize_per_char

Demonstration of an optional feature which optimizes the embroidery of filled text on a per-character basis.

PEmbroider_interactive_demo_1

Demonstration of how an embroidery file can be generated and exported during live interaction.

PEmbroider_interactive_demo_2

Multi-stroke doodle recorder.

PEmbroider_trace_skeleton

Trace thin lines in a scanned drawing to produce a single-stroke vectorized version suitable for embroidery.

Challenging polygons

Pembroider_polygon_gauntlet

An obstacle course of challenging polygons to test the PEmbroider hatching algorithms.

And Last But Not Least, The Editor

An experimental GUI editor that requires no coding, great for kids.