Commit graph

362 commits

Author SHA1 Message Date
Azgaar
f65bc63ab3 pump version to 1.72 2022-02-05 17:08:48 +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
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
8184b416b9 fill-box web component 2022-01-22 17:47:56 +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
dbe84ea015 improved namesbase analysis 2022-01-15 17:19:55 +03:00
Azgaar
e06356aa57 allow to edit MFCG link 2022-01-13 00:43:57 +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
f57f004f9e set MFCG iframe to preview mode 2021-12-16 00:51:12 +03:00
Azgaar
443459cb4e Tribes fix 2021-11-16 13:39:00 +03:00
Azgaar
e65370d9c4 burgs overview - intert lock state 2021-11-12 23:00:21 +03:00
Azgaar
4935d506b6 state labels mode 2021-11-07 20:55:13 +03:00
Azgaar
6de70f5897 buttons to release all provinces and regenerate culture name 2021-11-07 18:57:52 +03:00
Azgaar
043f71c174 fix scaleBar on svg export 2021-10-23 15:19:34 +03:00
Azgaar
120bf4a7eb split utils 2021-10-17 22:43:35 +03:00
Azgaar
b0e788b575 markers-overview - ability to invert lock and pinned statuses 2021-10-17 14:03:59 +03:00
Azgaar
5c90d6a6a4 urbanDensity - chage limits 2021-10-17 12:05:06 +03:00
Azgaar
cc82d258fa urbanDensity - save/load 2021-10-17 12:01:38 +03:00
dranorter
3f58b9f362
Watabou cities integration change, new Urban Density setting (#672)
* Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.

* new markers - monsters

* markers - fix bridges placement

* markers - fix number

* markers - sacred places

* markers - refactor functions

* markers - course generator for inns

* markers - course generator enhancement

* markers - bandits and pirates

* reset PRNG - make points generation deterministic

* use imperial measures for US only

* split save and export to different files

* remove unused js libs

* markers - statues

* markers - magic portals

* markers - magic portals fix

* markers - palm grove fix

* markers - round coords on zoom

* markers data rework - master data object

* markers rework - optional pin shapes

* markers rework - editor start, dragging

* markers rework - editor functions

* markers rework - editor UI

* editable theme color

* added self-hosted analytics

* collect statistics for a short period

* umami - we do'nt need html class events

* umami - don't collect if noTrack is set

* markers - add on click

* saveTiles clean up listeners on close

* markers - generate from config file

* config generate markers dialog

* config generate markers dialog fixes

* markers overview

* markers - export as geoJSON

* markers overview - export data to csv

* markers - auto-update on load

* markers overview - focus on marker

* burg editor - MFCG preview

* markers - generate tool + lock tooltip

* Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.

* Trying to put the formula in the right place

Again, sorry for the mess

* whoops

* Getting the equation right

* Change default

Co-authored-by: Azgaar <maxganiev@yandex.ru>
2021-10-17 11:48:56 +03:00
Azgaar
d06dba2d81 remove basic tracking 2021-10-13 11:10:11 +03:00
Azgaar
b438fedf9a remove advanced tracking 2021-10-13 11:09:04 +03:00
Azgaar
1a2243472b load modules in sync 2021-10-12 18:31:39 +03:00
Azgaar
576fb9a6d0 showMFCGMap option 2021-10-12 16:36:15 +03:00
Azgaar
f5065f0771 pump version to 1.71 2021-10-10 18:46:13 +03:00
Azgaar
01904f21af limit units - start 2021-10-10 00:59:51 +03:00
Azgaar
24b6023458 spelling fix 2021-10-09 18:12:39 +03:00
Azgaar
5a183af735 4 new textures 2021-10-09 16:01:55 +03:00
Azgaar
eb76ec8e48 remove default texture base64 2021-10-09 15:48:03 +03:00
Azgaar
bc46238f07 umami - reduce track calls 2021-10-08 00:32:49 +03:00
Azgaar
28f3828622 3d labels - don't create svg element 2021-10-07 23:59:38 +03:00
Azgaar
470e814a0e religion gen fix 2021-10-07 23:12:08 +03:00
Azgaar
ed3648a49e load in sync 2021-10-07 16:51:19 +03:00
Azgaar
126f662c72 markers overview - pin markers 2021-10-05 22:26:59 +03:00
Azgaar
0c18589140 markers overview - export data to csv 2021-09-28 11:01:00 +03:00
Azgaar
d2e9e007f7 config generate markers dialog fixes 2021-09-26 18:04:53 +03:00
Azgaar
60057c52ed markers - generate from config file 2021-09-25 21:49:34 +03:00
Azgaar
5d714c8c17 collect statistics for a short period 2021-09-24 01:00:03 +03:00
Azgaar
2a9edd2458 markers - generate tool + lock tooltip 2021-09-23 21:07:03 +03:00
Azgaar
84c97c487f added self-hosted analytics 2021-09-23 20:15:12 +03:00