Commit Graph

11 Commits

Author SHA1 Message Date
Stefan Rotsch
9948712690 style: run prettier on pre-commit hook 2023-06-01 16:49:41 +02:00
Eddie Whiteside
3b272dacb3 fix: deterministic behaviour for radar by storing the random fractions when generating rd.json (#372)
* Store the random blip positions when generating rd.json

Fixes: https://github.com/AOEpeople/aoe_technology_radar/issues/148

Simple solution to creating stable blips is to store the randomly generated angle and radius in rg.json.

Attempted a few hash functions but found it hard to spread blips 'nicely'
(they tended to clump into groups or sections of the radar).

* distribute points within .1 and .9 of the arc

---------

Co-authored-by: Bastian Ike <bastian.ike@bare.id>
2023-06-01 12:01:42 +02:00
Theresa Henze
36b63db14d fix: use same order of quadrants for radar and grid visualization
Refs: #141
2022-10-13 18:21:48 +02:00
Bastian Ike
37c43712d1 chore(codestyle): cleanup and reformat 2022-09-13 11:28:06 +02:00
Bastian Ike
5a5928f2dd Merge remote-tracking branch 'jar0s/feature/radar-chart' 2022-01-07 13:25:05 +01:00
Jarosław Marek
15feb9bc58 fix: Sort out Ring enum typing issues 2021-05-04 20:24:20 +12:00
Jarosław Marek
b1e63528dc Add types 2021-05-02 00:48:43 +12:00
Jarosław Marek
e8eff6bdab Re-order quadrants in the chart
so that the first one is in the top-left corner
2021-04-29 22:02:51 +12:00
Jarosław Marek
725b6f9924 Add basic typing to config objects
Also fixed the blips to be clickable
2021-04-29 21:48:44 +12:00
Jarosław Marek
13ba3120c3 Full Radar grid with chart 2021-04-28 23:25:52 +12:00
Jarosław Marek
ad4c8475f5 First stab at the radar chart 2021-04-28 00:33:49 +12:00