Staaarter

Generate a Cesaro Fractal

Applies the Cesaro curve's construction rule, a Koch-like replacement rule using an 85 degree turn instead of 60, to a square base, producing the curve's characteristic torn-edge texture. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-08-05
By Staaarter Team
fractalgeneratorsvgl-system

Overview

Introduction

Change the turn angle in a Koch-style replacement rule away from the triangle-friendly 60 degrees, and the clean spikes give way to something rougher. The Cesaro curve, built at an 85 degree angle, is the classic example, a fractal boundary with a torn-paper texture instead of neat triangular bumps.

Set an iteration count and the tool renders the boundary as an SVG line drawing, downloadable as SVG or PNG.

What Is Generate a Cesaro Fractal?

A generator for the Cesaro curve, a Koch-family fractal that swaps the standard 60 degree turn for an 85 degree one, applied to all four sides of a square base.

The output is an unfilled, closed outline rendered as a single stroked SVG path.

How Generate a Cesaro Fractal Works

The starting axiom is a square, four sides joined by 90 degree corners. At each iteration, every segment is replaced by a five-part path that turns 85 degrees, forward, -85 degrees, forward, tracing an asymmetric detour instead of the Koch curve's symmetric triangular bump.

Because 85 degrees doesn't divide evenly into the geometry the way 60 degrees does for a triangle, the resulting notches overlap and stagger against each other as iterations accumulate, producing the curve's signature torn-edge appearance.

The rule is applied uniformly to all four sides of the square, so the outline stays closed at every iteration, and the final path is normalized to the SVG viewbox for both the SVG and PNG downloads.

When To Use Generate a Cesaro Fractal

Use it when you want a fractal boundary with a rougher, more organic torn-paper texture rather than the crisp triangular spikes of a standard Koch curve.

It's also useful for demonstrating how sensitive Koch-style rules are to the turn angle, small changes away from 60 degrees produce visibly different textures.

Features

Advantages

  • Produces a distinctive torn-edge texture in a single render, no manual tuning of angles required.
  • Closed outline at every iteration, useful as a self-contained shape rather than an open line.
  • Downloadable as scalable SVG or a flattened PNG.

Limitations

  • Capped at 5 iterations, since the notch overlap at 85 degrees makes very deep levels visually noisy rather than more informative.
  • Outline only, there is no fill option since the shape is rendered as a stroked path.

Examples

Iteration 0

Input

Iterations = 0

Output

A plain square outline, the unmodified starting axiom.

At zero iterations the Cesaro rule hasn't been applied yet, so the shape is just the base square.

Iteration 3 (default)

Input

Iterations = 3

Output

A ragged, torn-looking square boundary with overlapping notches from three rounds of the 85 degree rule.

Every side of the square has had the five-part 85 degree detour rule applied three times over.

Best Practices & Notes

Best Practices

  • Compare iteration 1 against the plain square to see a single pass of the 85 degree rule before moving to denser levels.
  • Use the SVG download if you plan to recolor or resize the outline in a vector editor, PNG for a quick raster embed.

Developer Notes

The curve comes from the shared L-system engine with axiom `F+F+F+F` and rule `F -> F+F-F-F+F` at an 85 degree turn angle, distinct from the 60 degree Koch and 90 degree quadratic Koch presets that otherwise share the same square axiom. Iteration is capped at 5.

Generate a Cesaro Fractal Use Cases

  • Generating a torn-paper or ragged-edge fractal texture for design work
  • Teaching how the turn angle, not just the replacement rule shape, drives a Koch-family curve's visual character
  • Producing a downloadable SVG asset of a documented angle-variant fractal curve

Common Mistakes

  • Assuming this is just a Koch curve at a different iteration count, the difference is the turn angle itself, 85 degrees instead of 60.
  • Expecting perfectly clean triangular spikes, the 85 degree angle is exactly what produces the rougher, overlapping torn-paper look.

Tips

  • Compare this side by side with Quadratic Koch Island, both start from a square, but the turn angle and rule shape change the texture completely.
  • Try the hexagon-based Cesaro Polyflake to see the same angle-variant idea applied to a different base shape.

References

Frequently Asked Questions