An initial commit for gw2. Some key usability features are still missing from the calculator in order for me to justify such a big new set of files to be merged into dev or mainline.
This includes code to gather item databases and recipe databases from the GW2 API, however it does not yet support Mystic forge recipes as those are not available on the API, possibly due to their dynamic nature.
[ ] Dynamic rendering of items.
[ ] Chunking of item images and item lists (this meta-item image is 24.6MB after compression. Sending that whole thing all the time could be a major slowdown.
[ ] Efficient cache policy and hash suffixes to prevent as much re-downloading as possible.
[ ] Splitting out the compressed json into its own file so it can be cached separately from the calculator page.
[ ] Some sort of nonlinear scale for sankey chart. Previous to this I imagined it could be solved with a simple is_currency value that would scale some things. But now it looks like it might be better off to go with a dynamic logarithm instead.
[ ] Speedups to generation, hopefully most of the scaling slowdowns for this are because of the minification process of the json data. This step can be eliminated completely if the generated json is already compressed. Without these the amount of time taken to generate the entire website increases significantly
An initial commit for gw2. Some key usability features are still missing from the calculator in order for me to justify such a big new set of files to be merged into dev or mainline.
This includes code to gather item databases and recipe databases from the GW2 API, however it does not yet support Mystic forge recipes as those are not available on the API, possibly due to their dynamic nature.
is_currency
value that would scale some things. But now it looks like it might be better off to go with a dynamic logarithm instead.