* 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>
* Suggesting Levantine as a new default namebase
Levantine namebase has 203 names of Phoenician, punic, hebrew and aramean origin. Names of places in real live.
the excerpt is: {name: "Levantine", i: 42, min: 4, max: 12, d: "krs-pn", m: 0, b: "namebase"}
This will allow to better represent some cultures.
- Carthaginian culture should have levantine namebase instead of berber.
Or maybe make two carthaginian, one with levantine and one with berber. Another option is to add Numidian culture with berber base.
_ In the namebase there are included some names for carthage. Keret Chadeshet and Kart-Hadasht are names for Carthage.
- This will allow phoenician and punic culture in an antique set.
- This will allow hebrew, and other levantine. (Urushalim is a name for Jerusalem).
There are questions with the number: i: 42, and what happens with old maps that have custom languages added in that spot.
* updated levantine namebase
Deleted the '-'. Reordered repeated letters.
* Added levantine cultures
Added Hebrew culture into: European set and all-world set.
Changed namebase of Carthaginian in Antique set from Berber (17) to Levantine (42) as per the conversation on discord thread FMG suggestions > Punic culture set.
This leaves the antique set with no native speaker of berber. If you want to have a culture that represent north-african people and berber different than carthage, we can add one.
Included Phoenician as a distinct culture with similar culture center formula than carthage "sort: i => n(i) / td(i, 20) / sf(i)" but with td(i, 20) because is the temperature of beirut and gives a difference with carthaginian.
Hebrew is included with " n(i) / td(i, 18) * sf(i) " because hebrew are pastoralists, and to differentiate the culture center from the phoenician that are near sea harbor.
* Revised length of namebases list. closer to 200
The namesbases with more than 200 items are reduced. The namesbases with less than 200 items have some added for better names.
* "German", i: 0, from 265 to 221
* "English", i: 1, from 237 to 220
* "French", i: 2, from 276 to 227
* "Italian", i: 3, from 321 to 226
* "Castillian", i: 4, from 365 to 217
* "Ruthenian", i: 5, from 258 to 200
* "Nordic", i: 6, from 249 to 201
* "Greek", i: 7, from 362 to 228
* "Roman", i: 8, from 187 to 200 🔼
* "Finnic", i: 9, from 279 to 225
* "Korean", i: 10, from 353 to 202
* "Chinese", i: 11, from 260 to 220
* "Japanese", i: 12, from 249 to 222
* "Portuguese", i: 13, from 334 to 207
* "Nahuatl", i: 14, from 88 to 200 🔼
* "Hungarian", i: 15, from 240 to 221
* "Turkish", i: 16, from 259 to 200
* "Berber", i: 17, from 146 to 200 🔼
* "Arabic", i: 18, from 318 to 222
* "Inuit", i: 19, from 295 to 227
* "Basque", i: 20, from 254 to 200
* "Nigerian", i: 21, from 362 to 209
* "Celtic", i: 22, from 162 to 200 🔼
* "Mesopotamian", i: 23, from 91 to 189 🔼
* "Iranian", i: 24, from 222 to 222
* "Hawaiian", i: 25, from 323 to 207
* "Karnataka", i: 26, from 227 to 227
* "Quechua", i: 27, from 164 to 200 🔼
* "Swahili", i: 28, from 222 to 205
* "Vietnamese", i: 29, from 121 to 200 🔼
* "Cantonese", i: 30, from 246 to 216
* "Mongolian", i: 31, from 181 to 200
Fantasy ones:
* "Human Generic", i: 32, from 330 to 214
* "Elven", i: 33, from 338 to 216
* "Dark Elven", i: 34, from 200 to 200
* "Dwarven", i: 35, from 184 to 184
* "Goblin", i: 36, from 109 to 109
* "Orc", i: 37, from 300 to 200
* "Giant", i: 38, from 200 to 200
* "Draconic", i: 39, from 216 to 211
* "Arachnid", i: 40, from 300 to 215
* "Serpents", i: 41, from 200 to 200
* Update names-generator.js
I put the default list of names for:
German, English, French, Ruthenian and Nordic.