mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
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пользуется только как ориентир при построении графиков. |
||
|---|---|---|
| .. | ||
| 3d.js | ||
| battle-screen.js | ||
| biomes-editor.js | ||
| burg-editor.js | ||
| burgs-overview.js | ||
| coastline-editor.js | ||
| cultures-editor.js | ||
| diplomacy-editor.js | ||
| editors.js | ||
| elevation-profile.js | ||
| emblems-editor.js | ||
| general.js | ||
| heightmap-editor.js | ||
| hotkeys.js | ||
| ice-editor.js | ||
| labels-editor.js | ||
| lakes-editor.js | ||
| layers.js | ||
| markers-editor.js | ||
| markers-overview.js | ||
| measurers.js | ||
| military-overview.js | ||
| namesbase-editor.js | ||
| notes-editor.js | ||
| options.js | ||
| provinces-editor.js | ||
| regiment-editor.js | ||
| regiments-overview.js | ||
| relief-editor.js | ||
| religions-editor.js | ||
| rivers-creator.js | ||
| rivers-editor.js | ||
| rivers-overview.js | ||
| routes-editor.js | ||
| states-editor.js | ||
| style.js | ||
| temperature-graph.js | ||
| tools.js | ||
| units-editor.js | ||
| world-configurator.js | ||
| zones-editor.js | ||