Commit graph

1066 commits

Author SHA1 Message Date
Azgaar
79c1e2abd9 new style - styleCyberpunk 2022-02-05 19:19:49 +03:00
Azgaar
b414bae705 supporters update 2022-02-05 17:46:42 +03:00
Azgaar
69a26c37d7
Merge pull request #734 from Azgaar/burg-temperature-graph
Burg temperature graph refactoring
2022-02-05 17:15:05 +03:00
Azgaar
65409a9d97 set width to auto 2022-02-05 17:13:54 +03:00
Azgaar
c65292f53c Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into burg-temperature-graph 2022-02-05 17:13:32 +03:00
Azgaar
f65bc63ab3 pump version to 1.72 2022-02-05 17:08:48 +03:00
Azgaar
6abed0cdf4 burg temperature graph - UI and data corrections 2022-02-05 16:54:59 +03:00
Azgaar
d99c24e0de burg temperature graph - clean up 2022-02-04 01:40:41 +03:00
Azgaar
6beb262e91 burg temperature graph - clean up 2022-02-04 01:33:11 +03:00
Azgaar
5f0be0401e burg temperature graph - corrections 2022-02-04 00:13:10 +03:00
Ilia Pushkin
ccb75570da
Graph of temperature changes for the year in the burg (#733)
* Option for exporting grid cell (#731)

* Added Save Option for Api-like json export.
Will be updated and set to a scheme

* Save Option for Api-like added

* Moved UI of json export to export dialog.
Moved json export to another file named export-json.js

* Added Seperated json export selections
- all JSON : exports all json data.
- minimal JSON : exports json data without cells data.
- cells JSON : exports json data only with pack.cells data.

* More Stable Cell Export...

* Grid cells export option.

* Graph of temperature changes for the year in the burg

I'm bad at writing in English. Please excuse me for this.
It seems illogical to me the parameter of the average temperature for the year in the burg.
Therefore, I found a database of meteorological measurements at https://ru.climate-data.org/
And I analyzed it. With the help of a neural network. I approximately established the dependence of Dy[X] and Dd[X], Md[X] = f(t,p,l).
Dy[X] - how much the temperature in winter differs from the temperature in summer
Md[X] - how much the temperature during the day differs from the temperature at night, on average per year
Dd[X] - how much the temperature difference between day and night is not constant in winter and summer
t - average temperature for the year
p - average rainfall for the year
l - latitude
Now, for each city, you can plot the temperature change. Based on t,p and l.

ATTENTION!!!
The characteristics of the planet and its orbit coincide with those of the earth!

Further, I will use the Russian language, if you want to know my reasoning, please use the Google Translate capabilities.

Я изменил свою первоначальную идею и доработал её. Что касается качества и используемых функций - жду критики. JavaScript - не знакомый мне язык и я не уверен, что выполнил всё верно.
Что касается самой идеи - её реализация пока далека от совершенства. Я понял, что если установить в настройках мира температуру на экваторе ниже, чем на Земле, то графики получаются слишком далекими от реальности. Эта ошибка связана с тем, что Dy[X] зависит от широты, а не среднегодовой температуры. К сожалению добиться хорошей сходимости удалось только расширением нейросети - ещё больше магических чисел.
Теперь, на основе прошлой выборки из 899 городов, попущенных через нейросеть миллион раз среднеквадратичная ошибка стала 3%.
Входными данными для сети являются широта и влажность, а средняя температура иcпользуется только как ориентир при построении графиков.

* Add legnd in graph

* Editing Coefficients

The coefficients have been changed so that the sign of the latitude does not affect the result

Co-authored-by: Efruz Yıldırır <30903352+yldrefruz@users.noreply.github.com>
2022-02-03 10:21:50 +03:00
Efruz Yıldırır
6fea480fad
Option for exporting grid cell (#731)
* Added Save Option for Api-like json export.
Will be updated and set to a scheme

* Save Option for Api-like added

* Moved UI of json export to export dialog.
Moved json export to another file named export-json.js

* Added Seperated json export selections
- all JSON : exports all json data.
- minimal JSON : exports json data without cells data.
- cells JSON : exports json data only with pack.cells data.

* More Stable Cell Export...

* Grid cells export option.
2022-01-28 14:44:46 +03:00
Azgaar
2608a27a34 export json - Foundry should go below 2022-01-26 18:17:07 +03:00
Azgaar
3fe225e293 export json cleanup 2022-01-26 18:13:32 +03:00
Efruz Yıldırır
503eabd9d4
Api-Like map save option (#730)
* Added Save Option for Api-like json export.
Will be updated and set to a scheme

* Save Option for Api-like added

* Moved UI of json export to export dialog.
Moved json export to another file named export-json.js

* Added Seperated json export selections
- all JSON : exports all json data.
- minimal JSON : exports json data without cells data.
- cells JSON : exports json data only with pack.cells data.

* More Stable Cell Export...
2022-01-26 17:16:54 +03:00
Azgaar
8d92110157 fill-box - keep height as a parameter 2022-01-22 18:39:05 +03:00
Azgaar
ae72a96f7e Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2022-01-22 17:48:04 +03:00
Azgaar
8184b416b9 fill-box web component 2022-01-22 17:47:56 +03:00
Azgaar
9e5b87c6de
Delete CNAME 2022-01-17 21:22:31 +03:00
Azgaar
ede2241d62
Create CNAME 2022-01-17 21:21:05 +03:00
Azgaar
002558785a about page and F1 page update 2022-01-16 20:15:47 +03:00
Azgaar
fbc0158736 seed history small style change 2022-01-16 19:49:20 +03:00
Azgaar
214bc7a40d allow more states via number input 2022-01-16 19:37:16 +03:00
Azgaar
207b564180 improve MFCG link generation 2022-01-16 14:54:30 +03:00
Azgaar
dbe84ea015 improved namesbase analysis 2022-01-15 17:19:55 +03:00
Azgaar
acacf395f6 bulk upload burg names - more clear help text 2022-01-15 15:14:36 +03:00
Azgaar
e06356aa57 allow to edit MFCG link 2022-01-13 00:43:57 +03:00
Azgaar
6981d0f710 Supporters update 2022-01-10 19:30:51 +03:00
Azgaar
2db5e35feb fix syntax 2022-01-10 16:54:26 +03:00
Ángel Montero Lamas
7a594241c1
religions-generator.js (#724)
Sorted the lists, arrays and weighted arrays of items in alphabetical order. Some remain in the order assigned by weighted random.
I think this helps people spot missing items on the list if they check by name.
The number of items is the same, they just got reordered.
2022-01-10 16:13:29 +03:00
Ángel Montero Lamas
db46a9d94e
Lalitude main.js (#723)
Changed lalitude to latitude
2022-01-09 11:53:02 +03:00
Ángel Montero Lamas
71a3d05334
Update main.js (#722) 2022-01-07 20:26:34 +03:00
Azgaar
a55e8d96ff lock burg - values is boolean, not 1/0 2022-01-01 19:09:50 +03:00
Azgaar
18acadfd80 lock all burgs - optimization 2022-01-01 19:06:51 +03:00
Ángel Montero Lamas
f3d3538ff5
Added lock/unlock all (#713)
* Added lock/unlock all

Lock All , Unlock All as separate buttons. Additionally to InvertLock.

* Update burgs-overview.js

Updated the syntax to the one suggested by Azgaar.

* Lock/unlock in one button

Unlock all burgs and lock all burgs in just one button.
Additionally to invert lock.

* lock unlock in burgs-overview.js

Added a way to check if burgs are locked or unlocked with the lock all button, so it works in any situations about locking.

* burgs-overview.js lock all

Changed burgsonoff to setLockBurgs, also put setLockIcon.

* index.html burgsonoff to burgsLockAll

* Update burgs-overview.js

spacing
2022-01-01 18:56:22 +03:00
Azgaar
44c134ebd0 diplomacy - change relations from matrix 2021-12-31 19:57:39 +03:00
Ángel Montero Lamas
ec054a1333
Adding some state and province forms to FMG (#714)
* Update burgs-and-states.js

* Update burgs-and-states.js

* Adding state and province form to the list

* typo in index.html

* deleted some suggested forms

Deleted some forms of state and province. Some are still suggested to add.

* Updated burgs-and-states.js

Worked eparchy, exarchate, patriarchate, captaincy and seneschalty.

* index.html alphabetical order state forms

alphabetical order for Patriarchate in theocracy group
2021-12-31 19:06:39 +03:00
Azgaar
3ee430543a diplomacy - short name if full is too long 2021-12-31 19:05:53 +03:00
Azgaar
f22e0aa81f diplomacy - ux changes 2021-12-31 18:50:00 +03:00
Azgaar
865afdc2aa diplomacy - change relations screen 2021-12-31 18:21:37 +03:00
Azgaar
05217d176d scale previpitation layer circles 2021-12-30 19:24:48 +03:00
Azgaar
604dcfacf6 normalize prec, flux and river width 2021-12-30 18:49:36 +03:00
Azgaar
f08b77bd6a add details to rivers json export 2021-12-29 23:23:27 +03:00
Azgaar
8efce5dcd9 supporters update 2021-12-29 22:15:04 +03:00
Azgaar
c20bcc1502 ensure marker id is unique 2021-12-29 22:11:45 +03:00
Azgaar
6ad2f34639 configMarkers - edit icons relative parent 2021-12-23 14:23:31 +03:00
Azgaar
f57f004f9e set MFCG iframe to preview mode 2021-12-16 00:51:12 +03:00
Azgaar
2001a07cc3
Merge pull request #712 from Avengium/wetland
Wetland
2021-12-15 22:30:52 +03:00
Ángel Montero Lamas
d2991643d0
Wetland
Added a function to calculate wetland in separated statements. Fixed some typos.
2021-12-15 18:12:56 +01:00
Azgaar
058cd568f2 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2021-12-12 22:49:21 +03:00