Fantasy-Map-Generator/public/charges/arbalest.svg
Azgaar 9e0eb03618
[Migration] NPM (#1266)
* chore: add npm + vite for progressive enhancement

* fix: update Dockerfile to copy only the dist folder contents

* fix: update Dockerfile to use multi-stage build for optimized production image

* fix: correct nginx config file copy command in Dockerfile

* chore: add netlify configuration for build and redirects

* fix: add NODE_VERSION to environment in Netlify configuration

* remove wrong dist folder

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: split public and src

* migrating all util files from js to ts

* feat: Implement HeightmapGenerator and Voronoi module

- Added HeightmapGenerator class for generating heightmaps with various tools (Hill, Pit, Range, Trough, Strait, etc.).
- Introduced Voronoi class for creating Voronoi diagrams using Delaunator.
- Updated index.html to include new modules.
- Created index.ts to manage module imports.
- Enhanced arrayUtils and graphUtils with type definitions and improved functionality.
- Added utility functions for generating grids and calculating Voronoi cells.

* chore: add GitHub Actions workflow for deploying to GitHub Pages

* fix: update branch name in GitHub Actions workflow from 'main' to 'master'

* chore: update package.json to specify Node.js engine version and remove unused launch.json

* Initial plan

* Update copilot guidelines to reflect NPM/Vite/TypeScript migration

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Update src/modules/heightmap-generator.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/utils/graphUtils.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/modules/heightmap-generator.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat: Add TIME and ERROR variables to global scope in HeightmapGenerator

* fix: Update base path in vite.config.ts for Netlify deployment

* fix: Update Node.js version in Dockerfile to 24-alpine

---------

Co-authored-by: Marc Emmanuel <marc.emmanuel@tado.com>
Co-authored-by: Marc Emmanuel <marcwissler@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
2026-01-22 12:20:12 +01:00

39 lines
4.6 KiB
XML

<svg fill="#d7374a" stroke="#000" version="1.1" viewBox="50 50 200 200" xmlns="http://www.w3.org/2000/svg">
<g id="arbalest" stroke-width="0.288">
<g>
<g class="secondary">
<path d="m98.208 75.564-2.418-6.052 4.758-.027 3.455-.03-2.333 6.085.062 2.138 3.348-8.536-.222-.732-4.317.03-5.62.04-.213.734 3.46 8.482z"/>
<path d="M96.452 109.952c-.756-.381-2.16-.107-3.021.945-.828 1.003-.915 2.199-.785 3.243.266 2.123 1.214 3.76 1.826 5.805.437 1.443.892 3.375.651 4.85-.097.604-.347 1.746-.7 1.749-.163 0-.077-.264-.127-.664-.029-.231-.281-.426-.451-.473-.225-.045-.347-.031-.536.106a.71.71 0 0 0-.282.45c-.059.333.066 1.683 1.302 1.674 1.94-.013 2.19-4.067 1.687-6.304-.47-2.094-1.5-4.687-1.839-6.613-.17-.949-.129-1.96.463-2.78.598-.811 1.885-1.323 2.98-.957z"/>
</g>
<path d="M98.369 139.469S97.2 117.944 96.813 115c-.43-3.256-1.727-7.218-1.736-8.467l.863-8.695s1.276-.993 1.252-5.413c-.024-4.419-1.323-5.686-1.323-5.686l.9-13.135c-.005-.57 1.397-1.048 3.135-1.06 1.738-.012 3.146.446 3.15 1.016l-1.346 65.87s-.146.49-1.652.501c-1.507.01-1.687-.463-1.687-.463z"/>
<g stroke="none" fill="#000">
<path d="M98.986 139.458c-.69-16.227-1.147-33.14-1.417-49.383-.067-4.812-.163-11.716-.183-16.467l1.6 65.85z"/>
</g>
<path class="secondary" d="M101.456 78.012c.04 0 .068-.014.102-.035 2.747-2.198 6.975-2.424 10.333-.825 3.133 1.499 4.74 4.284 5.556 6.342s1.59 4.211 3.143 5.796c.807.822 1.877 1.446 2.896 1.643.89.177 1.752.028 2.379-.594.06-.061.17-.062.238.005.922.91 2.056.963 2.795.816.163-.029.273.174.145.29-1.35 1.218-3.346 2.027-5.725 1.582-2.175-.406-4.591-2.195-6.342-5.014-1.167-1.879-3.364-5.461-6.497-6.96-3.351-1.606-7.579-1.38-10.333.826-.027.027-.061.034-.102.034l-.122.001a.183.183 0 0 1-.102-.033c-2.778-2.16-7.008-2.327-10.343-.681-3.112 1.542-5.266 5.148-6.4 7.05-1.711 2.843-4.102 4.665-6.271 5.101-2.373.478-4.38-.302-5.747-1.5-.123-.108-.022-.32.14-.293.748.13 1.875.068 2.785-.855.06-.061.17-.076.237-.008.636.6 1.499.736 2.387.56 1.03-.21 2.085-.843 2.873-1.683 1.523-1.6 2.275-3.77 3.062-5.84s2.355-4.876 5.467-6.418c3.329-1.653 7.559-1.486 10.344.68.027.028.061.034.102.034z"/>
<g stroke="none" fill="#000">
<path d="M102.007 79.19c3.333-2.054 8.05-2.066 11.07.574 1.85 1.677 3.102 3.895 4.339 6.032 1.476 2.4 3.275 6.276 6.467 6.458.631.03 1.268-.07 1.878-.278-1.185.477-2.603.493-3.735-.15-2.27-1.308-3.474-3.764-4.793-5.914-1.257-2.116-2.48-4.293-4.298-5.977-2.978-2.614-7.574-2.643-10.928-.746z"/>
<path d="M74.348 92.321c4.314 1.464 6.48-3.25 8.252-6.29 1.254-2.214 2.493-4.551 4.436-6.248 2.997-2.533 7.586-2.524 10.878-.558-3.311-1.796-7.785-1.772-10.74.733-1.91 1.704-3.123 4-4.39 6.188-1.771 3.054-4.127 7.808-8.436 6.175z"/>
</g>
<g>
<path class="secondary" d="M100.612 105.844c-.291.158-.637.153-.937.007l-27.3-14.086a.342.342 0 0 1-.145-.454.342.342 0 0 1 .454-.146l27.306 14.079c.095.053.21.046.312-.002l27.107-14.459a.338.338 0 0 1 .456.14.338.338 0 0 1-.14.456z"/>
</g>
<circle class="secondary" transform="rotate(44.6)" cx="145.48624" cy="4.90095" r="1.3248"/>
</g>
<g>
<path class="tertiary" stroke-width=".24" stroke-linejoin="round" d="M100.368 85.555c.004 2.484.76 6.695 1.893 10.468.326 1.077.687 2.147.844 3.286.157 1.14.105 2.382-.37 3.356-.475.974-1.435 1.606-2.28 1.259l-.895.006c-.846.338-1.801-.28-2.283-1.254-.475-.98-.538-2.216-.376-3.35.161-1.136.52-2.21.839-3.285 1.12-3.776 1.865-7.99 1.868-10.468z"/>
<g stroke="none" fill="#000">
<path d="M100.627 92.416c.223 1.797.629 3.573 1.238 5.293a25.757 25.757 0 0 1-1.476-5.257z"/>
<path d="M100.46 95.649a25.256 25.256 0 0 0 1.583 5.202 25.473 25.473 0 0 1-1.814-5.147z"/>
<path d="M100.4 97.869c.223 1.797.63 3.573 1.238 5.293a25.757 25.757 0 0 1-1.475-5.258z"/>
<path d="M99.595 92.45c-.3 1.808-.79 3.577-1.457 5.265a24.887 24.887 0 0 0 1.22-5.297z"/>
<path d="M99.767 95.694a24.928 24.928 0 0 1-1.804 5.151 25.842 25.842 0 0 0 1.573-5.204z"/>
<path d="M99.83 97.9c-.3 1.808-.79 3.576-1.457 5.264a24.887 24.887 0 0 0 1.22-5.296z"/>
</g>
<path class="tertiary" stroke-width=".24" stroke-linejoin="round" d="m99.445 71.917.028 33.127s.15.175.557.172c.394-.003.515-.18.515-.18l-.027-33.113z"/>
<path class="tertiary" stroke-width=".24" stroke-linejoin="round" d="M99.947 60.142s-.513 3.472-2.244 5.379c.861.781 1.733 2.22 1.74 4.074l-.01 3.523s.15.176.558.173c.394-.003.514-.18.514-.18l.01-3.523c0-1.86.873-3.292 1.73-4.079-1.745-1.895-2.258-5.367-2.258-5.367z"/>
<g stroke="none" fill="#000">
<path d="M99.965 61.832a37.49 37.49 0 0 1 .008 6.049 38.288 38.288 0 0 1-.008-6.049z"/>
</g>
</g>
</g>
</svg>