# Geometry

Line Style Geometry Overall UI

In this tab you control the geometry of your strokes.

## Modifiers

There are thirteen geometry modifiers available. These modifiers have no mix nor influence settings, as they always completely apply to the strokes’ geometry (like object modifiers do). They take the resulting two-dimensional strokes from the Freestyle line set and displace or deform them in various ways.

As with other modifier stacks in Blender, they are applied from top to bottom.

### 2D Offset

The 2D Offset modifier adds some two-dimensional offsets to the stroke backbone geometry. It has two sets of independent options/effects:

Line Style Geometry's 2D Offset modifier
Start and End
These two options add the given amount of offset to the start (or end) point of the stroke, along the (2D) normal at those points. The effect is blended over the whole stroke, so if you, for example, set only Start to 50, the start of the stroke is offset 50 pixels along its normal, the middle of the stroke, 25 pixels along its own normal, and the end point isn't moved.
X and Y
These two options simply add a constant horizontal and/or vertical offset to the whole stroke.

### 2D Transform

Line Style Geometry's 2D Transform modifier

The 2D Transform modifier applies two-dimensional scaling and/or rotation to the stroke backbone geometry. Scale is applied before rotation.

The center (pivot point) of these 2D transformations can be:

Stroke Center
The median point of the stroke.
Stroke Start
The beginning point of the stroke.
Stroke End
The end point of the stroke.
Stroke Point Parameter
The Stroke Point Parameter factor controls where along the stroke the pivot point is (0.0 means start point; 1.0 end point).
Absolute 2D Point
The Pivot X and Pivot Y allows you to define the position of the pivot point in the final render (from the bottom left corner). WARNING: Currently, you have to take into account the real render size, i.e. resolution and resolution percentage!
Scale X and Scale Y
The scaling factors, in their respective axes.
Rotation Angle
The rotation angle.

### Backbone Stretcher

Line Style Geometry's Backbone Stretcher modifier

The Backbone Stretcher modifier stretches (adds some length to) the beginning and end of the stroke.

Backbone Length
Length to add to the strokes’ ends.

### Bezier Curve

Line Style Geometry's Bezier Curve modifier

The Bezier Curve modifier replaces the stroke by a Bezier approximation of it.

Error
The maximum distance allowed between the new Bezier curve and the original stroke.
Bezier Curve modifier demo by T.K. ファイル:Toycar bezier.zip

### Blueprint

Line Style Geometry's Blueprint modifier

The Blueprint modifier produces blueprint-like strokes using either circular, elliptical, or square contours. A blueprint here refers to those lines drawn at the beginning of free-hand drawing to capture the silhouette of objects with a simple shape such as circles, ellipses and squares.

Shape
Which base shapes to use for this blueprint: Circles, Ellipses or Squares.
Rounds
How many rounds are generated, as if the pen draws the same stroke several times (i.e. how many times the process is repeated).
Random Radius and Random Center
For the Circles and Ellipses shapes. Adds some randomness to each round in the relevant aspect. Using more than one round with no randomness would be meaningless, as they would draw over each other exactly.
Backbone Length and Random Backbone
For the Squares shapes. The first adds some extra length to each edge of the generated squares (also affected by the second parameter). The second adds some randomness to the squares.

Note that the Min 2D Length feature from the Strokes settings is quite handy here, to avoid the noise generated by small strokes…

### Guiding Lines

Line Style Geometry's Guiding Lines modifier

The Guiding Lines modifier replaces a stroke by a straight line connecting both of its ends.

Offset
Offset the start and end points along the original stroke, before generating the new straight one.

This modifier will produce reasonable results when strokes are short enough, because shorter strokes are more likely to be well approximated by straight lines. Therefore, it is recommended to use this modifier together with one of the splitting options (by 2D angle or by 2D length) from the Strokes panel.

Guiding Lines modifier Demo by T.K. ファイル:Toycar Guiding Line.zip

### Perlin Noise 1D

Line Style Geometry's Perlin Noise 1D modifier

The Perlin Noise 1D modifier adds one-dimensional Perlin noise to the stroke.

Frequency
How dense the noise is (kind of a scale factor along the stroke).
Amplitude
How much the noise distorts the stroke in the Angle direction.
Seed
The seed of the random generator (the same seed over a stroke will always give the same result).
Octaves
The “level of detail” of the noise.
Angle
In which direction the noise is applied (0.0° is fully horizontal).

### Perlin Noise 2D

Line Style Geometry's Perlin Noise 2D modifier

The Perlin Noise 2D modifier adds one-dimensional Perlin noise to the stroke.

Its settings are exactly the same as the Perlin Noise 1D modifier.

TODO: What’s the difference between those two modifiers?

### Polygonization

Line Style Geometry's Polygonization modifier

The Poligonization modifier simplifies strokes as much as possible (in other words, it transforms smooth strokes into jagged polylines).

Error
The maximum distance allowed between the new simplified stroke and the original one (the larger this value is, the more jagged/approximated the resulting polylines are).

### Sampling

Line Style Geometry's Sampling modifier

The Sampling modifier changes the definition, precision of the stroke, for the following modifiers.

Sampling
The smaller this value, the more precise are the strokes. Be careful; too small values will require a huge amount of time and memory during render!

### Sinus Displacement

Line Style Geometry's Sinus Displacement modifier

The Sinus Displacement modifier adds a sinusoidal displacement to the stroke.

Wavelength
How wide the undulations are along the stroke.
Amplitude
How high the undulations are across the stroke.
Phase
Allows “offsetting” (“moving”) the undulations along the stroke.
Sinus Displacement modifier demo by T.K. ファイル:Toycar Sinus.zip

### Spatial Noise

Line Style Geometry's Spatial Noise modifier

The Spatial Noise modifier adds some spatial noise to the stroke.

TODO: definition of "spatial noise"!

Amplitude
How much the noise distorts the stroke.
Scale
How wide the noise is along the stroke.
Octaves
The level of detail of the noise.
Smooth
When enabled, apply some smoothing over the generated noise.
Pure Random
When disabled, the next generated random value depends on the previous one; otherwise they are completely independent. Disabling this setting gives a more “consistent” noise along a stroke.

### Tip Remover

Line Style Geometry's Tip Remover modifier

The Tip Remover modifier removes a piece of the stroke at its beginning and end.

Tip Length
Length of stroke to remove at both of its tips.