Skip to content

Jagged coastline#1392

Merged
Azgaar merged 19 commits intomasterfrom
jagged-coastline
Apr 26, 2026
Merged

Jagged coastline#1392
Azgaar merged 19 commits intomasterfrom
jagged-coastline

Conversation

@Azgaar
Copy link
Copy Markdown
Owner

@Azgaar Azgaar commented Apr 25, 2026

No description provided.

Azgaar and others added 6 commits April 25, 2026 00:15
Co-authored-by: Copilot <copilot@github.com>
…ering

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…pe preview visuals

Co-authored-by: Copilot <copilot@github.com>
@Azgaar Azgaar self-assigned this Apr 25, 2026
Copilot AI review requested due to automatic review settings April 25, 2026 00:26
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 25, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit f2548c6
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/69ee910df130de00086090fe
😎 Deploy Preview https://deploy-preview-1392--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a fractal-based coastline renderer (“jagged coastline”) and wires in a small UI editor to tweak coastline roughness parameters at runtime, changing how feature polygons (coastlines/islands/lakes) are converted into SVG paths.

Changes:

  • Added a new coastline fractalization module that subdivides polygon edges and generates mixed smooth/jagged SVG path segments.
  • Updated feature rendering to use the new fractalized coastline path builder instead of d3’s curveBasisClosed.
  • Added a coastline settings dialog (sliders + previews) and adjusted default sea island stroke width.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/renderers/index.ts Loads the new coastline editor/controller and coastline fractal module via side-effect imports.
src/renderers/draw-features.ts Switches feature path generation to fractalized coastline shapes + custom path builder.
src/renderers/coastline-fractal.ts New fractalization + path construction logic for “jagged coastline” rendering.
src/controllers/coastline-editor.ts New UI dialog to edit coastline parameters and preview roughness/shape.
public/styles/default.json Tweaks default #sea_island stroke width to match new coastline visuals.

Comment thread src/renderers/coastline-fractal.ts
Comment thread src/renderers/coastline-fractal.ts
Comment thread src/renderers/coastline-fractal.ts
Comment thread src/controllers/coastline-editor.ts Outdated
Comment thread src/renderers/index.ts Outdated
Comment thread src/renderers/index.ts
Comment thread src/renderers/draw-features.ts
@Azgaar Azgaar merged commit 57e39a1 into master Apr 26, 2026
8 checks passed
@Azgaar Azgaar deleted the jagged-coastline branch April 26, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants