MCPcopy Create free account

hub / github.com/CreativeInquiry/PEmbroider / functions

Functions408 in github.com/CreativeInquiry/PEmbroider

↓ 2 callersMethodchunkToFrags
recursive bottom: turn chunk into polyline fragments; look around on 4 edges of the chunk, and identify the "outgoing" pixels; add segments connecting
examples/PEmbroider_oneliner/TraceSkeleton.java:177
↓ 2 callersMethodcircle
Draw a circle, a.k.a ellipse with equal radius in each dimension @param x the first parameter, meaning of which depends on ellipseMode @param y th
src/processing/embroider/PEmbroiderGraphics.java:4351
↓ 2 callersMethodclip
Clip polylines with a mask @param polys the polylines to consider @param mask a mask, black means off, white means on
src/processing/embroider/PEmbroiderGraphics.java:5086
↓ 2 callersMethodcountColorChange
()
src/processing/embroider/PEmbroiderGraphics.java:5710
↓ 2 callersMethodcreateHTML
(String theString)
resources/code/ExampleTaglet.java:185
↓ 2 callersMethoddeepClone
Deep clone any object @param object some object @reutrn the clone
src/processing/embroider/PEmbroiderGraphics.java:5522
↓ 2 callersMethoddet
Compute the determinant of a 3x3 matrix as 3 row vectors. @param r1 row 1 @param r2 row 2 @param r3 row 3 @return the determinant
src/processing/embroider/PEmbroiderGraphics.java:602
↓ 2 callersMethodendOps
()
src/processing/embroider/PEmbroiderBooleanShapeGraphics.java:71
↓ 2 callersMethodfindArea
(Im im)
src/processing/embroider/PEmbroiderHatchSatin.java:262
↓ 2 callersMethodflagTrim
(int longForm)
src/processing/embroider/PEmbroiderWriter.java:884
↓ 2 callersMethodgewNode
(int x, int y)
distribution/PEmbroider/examples/PEmbroider_oneliner/OneLinerGraph.java:62
↓ 2 callersMethodgewNode
(int x, int y)
examples/PEmbroider_oneliner/OneLinerGraph.java:62
↓ 2 callersMethodhatchRaster
Hatch a raster image with global user settings. Returns nothing because the result is directly pushed to the design. @param im a processing image,
src/processing/embroider/PEmbroiderGraphics.java:3732
↓ 2 callersMethodhatchSatinRaster
(PImage im, float d, int n)
src/processing/embroider/PEmbroiderHatchSatin.java:728
↓ 2 callersMethodisolines
Compute isolines for a grayscale image using findContours on multiple thresholds. @param im the input grayscale image @param d luminance dist
src/processing/embroider/PEmbroiderGraphics.java:5154
↓ 2 callersMethodmergeFrags
merge fragments from two chunks @param c0 fragments from first chunk @param c1 fragments from second chunk @param sx (x or y) coordinate of the
distribution/PEmbroider/examples/PEmbroider_trace_skeleton/TraceSkeleton.java:146
↓ 2 callersMethodmergeFrags
merge fragments from two chunks @param c0 fragments from first chunk @param c1 fragments from second chunk @param sx (x or y) coordinate of the
distribution/PEmbroider/examples/PEmbroider_oneliner/TraceSkeleton.java:146
↓ 2 callersMethodmergeFrags
merge fragments from two chunks @param c0 fragments from first chunk @param c1 fragments from second chunk @param sx (x or y) coordinate of the
examples/PEmbroider_trace_skeleton/TraceSkeleton.java:146
↓ 2 callersMethodmergeFrags
merge fragments from two chunks @param c0 fragments from first chunk @param c1 fragments from second chunk @param sx (x or y) coordinate of the
examples/PEmbroider_oneliner/TraceSkeleton.java:146
↓ 2 callersMethodneighborIDToIndex
(int i, int j, int id)
src/processing/embroider/PEmbroiderTrace.java:182
↓ 2 callersMethodneighborIndexToID
(int i0, int j0, int i, int j)
src/processing/embroider/PEmbroiderTrace.java:193
↓ 2 callersMethodparseBound
(String entry)
src/processing/embroider/PEmbroiderFont.java:10
↓ 2 callersMethodpec_encode
()
src/processing/embroider/PEmbroiderWriter.java:888
↓ 2 callersMethodperlinField
Hatch an image using perlin noise fill @param mask a binary image/graphics, white means on, black means off @param d spacing betwee
src/processing/embroider/PEmbroiderGraphics.java:4844
↓ 2 callersMethodrationalQuadraticBezier
Compute a point on a rational quadratic bezier curve @param p0 first point @param p1 control point @param p2 last point @param w weight o
src/processing/embroider/PEmbroiderGraphics.java:3803
↓ 2 callersMethodreadFile
check if the examples directory exists and return the example as given in the tag. @param theExample the name of the example
resources/code/ExampleTaglet.java:207
↓ 2 callersMethodrenderSolution
()
src/processing/embroider/PEmbroiderGraphics.java:5667
↓ 2 callersMethodresampleCrossIntersection
Resample a set of (parallel) polylines by intersecting them with another bunch of parallel lines and using the intersections to break them up. Useful
src/processing/embroider/PEmbroiderGraphics.java:3325
↓ 2 callersMethodresampleHalfKeepCorners
Approximately halfing the number of vertices in the polyline but preserves important turning points @param poly the polyline @param maxTurn amoun
src/processing/embroider/PEmbroiderGraphics.java:4563
↓ 2 callersMethodrotatePolygonToMatch
When the general shapes of two polygons are similar, this function finds the index offset of vertices for the first polygon so that the vertices best
src/processing/embroider/PEmbroiderGraphics.java:1601
↓ 2 callersMethodscoreSolution
(Solution sol)
src/processing/embroider/PEmbroiderGraphics.java:5735
↓ 2 callersMethodshuffleLayers
(Layer[] layers)
src/processing/embroider/PEmbroiderGraphics.java:5722
↓ 2 callersMethodsolve
(ArrayList<ArrayList<PVector>> polylines)
src/processing/embroider/PEmbroiderTSP.java:175
↓ 2 callersMethodsumLength
(ArrayList<Edge> edges)
src/processing/embroider/PEmbroiderTSP.java:156
↓ 2 callersMethodtext
Draw some text @param str the string containing the text to be drawn @param x x coordinate, meaning of which depends on textAlign @param y y co
src/processing/embroider/PEmbroiderGraphics.java:5404
↓ 2 callersMethodtextFont
Change font of text. Notice this function is overloaded with one version for PFont and one for hershey font, with identical API This one is for the he
src/processing/embroider/PEmbroiderGraphics.java:5369
↓ 2 callersMethodtextSize
Change size of text @param size the desired size of text
src/processing/embroider/PEmbroiderGraphics.java:5360
↓ 2 callersMethodthinningIteration
(boolean[] im, int w, int h, int iter)
src/processing/embroider/PEmbroiderTrace.java:461
↓ 2 callersMethodthinningZSIteration
(boolean[] im, int w, int h, int iter)
distribution/PEmbroider/examples/PEmbroider_trace_skeleton/TraceSkeleton.java:36
↓ 2 callersMethodthinningZSIteration
(boolean[] im, int w, int h, int iter)
distribution/PEmbroider/examples/PEmbroider_oneliner/TraceSkeleton.java:36
↓ 2 callersMethodthinningZSIteration
(boolean[] im, int w, int h, int iter)
examples/PEmbroider_trace_skeleton/TraceSkeleton.java:36
↓ 2 callersMethodthinningZSIteration
(boolean[] im, int w, int h, int iter)
examples/PEmbroider_oneliner/TraceSkeleton.java:36
↓ 2 callersMethodwritePesString16
(String string)
src/processing/embroider/PEmbroiderWriter.java:951
↓ 2 callersMethodwriteSpaceHolder24LE
(int value)
src/processing/embroider/PEmbroiderWriter.java:693
↓ 2 callersMethodwrite_pec_block
()
src/processing/embroider/PEmbroiderWriter.java:808
↓ 2 callersMethodwrite_pec_header
()
src/processing/embroider/PEmbroiderWriter.java:769
↓ 2 callersMethodwrite_pes_addendum
(Object[] color_info)
src/processing/embroider/PEmbroiderWriter.java:1186
↓ 2 callersMethodwrite_pes_blocks
(float left, float top, float right, float bottom, float cx, float cy)
src/processing/embroider/PEmbroiderWriter.java:968
↓ 2 callersMethodwrite_pes_header_v1
(int distinctBlockObjects)
src/processing/embroider/PEmbroiderWriter.java:1206
↓ 2 callersMethodwrite_vp3_colorblock
(ArrayList<PVector> stitches, boolean first, double center_x, double center_y, int color)
src/processing/embroider/PEmbroiderWriter.java:493
↓ 1 callersMethodEDT_Sep
(float i, float u, float g_i, float g_u)
src/processing/embroider/PEmbroiderTrace.java:21
↓ 1 callersMethodNN
(ArrayList<ArrayList<PVector>> polylines, int i0)
src/processing/embroider/PEmbroiderTSP.java:46
↓ 1 callersMethodbeginOptimize
Begin a block of stitch order optimization (TSP solver), to be paired with endOptimize() @param reorderColor number of seconds to try to reorder color
src/processing/embroider/PEmbroiderGraphics.java:5285
↓ 1 callersMethodbezierVertex
Add a cubic bezier vertex to the current polygon/polyline. This must be preceded by beginShape() and at least a vertex() An alias of cubicVertex @pa
src/processing/embroider/PEmbroiderGraphics.java:4054
↓ 1 callersMethodboustrophedonStitches
(Im prevIm, Im im, Pt p0, int d)
src/processing/embroider/PEmbroiderHatchSatin.java:451
↓ 1 callersMethodbridgeHoles
(Im im)
src/processing/embroider/PEmbroiderHatchSatin.java:681
↓ 1 callersMethodcalcEigenvector
( float[][] matrix )
src/processing/embroider/PEmbroiderGraphics.java:1005
↓ 1 callersMethodcalcPolygonTiltRaster
(PImage im)
src/processing/embroider/PEmbroiderGraphics.java:1052
↓ 1 callersMethodcatmullRomSpline
(PVector p0, PVector p1, PVector p2, PVector p3, int numberOfPoints, float alpha)
src/processing/embroider/PEmbroiderGraphics.java:3856
↓ 1 callersMethodccwNon0
(int[] F, int w, int h, int i0, int j0, int i, int j, int offset)
src/processing/embroider/PEmbroiderTrace.java:208
↓ 1 callersMethodcheckOutOfBounds
()
src/processing/embroider/PEmbroiderGraphics.java:5910
↓ 1 callersMethodcubicBezier
Compute a point on a cubic bezier curve @param p0 first point @param p1 control point @param p2 another control point @param p3 last point
src/processing/embroider/PEmbroiderGraphics.java:3831
↓ 1 callersMethodcubicVertex
Add a cubic bezier vertex to the current polygon/polyline. This must be preceded by beginShape() and at least a vertex() @param x1 x coordinate of f
src/processing/embroider/PEmbroiderGraphics.java:4114
↓ 1 callersMethodcwNon0
(int[] F, int w, int h, int i0, int j0, int i, int j, int offset)
src/processing/embroider/PEmbroiderTrace.java:221
↓ 1 callersMethoddrawRender
()
src/processing/embroider/PEmbroiderGraphics.java:5681
↓ 1 callersMethodellipse
Draw a ellipse @param a the first parameter, the meaning of which depends on ellipseMode @param b the second parameter, the meaning of which dep
src/processing/embroider/PEmbroiderGraphics.java:3897
↓ 1 callersMethodendOptimize
Close a beginOptimize() block.
src/processing/embroider/PEmbroiderGraphics.java:5300
↓ 1 callersMethodequalsSolution
(Solution sol)
src/processing/embroider/PEmbroiderGraphics.java:5693
↓ 1 callersMethoderaser
(float x, float y, float d)
src/processing/embroider/PEmbroiderGraphics.java:5889
↓ 1 callersMethodestimateTextWidth
(int[] cmap, String s)
src/processing/embroider/PEmbroiderFont.java:48
↓ 1 callersMethodfindIsolines
(PImage im, int n, float d)
src/processing/embroider/PEmbroiderTrace.java:398
↓ 1 callersMethodfind_thread_nearest_index
(int c)
src/processing/embroider/PEmbroiderWriter.java:1969
↓ 1 callersMethodfloodBridgeHoleAt
(Im src, Im cache, Pt p0)
src/processing/embroider/PEmbroiderHatchSatin.java:192
↓ 1 callersMethodgcodeString
(float[] bounds, ArrayList<PVector> stitches, ArrayList<Integer> colors)
src/processing/embroider/PEmbroiderWriter.java:2272
↓ 1 callersMethodgetDistTransform
(boolean[] booleanImage, int m, int n)
src/processing/embroider/PEmbroiderTrace.java:25
↓ 1 callersMethodget_jef_hoop_size
(int width, int height)
src/processing/embroider/PEmbroiderWriter.java:1869
↓ 1 callersMethodget_thread_color
(int i)
src/processing/embroider/PEmbroiderWriter.java:1886
↓ 1 callersMethodhatch
(ArrayList<PVector> poly)
src/processing/embroider/PEmbroiderGraphics.java:3689
↓ 1 callersMethodhatchAngle
Change angle of parallel hatch lines @param ang the angle from +x in radians @see hatchAngleDeg @see hatchAngles
src/processing/embroider/PEmbroiderGraphics.java:399
↓ 1 callersMethodhatchAngles
Change angles of parallel and cross hatching lines @param ang1 the angle from +x in radians (for parallel hatches and the first direction of cro
src/processing/embroider/PEmbroiderGraphics.java:415
↓ 1 callersMethodhatchCustomField
Hatch a polygon with custom vector field The vector frontend to customField @param poly the polygon @param vf the vector field @param d
src/processing/embroider/PEmbroiderGraphics.java:2897
↓ 1 callersMethodhatchDrunkWalk
Hatch a polygon with the DRUNK style (not a particularly useful style, just to showcase how easy it is to add a new one). The vector implementation
src/processing/embroider/PEmbroiderGraphics.java:3035
↓ 1 callersMethodhatchDrunkWalkRaster
Hatch a polygon with the DRUNK style (not a particularly useful style, just to showcase how easy it is to add a new one). The raster implementation
src/processing/embroider/PEmbroiderGraphics.java:3062
↓ 1 callersMethodhatchInset
hatch a polygon with CONCENTRIC (a.k.a inset) mode (using vector math). a simplified version of hatchInset(4) where orientation of polygon is always
src/processing/embroider/PEmbroiderGraphics.java:2366
↓ 1 callersMethodhatchPerlin
Hatch a polygon with PERLIN mode. The vector frontend to perlinField @param poly the polygon @param d hatch spacing @param len the
src/processing/embroider/PEmbroiderGraphics.java:2860
↓ 1 callersMethodhatchSatinAngledRaster
(PImage im, float ang, float d, int n)
src/processing/embroider/PEmbroiderHatchSatin.java:765
↓ 1 callersMethodhatchSpiral_v3
(ArrayList<PVector> poly, float d, int maxIter, boolean checkOrientation, boolean reverse)
src/processing/embroider/PEmbroiderGraphics.java:2586
↓ 1 callersMethodhighBezier
Compute a point on a higher-order bezier curve @param P points and control points @param t the interpolation parameter (generally 0-1)
src/processing/embroider/PEmbroiderGraphics.java:3840
↓ 1 callersMethodinsetPolygonsRaster
(ArrayList<ArrayList<PVector>> polys, float d)
src/processing/embroider/PEmbroiderGraphics.java:1508
↓ 1 callersMethodlerp360
Lerp a number around 360 degrees, meaning lerp360(358,2) gives 0 instead of 180 Useful for lerping hues and angles @param h0 the first number @param
src/processing/embroider/PEmbroiderGraphics.java:5003
↓ 1 callersMethodmain
()
src/processing/embroider/PEmbroiderGraphics.java:5756
↓ 1 callersMethodmergePolylinesByColor
(int i0, int i1)
src/processing/embroider/PEmbroiderGraphics.java:5383
↓ 1 callersMethodnewSolution
()
src/processing/embroider/PEmbroiderGraphics.java:5742
↓ 1 callersMethodopt2
(ArrayList<Edge> edges, int maxIter)
src/processing/embroider/PEmbroiderTSP.java:108
↓ 1 callersMethodoutsetPolygonsRaster
(ArrayList<ArrayList<PVector>> polys, float d)
src/processing/embroider/PEmbroiderGraphics.java:1550
↓ 1 callersMethodpdfString
(float[] bounds, ArrayList<PVector> stitches, ArrayList<Integer> colors, ArrayList<Boolean> jumps)
src/processing/embroider/PEmbroiderWriter.java:2224
↓ 1 callersMethodperfectDistanceTransform
Computes the accurate distance transform by actually mesuring distances (slow). See PEmbroiderTrace for the fast approximation @param polys the polyl
src/processing/embroider/PEmbroiderGraphics.java:5059
↓ 1 callersMethodputChar
(int[] cmap, char c, float ox, float oy, float scl, ArrayList<ArrayList<PVector>> out)
src/processing/embroider/PEmbroiderFont.java:17
↓ 1 callersMethodputText
(int[] cmap, String s, float ox, float oy, float scl, int align)
src/processing/embroider/PEmbroiderFont.java:65
↓ 1 callersMethodquadraticBezier
Compute a point on a quadratic bezier curve @param p0 first point @param p1 control point @param p2 last point @param t the interpolation
src/processing/embroider/PEmbroiderGraphics.java:3820
← previousnext →101–200 of 408, ranked by callers