Difference between revisions of "Extension reference"
|Line 253:||Line 253:|
Revision as of 20:31, 11 January 2010
A page with info about the Effects and particularly some PNGs / screenshots. To learn more about effects and how to write new ones, check out this page : Inkscape Effects
- 1 Color
- 2 Developer Examples
- 3 Export
- 4 Generate from Path
- 5 Images
- 6 Modify Path
- 7 Render
- 7.1 3D polyhedron
- 7.2 Alphabet soup
- 7.3 Barcode
- 7.4 Calendar
- 7.5 Cartesian grid
- 7.6 Draw from triangle
- 7.7 Foldable box
- 7.8 Function plotter
- 7.9 Gear
- 7.10 Grid
- 7.11 Guides
- 7.12 L-system
- 7.13 Parametric curves
- 7.14 Perfect-bound cover template
- 7.15 Polar grid
- 7.16 Printing marks
- 7.17 Random tree
- 7.18 Sequential labels
- 7.19 Spirograph
- 7.20 Triangle
- 7.21 Wireframe sphere
- 8 Visualise Path
Brightens the color(s) by dividing each RGB channel by 0.9. Channels with a value of 0 remain unaffected. Although brighter and darker are inverse operations, the results of a series of invocations will cause inconstancies due to rounding errors. Use More Light if you want to brighten up black areas as well.
Allows you to evaluate different functions for each channel. r, g and b are the normalized values of the red, green and blue channels. The resulting RGB values are automatically clamped.
Note: This effect is half broken in 0.45! The original values are overwritten by the new ones, which means things like the last example won't work as expected.
Default (doesn't change anything):
- Red Function:r
- Green Function:g
- Blue Function:b
Half the red, swap green and blue:
- Red Function:r*0.5
- Green Function:b
- Blue Function:g
ITU-R Recommendation BT.709 for grayscale:
- Red Function:0.2125 * r + 0.7154 * g + 0.0721 * b
- Green Function:0.2125 * r + 0.7154 * g + 0.0721 * b
- Blue Function:0.2125 * r + 0.7154 * g + 0.0721 * b
Darkens the color(s) by multiplying each RGB channel with 0.9. Although brighter and darker are inverse operations, the results of a series of invocations will cause inconstancies due to rounding errors. Less Light is usually a better option, because it operates in the HSL color space.
Desaturates the color(s) by dividing the sum of the minimum and maximum channel values by two. Use Grayscale if you want something closer to the human perception of luminance.
Creates a grayscale version of the color(s) via the PAL/NTSC formula (0.299 * RED + 0.587 * GREEN + 0.114 * BLUE).
Converts to HSL color space, subtracts 0.05 from the hue, wraps if necessary, and converts it back to RGB again.
Converts to HSL color space, subtracts 0.05 from the lightness, clamps if necessary, and converts it back to RGB again.
Converts to HSL color space, subtracts 0.05 from the saturation, clamps if necessary, and converts it back to RGB again.
Converts to HSL color space, adds 0.05 from to hue, wraps if necessary, and converts it back to RGB again.
Converts to HSL color space, adds 0.05 from to lightness, clamps if necessary, and converts it back to RGB again.
Converts to HSL color space, adds 0.05 from to saturation, clamps if necessary, and converts it back to RGB again.
Inverts each RGB channel (255-value).
Converts to HSL, randomizes hue and/or saturation and/or lightness and converts it back to RGB.
Sets the blue channel to 0.
Sets the green channel to 0.
Sets the red channel to 0.
Replaces a specific color with another one.
Rotates the RGB channels (RGB->BRG->GBR->RGB...).
Groups to PNGs
Generate from Path
- Number of steps
Creates translucent copies of the path inside and outside the path.
Iterpolate does a linear interpolation between 2 or more paths. It basically means that it "fills in the gaps" between the paths according to the number of steps given.
To use the interpolation effect, select the paths that you wish to interpolate, and go to Effects > Generate From Path > Interpolate. Choose your options, and Click OK.
View figure 1 below, where there are 2 identical paths.
Here is the result when the interpolation effect is called with a "Steps" value of 6.
One of the great features of the inkscape interpolation is "transform style", which transforms the
It appears that you need to convert an object to a path first (Path > Object to path ; Shift-Ctrl-c). You can alter the number of steps used and choose one of two methods.
Pattern along Path
Star pattern and a line path:
Pattern along path:
- Copies of the pattern
- Deformation type
- Space between copies
- Normal offset
- Tangential offset
- Pattern is vertical
- Duplicate the pattern before deformation
- Deformation type
Adds extra nodes to the segments of a shape according to the options set.
Color Markers to Match Stroke
- Maximum Displacement
- Shift Nodes
- Shift Node Handles
- Use Normal Distribution
3D polyhedron draws polyhedra stored in OBJ files. A selection of polygons are provided with Inkscape, and others can be used by selection Load From File... in the extension dialogue.
Alphabet Soup generates a series of shapes that resemble a given text string.
Renders a data string as various types of barcode. Choices are:
Generates a rather impressive calendar according to your own colours, month/day names etc.
Generates a Cartesian Grid according to your parameters. The default looks like this:
Draw from triangle
Draws various shapes based on a triangle you have selected.
Produces a net that you could print out and fold & stick into a box. Nets look something like this:
Allows you to render guides onto the page at regular positions horizontally and vertically.
For example, choosing Vertical 1/3 and Horizontal 1/3 renders 'rule of thirds' guides—three horizontal and three vertical, equally spaced.
Perfect-bound cover template
- Font Size
- Dot Size
To use, select one path consisting of only line segments and apply the effect. Kochify will replace the given path with a path that has a copy of the original path in between each two adjacent nodes in the original path. If the original path input has bezier curves, the effect will effectively replace them with lines and then apply the effect. For more information about Kochify from a developers perspective, look here. Requires: python.