feat: port OutlinedPathLayer from ubilabs/outlined-path-layer#484
Closed
feat: port OutlinedPathLayer from ubilabs/outlined-path-layer#484
Conversation
Port the OutlinedPathLayer from https://github.com/ubilabs/outlined-path-layer into @deck.gl-community/layers. This layer extends PathLayer to add a true colored border/outline around paths, with configurable outline color, width, and units. This is fundamentally different from the existing PathOutlineLayer which uses a two-pass shadowmap approach for z-level ordering. The OutlinedPathLayer adds per-path outline properties (getOutlineColor, getOutlineWidth, outlineWidthUnits, outlineMinPixels, outlineMaxPixels) rendered in a single pass with custom vertex/fragment shaders. Co-authored-by: charlieforward9 <62311337+charlieforward9@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Port outlined path layer to deck.gl community layers
feat: port OutlinedPathLayer from ubilabs/outlined-path-layer
Feb 15, 2026
Add an interactive example for the ported OutlinedPathLayer, ported from the ubilabs demo with full control panel: Width, Width Units, Outline Width, Outline Width Units, Outline Color, Width/Outline Min/Max Pixels, Cap Rounded, Joint Rounded, and Miter Limit. Uses sinusoidal weaving routes on a dark background to clearly showcase the outline effect. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0298e63 to
4a3a6f3
Compare
Collaborator
|
From the repo
Moving this to deck.gl-community would be a good first step towards this goal. |
ibgreen
approved these changes
Feb 16, 2026
pappkartoni
reviewed
Feb 17, 2026
pappkartoni
left a comment
There was a problem hiding this comment.
Thank you very much for porting this!
Looks good to me.
I agree this serves as a good first step to hopefully integrate this into base deck.gl at some point.
If I decide to make changes / add features I plan on doing so in the original repo so there might arise the need to update this here as well, just wanted to mention this.
Cheers
This comment was marked as outdated.
This comment was marked as outdated.
Collaborator
|
Inline with the discussion in #495 openjs-foundation/open-visualization#43 supercedes this |
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.
Ports
@ubilabs/outlined-path-layerinto@deck.gl-community/layers.Screen.Recording.2026-02-15.at.11.44.11.PM.mov
Changes
modules/layers/src/outlined-path-layer/— new layer directory with:outlined-path-layer.ts— extendsPathLayer, adds instanced outline color/width attributesoutlined-path-layer-vertex.glsl.ts— computes inner vs outline geometry via width ratiooutlined-path-layer-fragment.glsl.ts— branchless inner/outline coloringoutlined-path-uniforms.ts— uniform block for outline width units/min/maxmodules/layers/src/index.ts— exportsOutlinedPathLayerandOutlinedPathLayerPropsUsage
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/ubilabs/outlined-path-layer/contents/src/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.