ANTLII
CONTACT
FLAKEINFO
  1. Overview

FLAKE Tool

FLAKE is a parametric tool for creating complex symmetrical patterns and generative textures based on vector custom shapes. Built with p5.js, it uses a grid-based layout and a parameter-driven approach inspired by Signed Distance Function techniques: the distance from each point to the center of a tile is used to control the scale, color, and transformation of shapes across the canvas.


Tools Features:

  • A library of geometric vector shapes to get started quickly.
  • Support for custom vector shapes via drag-and-drop: Just drop your own SVG file onto the canvas. You can experiment with icons, glyphs, or abstract forms. The tool will transform and adapt the shape on loading and instantly implement it into the pattern.
  • Use of raster images as masks (PNG, JPEG, WebP): Drop an image onto the canvas, and FLAKE will analyze its brightness and transparency to modulate the scale and distribution of shapes in the pattern.
  • Preset system: The tool includes 30 various examples to explore and learn from. You can also export your own presets as a file, saving the combination of parameters and settings, including your custom SVG shapes and raster mask, and load them back at any time to revisit or iterate on previous compositions.
  • Dynamic animation of shapes, smoothly changing their size and color based on noise functions, allowing you to create looped motion art.
  • Customizable color palettes and blend modes for rich visual diversity.
  • A built-in randomization engine with fine-tuned control for fast exploration and unexpected results.
  • Flexible grid and symmetry options for building both orderly structures and chaotic textures.

FLAKE provides flexible export options, and its main advantage is the ability to export graphics in scalable SVG format, perfect for print and further editing. Animations can be exported as MP4 video files or as image sequences in ZIP archives for later assembly into a video using a tool like FFmpeg.

Performance and compatibility

Some technical tips regarding the use of the tool:

  • SVG Export — If you plan to edit an SVG that uses blend modes, I recommend Figma Design. Some effects, like Soft Light, can still look different from the canvas. In my tests, Adobe Illustrator reset CSS blend modes to Normal. SVG export is unavailable for Lighter, and XOR works in SVG only with Fill and a fully opaque Solid Color. If your settings fall outside SVG support, the tool offers to switch to PNG so you can save the frame.
  • Video Export: Video export may stop if the browser runs out of memory, especially with long or high-resolution videos. If this happens, try reducing the resolution or length of the video. For larger exports, you can also save a PNG sequence and convert it to video with FFmpeg. If the browser can’t encode an MP4 at the selected size, FLAKE suggests a lower Export Scale when it finds one the browser supports.
  • Mobile Support: The program is not designed to run on mobile devices.
  • Screen size: A minimum resolution of 800x600 is required.

Please let me know if you're running into any issues or discover a bug while using the program.

Credits

I would like to acknowledge the use of several third-party libraries and materials within this project and express my sincere gratitude to their creators for making these resources available:

  • The p5.js ↗ Creative Coding Library, a product of the collective efforts of an incredible team;
  • The Tweakpane ↗ interface library, ingeniously developed by Hiroki Kokubun;
  • The Paper.js ↗ project allowing to make magic with SVG format;
  • The Simplex Noise ↗ algorithm developed by Jonas Wagner;
  • Mediabunny ↗ by Vanilagy for MP4 video export.
  • fflate ↗ by Arjun Barrett for bundling exported frames into ZIP archives.

Technical details

Version
0.43.2
Inputs
SVG · Raster images
Exports
SVG · PNG / JPG / WebP · MP4 · PNG / JPG / WebP sequence
Presets
Save / load custom presets
Built with
p5.js · Paper.js