Choosing a fill while the Shape Builder was active (a swatch, the Color
panel, the Fill box or a paint command) ran paint.setFill on every
selected path, so all of them took the color. With Pick Color From set
to Color Swatches the tool merges with the current fill, so the pick is
the color for the next merge.
While the Shape Builder is active, a fill chosen without ids, id or item
now changes only the current fill, with either Pick Color From: with
Color Swatches the next merge fills with it, and with Artwork merges
still take their look from the art. A stroke chosen then still goes to
the selection. Swap Fill and Stroke and Default Fill and Stroke change
only the paint for new art, and Swap gives the current fill the stroke
the Stroke proxy shows. This is VectorCraft's own rule; no default
setting changes.
- painting_tool_of says which tool paints with the chosen fill or
stroke: the Live Paint Bucket with both, the Shape Builder with the
fill. Session::tool_paints(stroke) replaces bucket_paints, so the
paint and gradient commands, previews, the proxies, the Stroke panel
and the Gradient panel's eyedropper follow it for each kind.
- A new selection does not replace the tool's fill for new art, with
New Art Has Basic Appearance on or off, and new art is not linked to
a graphic style whose fill it does not have.
- A cancel puts back a fill previewed for the tool, also after another
tool was chosen during the drag.
- An Eyedropper pick armed for a stop of the tool's gradient samples
only into a stop of that gradient, and ends once that stop is gone.
Choosing another tool drops the stop the pick was armed for, and a
pick armed while the Eyedropper waits for a Cmd-drag keeps its stop.
- The paint.freeform commands refuse the Shape Builder's fill as they
refuse the Live Paint Bucket's colors, which lie on no object. For
the gradient either tool paints with, the Color panel, the Gradient
panel, the stop popover and swatch drops edit its stops instead of
points, and the Gradient panel shows its Draw toggle, ramp and stop
fields in place of the point controls. paint.editGradient keeps the
given stops of a freeform gradient that has no points yet.
- A gradient command that names no kind edits the proxy in front when
the tool paints with it, else the kind the selection's active
Appearance row stands for.
- set_paint lists the commands that painted no object in unpainted.
- Params text and docs/mcp.md describe the rule.
Help (Pick Color From, Color Swatches):
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/draw-shapes/shape-builder-tool-options.htmlhttps://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=266https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=267
- A chosen script that script.run would refuse (a missing file, one larger
than 8 MiB, bad parameters) ends script.startup.run with script.run's
error before any startup script runs.
- When a queued run ends, the next one starts at the following pump, so
the ended run's report stays for the status bar. The queue counts as a
running script, so other runs and edits stay refused in that gap, and
Stop asked for in it stops the run that starts next.
- Queued runs that could not start show in the status bar in the same
frame, and the reply's failed list is not shown there again.
The progress-doc entry now says that above the 100,000-point overlay
limit, counting 4 points for each linked image's or placed document's
lines, both the current pane and other panes draw one rectangle around
the selection instead of outlines and crossing lines.
A filter run, a plug-in command, or a run that calls commands applied its
output through Session::edit, which records an undo step and marks the
document modified even when the output changes nothing. The output is now
applied to a copy first, as colorcmds::edit_if_changed does: only a copy
whose objects or kept documentData differ becomes the document, as one undo
step. Otherwise the document, its undo history and its saved state stay as
they were, and the run's objects are still selected.
Docs: params text of plugin.run and plug-in commands, docs/plugins.md,
docs/mcp.md, docs/target-app-parity.md.
The selection marks test now also checks a distorted linked image and a
turned or distorted embedded image, the key object's outline alone and
the hover highlight, each along the image's frame and without lines
across it. A new test checks that the first canvas frame after View >
Hide Edges draws nothing in the layer's color for a selected linked
image. The render check comment uses American spelling.
A fit made in the main window while its display was being read counted
from 96 points to an inch until the reading arrived, so the zoom field,
the tab title and the zoom stops counted from a different density than
the window's other views. The fit now counts from the last reading, and
the reading, when it comes, keeps the fit's zoom, also when the views are
settled again before it arrives.
An app that draws no frames now still reads the displays again a minute
after the last reading: it asks for a frame then.
Tests now cover Actual Size after a fit that gave the same zoom, a
Navigator thumbnail click, and a floating OS window's display readings
(first display, a move, off every display, a fit, and docking back).
docs/mcp.md now states which views keep their zoom at the first reading,
that X11 and Wayland are read on Linux only, that headless sessions and
the CLI count 96 points to an inch, and that the preference also applies
in Pixel Preview. The progress line names the two rules that differ from
the help page.
At plug-in API level 2 a command may give `menu`: `{"path": [...],
"after"?: label}`. The menus list it in that menu, right after the
built-in item `after` names (either label of an item that switches
between two), or at the end of the menu, with the plug-in's name in
parentheses after its label. Keyboard Shortcuts, the command palette
and `command_list` list it under that menu, and `plugin.list` gives its
`menu` with `after` escaped.
A manifest may name 14 menus of Edit, Object, Type, Select, Effect and
View. File, Window, Help, the application menu and the submenus that
list files, fonts, panels or plug-ins are refused when the module is
installed, as is any other `menu`, an `after` that is not 1-64
printable characters and a repeated `menu`. A command whose label with
the plug-in's name reads like a built-in item or submenu of that menu,
or like a command a plug-in with a lower id places there, stays in its
plug-in's submenu, and `plugin.list` and `plugin.inspect` mark it
`placed: false`. The desktop app and `vectorcraft-cli` give the same
result. Commands of several plug-ins at one spot are listed in plug-in
id order and then manifest order. A plug-in whose commands are all
placed elsewhere is a single item in Object › Plug-ins. At API level 1
the key is ignored, repeated or not.
A selected linked image or placed document now shows two lines in its
layer's color from corner to corner of its frame, in the current pane
and in other panes of the same document. A selected embedded image
shows its outline alone. An image is outlined along its frame, so a
turned or distorted image's outline follows its corners. The lines are
selection marks: View > Hide Edges hides them, the hover highlight
does not draw them, and output is unchanged. The overlay's point
limit counts their ends where they are drawn.
Fixes#9080
- PageItem.editable is false for art on a locked artboard, as remove()
refuses it. A group on a locked artboard is measured once for all its
members.
- The lists of page items are kept for the last four documents read, so
a script that reads two documents in turn does not walk each one again
on every index.
- crates/engine/src/store.rs: each stored plug-in's load reports how
much of its file it read. What a failed read did not read goes back to
the 512 MiB the stored plug-ins may read together, on every platform;
the permission check before the loads is removed. A file that what is
left does not cover, but would if earlier reads failed, waits until
those reads are done, so the files still install in file-name order.
Disabled files and file stamps are taken once, when the store is
listed. A file's content is compared with its loaded module at install
only when the file was modified less than 2 s before the store was
listed; the clock is read only when a file was listed. A grant the load
removed goes back for a later file with the same id only when the
grants file has no entry for the id, and each install turn reads the
grants file once. At quit, a stored load takes no locks and a folder
load does not wait for the store's turn or for another window that is
changing the plug-ins.
- crates/engine/src/cmd/plugin.rs and crates/plugins/src/registry.rs:
when a folder load turns off the file of a plug-in disabled by its id,
the disabled list is saved in the same install turn, not only when the
load ends. A change made in another window while the folder is being
listed is one the load does not undo.
- crates/ui-egui: an export and File > Open install the plug-ins still
loading before they look up the formats, and a control request waiting
for the loads no longer asks for a frame of its own.
- crates/engine/src/file_access.rs: `ScopeHandle::capture` is as on
`main` again. The new `ScopeHandle::capture_now` keeps the process's
automation roots in force at capture time, and only the Additional
Plug-ins Folder's per-file check uses it.
- New tests: a stored file replaced with one of the same length and
modified time while it loaded is skipped; another window's
`plugin.list` reports a folder still loading as loading; a grant given
elsewhere after the load removed one is kept.
- docs/plugins.md: a module whose read and load take 10 s or longer is
skipped also when it would have finished later, and at quit the app
waits for the modules already loading, for at most 10 s. File > Open
waits for the loads. The Loading
paragraph and the docs/mcp.md lines are rewrapped.
Preferences › General › Display Print Size at 100% Zoom is now on by
default, also for saved preferences that predate the key; a saved
choice to turn it off stays off.
A document floating in an OS window of its own counts 100% from the
display that shows that window. A move of the main window leaves the
zoom of floating windows alone, and a window that moves to a display of
another density keeps its zoom percentage.
The desktop app lists the displays once a second while the preference
is on and reads their physical sizes on a background thread when the
list changes; the UI thread does not wait for the X11 or Wayland
queries. RandR is asked for its version before the CRTC and output
queries. A reading that fails is tried again after 10 seconds, and the
displays are read again a minute after the last reading, so a display
replaced by one that lists the same gets its own size.
The Navigator's zoom field, slider and thumbnail clicks count the zoom
from Actual Size, as the status bar's zoom field does; before, a click
on the thumbnail with the preference on changed the zoom. ui.inspect
gives screenPpi and printPpi. The preference's description is updated
in every catalog.
With Preferences › General › Display Print Size at 100% Zoom on, 100%
took 96 screen points to an inch on every display, so a ruler held to
the screen measured more or less than the document said on any display
of another density. The desktop app now measures the density of the
display that shows the main window from the physical size the system
reports (CGDisplayScreenSize on macOS, the monitor's raw DPI on
Windows, the RandR output's millimeters on X11, the wl_output geometry
on Wayland), and measures it again when the window moves to another
display, where every document window keeps its zoom percentage so the
art keeps its physical size. Actual Size, the zoom field, the zoom
stops and the tab titles count 100% from that density. Where the
system reports no size, or a size no display has (zero, an aspect
ratio given as the size, or axes that disagree), an inch stays 96
points, as on the web.
Zoom stepping takes the density from the app instead of a
process-wide flag, and the last zoom stop in each direction stays in
the zoom range.
encoded_len reports the bytes it decoded and stops at what the budget still
pays for; the skip charges them (one operation per 256 bytes). read_rows
charges what it decoded also when the data fails part way.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A filter's `notice` made only of default-ignorable characters that the
host keeps as they are (U+034F combining grapheme joiner, the Hangul
fillers, variation selectors, invisible operators, tags and the like) was
accepted and showed an empty status message. Such a notice now refuses the
output, as one of only zero-width characters already did. The visible
character must also fall within the part the status bar shows: a notice
whose visible text comes after the 200-character cut is refused instead of
showing only the ellipsis. Text with a visible character keeps these
characters, and its bidirectional ones are still escaped.
A painted live effect that returned `notice` was refused and drew its
input unchanged, while the docs said the key is ignored. The painted
decoder now ignores a top-level `notice` and still refuses any other
unknown top-level key; the message and its catalog rows say so.
A plug-in step of an action or a `command.batch` now shows its notice in
the status bar too; when several steps report one, the last shows. The
run's result carries `pluginName`, the name of the plug-in that ran, next
to `notice`, so the status bar names the right plug-in even when a later
step of the batch removes or replaces it. The `plugin.run` and plug-in
command params text lists the new keys.
Docs: docs/plugins.md, docs/mcp.md.
In a realm with `Options::es2015`, `Date.prototype[Symbol.toPrimitive]`
converts with `toString` first for the hints "string" and "default" and
with `valueOf` first for "number" (ECMA-262 11th edition, section
20.4.4.45). An object without an `@@toPrimitive` method, a Date whose
own method is `null` or `undefined` included, converts without a hint
with `valueOf` first (section 7.1.1.1), so `d + 1` gives 8 when
`valueOf` returns 7. A realm without the option keeps the ES5 order for
a Date.
`JSON.stringify` converts a Number or String object with ToPrimitive. A
`valueOf` or `toString` deleted from the object's own prototype is now
looked up further along the chain, so `Object.prototype.toString` is
called instead of the stored primitive value being returned.
A Symbol that an object's `@@toPrimitive` method gives as a property
key is rooted while the property is read or incremented, so it and its description
still count against the heap when a getter starts a collection.
- A string in `0b` or `0o` form converts to a number in a realm with
`Options::es2015`, so an array iterator over an object whose length
is "0b10" visits two elements. Realms without the option still read
such strings as NaN.
- `JSON.stringify` calls a String or Number object's `@@toPrimitive`
method before using its stored value, for the value itself, a
replacer list entry and the `space` argument.
- A host function that returns a Symbol in a realm without the option
throws a `TypeError`. A Symbol's description is charged to the heap
before it is built.
- A text function takes a Symbol as `String(symbol)` gives it, and a
data function refuses an object or array with an enumerable
Symbol-keyed property; checking the keys takes fuel.
- A Symbol-keyed lookup takes a unit of fuel for each prototype it
passes, and removing most of an object's Symbol keys releases their
storage.
A filter's manifest may list `writes`, the kinds among its `inputs` it
may change, at `api` 3 with `doc.write` in `permissions`. Such a filter
returns those objects with the fields it changes: type's runs and
paragraph styles, an image's transform and opacity, an instance's
transform and symbol (one already in the document), and each one's
name. Every value is checked as the input's limits and a path's paints
are; any other changed field, or a value out of range, refuses the run
naming the object and the field, and the document stays as it was.
The changes of one run are one undo step, and an output that changes
nothing records no undo step for any filter. Images are now also given
with their opacity.
Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.
With Relative chosen, OK in Corners turned the percentage into a length
from the first picked corner's maximum and sent that one length for every
picked corner. object.setLiveShape then stored it as a fraction of each
corner's own maximum, so corners with a different maximum (a star's points
and its inner corners) were rounded more or less than the percentage shown.
OK now works out the length for each corner from its own maximum. Corners
that get the same length share one object.setLiveShape; when they differ,
the calls run as one command.batch, a single undo step. The ui.corners
params text and docs/mcp.md name the relativeRadii field and the
percentage.
With slices set to Selected and no slice selected, Save Color Table
failed with "no selected slice in the image" although the dialog's
preview shows the whole image's table. Without a `slice` parameter the
command no longer looks up the slices; a `slice` is still looked up
among the slices `slices` names. The preview is unchanged.
Docs: docs/mcp.md.
A filter, or a live effect with commands, at plug-in API level 3 lists
`context` (settings, artboards, layers, swatches) with `doc.read` in its
permissions. Each filter or command run is then given those parts of the
active document in `_context.document`, whether or not anything is
selected: the document's name without its folder, color mode, units,
active artboard size, bleed and raster effects resolution; every
artboard's id, index, name, rectangle and whether it is active; every
layer and sublayer with its parent, depth, name, visibility, lock,
template, color and whether it is current; and every swatch as
swatch.list lists it. It holds no path, object or write handle, and
live-effect drawing, exporters and importers get none.
More than 10,000 rows or 4 MiB of them fail the run before the plug-in
starts, with the document unchanged, and each row takes 1,000
instructions from the run's budget. The install prompt names the wider
read. API_LEVEL is now 3, so older hosts refuse such a manifest.
plugin.list and plugin.info give `context`, and their params text names
it and API level 3.
The plug-in fuzz tests add hostile `context` manifests, installed and
run with and without a selection.
Docs: docs/plugins.md (Document information), docs/mcp.md,
docs/target-app-parity.md.
A `number` or `int` parameter may now declare `"widget": "slider"`, with
an optional `step` counted from `min`. The filter, live-effect and
exporter dialogs and the Appearance panel's effect editor then show a
slider over the parameter's range before its number field. The slider is
named by the row's label for screen readers and moves by the step with
the arrow keys. A value off the slider's steps, typed in the field or set
by a script, is kept until the slider is moved. Install refuses the keys
on any other parameter, on a range with no room, or with a step that
cannot apply, and the refusals have rows in every complete catalog.
Hosts from before these keys ignore them, as they do the other display
keys.
While a slider is dragged, the preview runs the plug-in at most about ten
times a second, on the latest value, and the value the drag ends on
always previews. In the Appearance panel a drag is one undo step.
`an_arc_drag_shows_the_protractor` clears the selection before each
round, so its clicks draw instead of editing the path the last round
left selected.
A filter's output may hold `notice`, one string reporting what the run did.
It needs no permission and no host import. Once the output is applied,
plugin.run and plug-in commands return it as `notice`, and the desktop app
and the web build show it in the status bar as `Plug-in “name”: notice`.
The status bar translates the words around it and never the notice.
The host trims the notice, escapes control, bidirectional and separator
characters, and cuts it at 200 characters, escapes included. A notice that
is not a string or has no visible character refuses the output, and nothing
changes. A run that declines, fails, is refused or is canceled shows none,
and a live effect's notice is ignored.
Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.
With Options::es2015 set, a vectorcraft-js realm has Symbol (ECMA-262
11th edition, section 19.4): Symbol(description), which new refuses,
the description getter, toString, valueOf, and Symbol.for and
Symbol.keyFor over a registry that lasts as long as the realm. typeof
gives "symbol". Symbols are property keys: Object.getOwnPropertySymbols
lists them in the order they were added, defineProperty,
getOwnPropertyDescriptor, freeze, seal, in, delete and hasOwnProperty
take them, and for-in, Object.keys, getOwnPropertyNames and
JSON.stringify leave them out. String(symbol) and symbol.toString()
give Symbol(description); any other conversion of a Symbol to a string
or a number throws a TypeError.
Symbol.iterator, asyncIterator, hasInstance, toPrimitive and
toStringTag are defined. Conversion to a primitive calls @@toPrimitive,
instanceof calls @@hasInstance, and Object.prototype.toString writes a
string @@toStringTag. Array.prototype.values (also @@iterator), keys
and entries, String.prototype[@@iterator] (by code point) and every
arguments object's @@iterator return iterators with next(). An Array
Iterator's next keeps its object reachable while a length getter or
valueOf runs script.
Each iterator step takes fuel, and each Symbol and registry entry
counts against the heap limit. An error about a Symbol-keyed property
names the Symbol by at most 256 units of its description, built only
when the error is thrown. String(symbol), symbol.toString() and the
[object tag] of Object.prototype.toString charge their copies to the
heap and fuel first. Realms without the option, including the one the
app runs scripts in, are unchanged. for-of, spread and destructuring
are not part of this change.
cargo xtask test262 runs the suite's Symbol, ArrayIteratorPrototype,
StringIteratorPrototype, getOwnPropertySymbols, Array.prototype
values/keys/entries/Symbol.iterator and String.prototype[Symbol.iterator]
tests in such a realm: 164 of 216 runs pass (6 before). The 52 others
expect a configurable function length and a function name property.
- The searches for all the selected objects share one limit of
134,217,728 distances from a point to an edge, as Add Bounding Circle
shares its splits, and each cell is measured only when the limit has
room for it. One search keeps at most 1,048,576 cells waiting. The
pathops crate adds inscribed_circle_within for a shared budget.
- The search stops once its best center is within the precision of half
the box's narrower side, so a long rectangle ends at its first cells,
and cells that cannot beat the best center are no longer queued.
- A fill much smaller than the precision still gets a circle: the
search keeps splitting until it finds a center inside the outline.
- The precision also follows the box of the area the fill rule leaves.
- Flattening stops at the first curve past the edge limit. An outline
that flattening closes up, or whose center lands outside the curves,
is flattened up to four times, 16 times finer each time; one it still
cannot resolve is too complex to measure, not empty. Areas are summed
from each contour's own first point.
- An outline with more than 262,144 anchors in its filled subpaths is
refused before it is resolved.
- A selected layer is refused like any other object that is not a path,
and inside an isolated compound path the circles join it, as Tangent
Circle's do.
- The menu item uses a named constant, and a UI test checks that it
runs the command with no dialog and selects a new live circle in each
selected shape, as one undo step.
- The params text and docs say that the 0.02 pt bound holds before the
circle is drawn 0.03% smaller, that a shape under 10 pt across is
measured to a five-hundredth of its narrower side, when long curves
are flattened more coarsely, and that edges can move by 1e-6 pt as in
the other path operations.
At launch, when Run Startup Scripts is on and the Startup Scripts folder is there but cannot be read, or a file is where the folder should be, the status bar says the folder cannot be read. The message does not carry the folder's path, so automation replies under read roots do not show it.
vectorcraft-cli attaches the same Startup Scripts folder for script.startup.run and never runs it on its own.
When another app held the system clipboard open or refused the write,
Cut removed the art and kept it in the internal clipboard, but every
Paste command then read the older contents that the other app had left
on the system clipboard, and pasted those contents instead of the cut
art. A failed Copy had the same fault.
A failed write is now recorded whether or not the copied formats have
text. Until another app copies something, every Paste command takes
the internal clipboard, and a paste into type or a text field takes
the copy's text, or nothing when the formats have no text. On macOS
the clipboard service now reports the pasteboard's change count, so a
later copy is noticed whatever the clipboard holds. Linux and the BSDs
have no change count: there a later copy is noticed only when it
changes the clipboard's text, so a failed write is kept only while the
clipboard held text at the failure.
The new tests run a failed Copy or Cut through the six Paste commands
and a paste into type, with the clipboard locked or the write refused,
with and without a change count, with On Copy: Include SVG Code off so
that the formats have no text, and over a picture another app copied.
A script run from a .js file now has Promise as ECMA-262 11th edition
section 25.6 defines it: the constructor, then, catch, finally, and
Promise.resolve, reject, all, allSettled and race. .jsx scripts and
scripts given as source keep the ES5.1 built-ins; a named engine gets
Promise at the first .js run that names it and keeps it.
- The callbacks run as jobs from one FIFO queue after the script's own
code ends and before the run ends, sliced like the script, with no
native recursion along a then chain. Each job takes 1 unit of fuel, so
an endless chain stops at the fuel limit.
- More than 1,048,576 waiting jobs end the run with a Jobs limit error.
A run that fails, hits a limit or is stopped drops its waiting jobs
and rolls back as before.
- A promise still rejected with no handler when the run ends goes to
the report's unhandledRejections (first 20) and unhandledRejectionCount,
and to the Script Console with its file, line and column.
- Until the language has iterators, all, allSettled and race take
arrays, objects with a whole-number length and strings, and the
statics always build plain Promise objects. Promise.any is not provided.
cargo xtask test262 now runs the suite's built-ins/Promise tests that
need only the built-ins present: 402 of 538 runs pass.
Docs: docs/mcp.md, docs/target-app-parity.md.
When the grants file was not well formed, was not JSON, was over 4 MiB
or its lock could not be taken, script.grants listed no grants and
Preferences said "No script has kept file access." while the file could
still hold grants.
script.grants now adds error, with the reason, when the file is there
and cannot be read or changed, and still lists the well-formed grants it
can read. Script File Access shows that error in place of the empty-list
line, with any rows that could be read. The grants file is not written.
The message has rows in the 25 complete-message catalogs, and the params
text and docs/mcp.md describe the field.
Extrude & Bevel's caps, Rotate's plane and Inflate's front and back took
their texture coordinates in the bounds of each part's own rings, so a
part smaller than its object had its coordinates stretched to its own
extent and did not line up with the object's other parts. They now use
the bounds the solid is built with, which every part of one object
shares, as the Turn, Placing and Camera transforms already do.
The test the_parts_of_one_object_place_their_caps_and_planes_in_its_shared_bounds
builds a small part inside a larger object's bounds with each effect and
checks every front and back corner against the shared bounds.
A New Document profile file that is a link or a folder is no longer read:
the read is exempt from a script's file gate, which never checked where a
link leads. file.new reports it as a profileError with the reason "not a
plain file".
Reading a DocumentPreset setting now counts the value it returns toward
the data a run may pass, as assigning it does, and addDocument counts the
preset's settings before copying them.
The removeAll() test on a locked artboard now also holds an object on an
unlocked artboard and checks it is still there after the call throws.
With automation read roots in force, script.grants names a script or a
path outside them by its file name alone, and script.grants.revoke
matches that name against the stored full path, so Revoke on such a row
removed nothing and said the access was already revoked.
Script File Access now reads the grants file, which is the app's own,
with no roots in force. Each row keeps its script and path whole for
script.grants.revoke and shows them as script.grants names them to the
request that opened Preferences. ui.inspect, the reply of ui.dialog.set
and the Reset Preferences question over the dialog name them the same
way and leave out the whole values; ui.dialog.set's reply also leaves
out the folder preferences outside the read roots, as ui.inspect does.
docs/mcp.md now says the measuring spacing is a target (at least 4 and at
most 1,024 pieces per curved segment, fewer on subpaths of more than 256
segments) and gives the acceptance test as formulas: t1 <= t0 + 0.001 * s
and fewer anchors, t0 - t1 >= 0.000001 * s, or b0 - b1 > 0.0001 * b0,
with s the larger of t0 and 1. The roughness doc comment says the points
are about `step` apart.