Module: Rough
- Defined in:
- lib/rough.rb,
lib/rough/op.rb,
lib/rough/svg.rb,
lib/rough/random.rb,
lib/rough/options.rb,
lib/rough/version.rb,
lib/rough/geometry.rb,
lib/rough/renderer.rb,
lib/rough/generator.rb,
lib/rough/fillers/dot.rb,
lib/rough/hachure_fill.rb,
lib/rough/fillers/hatch.rb,
lib/rough/fillers/dashed.rb,
lib/rough/fillers/zigzag.rb,
lib/rough/points_on_path.rb,
lib/rough/fillers/hachure.rb,
lib/rough/points_on_curve.rb,
lib/rough/fillers/registry.rb,
lib/rough/path_data_parser.rb,
lib/rough/fillers/zigzag_line.rb,
lib/rough/fillers/scan_line_hachure.rb
Defined Under Namespace
Modules: Fillers, Geometry, HachureFill, PathDataParser, PointsOnCurve, PointsOnPath, Renderer Classes: Drawable, Generator, Op, OpSet, PathInfo, Random, ResolvedOptions, SVG
Constant Summary collapse
- DEFAULTS =
{ max_randomness_offset: 2, roughness: 1, bowing: 1, stroke: "#000", stroke_width: 1, curve_tightness: 0, curve_fitting: 0.95, curve_step_count: 9, fill: nil, fill_style: "hachure", fill_weight: -1, hachure_angle: -41, hachure_gap: -1, simplification: nil, dash_offset: -1, dash_gap: -1, zigzag_offset: -1, seed: 0, stroke_line_dash: nil, stroke_line_dash_offset: nil, fill_line_dash: nil, fill_line_dash_offset: nil, disable_multi_stroke: false, disable_multi_stroke_fill: false, preserve_vertices: false, fixed_decimal_place_digits: nil, fill_shape_roughness_gain: 0.8 }.freeze
- VERSION =
"0.1.0"