mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-30 12:47:13 -06:00
A blend whose keys are blends draws each of its steps as a copy of a key, and that copy makes its own steps when it is drawn, so step counts capped per pair multiplied with nesting: five levels of 15 steps were 1.3 million steps from a 23 KB file, 3.4 GB to export. A blend now makes at most 100,000 steps in all (MAX_BLEND_STEPS), counting the steps of the blends inside its keys and steps. Past the budget each pair of keys keeps the same share of its steps; a copy of a blend spaced by distance counts the most steps its spacing can make, since scaling it up adds steps. Blends within the budget draw every step as before.