Repository navigation
Conversation
Preserve full-resolution brush textures and align pressure, flow, grain, and dual-brush blending across the shared renderer. Keep odd-sized brush heads centered when filtering them for smaller previews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brush rendering and stock artwork
This updates how imported brushes build opacity, apply grain and combine a second brush. It also tunes 13 presets in the new stock library against their saved sample strokes.
The app loads 288 remade brush-head and grain images at the original dimensions. Their source artwork is in
assets/stock-sources/. Three full-resolution variants inassets/stock/preserve the water-flicks black level, the chipboard midtones and the hard tip's clean edge. The stock catalog keeps the encoded artwork available and decodes full-size pixels as brushes use them.Blotch previously placed its full-pressure preview stamp completely off the canvas. Its pressure curves now bring a firm stamp back under the pen while retaining light-pressure scatter. Mosaic, Kerguelen and Toscana have adjusted grain scales so the larger images retain the intended repeat sizes.
Verification
Integration
Merged upstream
mainat16a2da58into the reviewed branch. The merge preserves the PR's brush settings, second-brush behavior, grain sampling, wet-edge pooling and full-resolution artwork. It also incorporates upstream's GPU fallback and device-loss handling. The 21 downloadable Legacy sets now match the app's exports, including all 204 previews.All 214 new-stock presets rendered at their reference sizes. At 327 × 100 with the initial rotation held constant, all 13 tuned presets matched the reviewed PR exactly. Of all 214 presets, 213 matched exactly. Cinnamon differed by one level in one pixel.