Commit Graph

3720 Commits

Author SHA1 Message Date
Dustin Carlino
f986dd8683 switch back to upstream fast_graphs, using the new 32-bit wasm-friendly
serialization. no measured performance impact. file sizes shrink!
2020-04-05 09:41:51 -07:00
Dustin Carlino
0bec946dce resurrect another color scheme idea 2020-04-04 18:28:30 -07:00
Dustin Carlino
b62c293104 start some in-progrss color schemes for rapid prototyping 2020-04-04 18:13:45 -07:00
Dustin Carlino
5a28f399fc convert to horizontal color legend in few more places 2020-04-04 17:03:26 -07:00
Dustin Carlino
2c38a945e9 overlays: include layer icon, adjust padding, try a horizontal scale for
pop map, smaller text, better "X" buttons
2020-04-04 16:35:53 -07:00
Dustin Carlino
d995a494dd dont draw some overlays when zoomed in 2020-04-04 16:01:44 -07:00
Dustin Carlino
c477897b1b always display layer's panel, even when zoomed in 2020-04-04 14:54:11 -07:00
Dustin Carlino
51d91640e4 load different colorschemes in another way 2020-04-04 14:29:45 -07:00
Dustin Carlino
b09c7d2726 moved rest of colors over 2020-04-04 14:15:34 -07:00
Dustin Carlino
8b6485b233 persistent split buttons for time increments. still need few tweaks, but
largely there
2020-04-04 13:22:14 -07:00
Dustin Carlino
edffcf3db7 small time/speed panel changes. also learning a little more about when
padding actually works in flexbox...
2020-04-04 12:06:06 -07:00
Dustin Carlino
4d8ab45750 slowly moving string colors to the struct 2020-04-04 10:59:51 -07:00
Dustin Carlino
fd80a7f2a9 starting the grand colorscheme refactor (there really are lots of grand
refactors lately). plumbing and replacing constants / floating methods
2020-04-04 10:16:18 -07:00
Dustin Carlino
af2708df67 goodbye eyes, hello colored checkboxes. also switch to a vertical
visibility panel when unzoomed. [rebuild]
2020-04-03 17:41:20 -07:00
Dustin Carlino
eedbb2b967 rearrange minimap controls. nearly matching the new design. 2020-04-03 16:46:11 -07:00
Dustin Carlino
e0acc4973b actually, i don't need to support changing font or size mid-line yet. simplifies some info panel code. 2020-04-03 14:26:17 -07:00
Dustin Carlino
24acb27934 force override width to make the table look nice 2020-04-03 13:35:20 -07:00
Dustin Carlino
5ba468f4cf SVG border-radius is sometimes a lie. mimic the dirty trick. 2020-04-03 13:22:05 -07:00
Dustin Carlino
2d4095fd8d except for layout/style, I think the trip/agent panels now have the
right information
2020-04-03 13:02:23 -07:00
Dustin Carlino
88bad05d39 clean up agent properties. lots of tweaks needed, but i'm exhausted 2020-04-02 21:36:19 -07:00
Dustin Carlino
51a81fc74d handle people being in the same building, bus stop, and bus in one
uniform way. also the first unit tests in an amusingly long time
2020-04-02 16:08:20 -07:00
Dustin Carlino
29c86d656d plumb more info in sim events. this will allow for some consolidated pandemic modeling 2020-04-02 15:12:46 -07:00
Dustin Carlino
c12775e5ea change the pandemic model to be a first-class, optional part of Sim 2020-04-02 14:30:18 -07:00
Dustin Carlino
1e63078096 pandemic model ideas:
- use a priority queue to handle events more sanely
- seed with all people
2020-04-02 13:38:14 -07:00
Dustin Carlino
0b6418bdb6 finally make autocomplete a real widget 2020-04-02 13:33:42 -07:00
Dustin Carlino
6f56bf64bf dismantle the old draw_text_at, clean up a few more ezgui APIs and
callers
2020-04-02 12:02:14 -07:00
Dustin Carlino
2fe6303f9c fix some buttons not having correct hover state when composites are
replaced due to time passing or values changing. handle for restoring
scroll state and realigning panels.
2020-04-02 11:27:21 -07:00
Dustin Carlino
a31d3baf1d create a spinner widget, replace some bad heatmap sliders with it 2020-04-02 11:03:27 -07:00
Dustin Carlino
87cc45752d better person headers 2020-04-01 17:18:29 -07:00
Dustin Carlino
ef90c6935c use the locate header button to follow/unfollow people 2020-04-01 15:50:11 -07:00
Dustin Carlino
70875d104d Scenario should just have specific trips. split a different structure for generating Scenarios. has the happy side effect of removing lots of weird old spawning code, duplicated checks 2020-04-01 13:50:36 -07:00
Dustin Carlino
9138097e9e add a legend to the heatmap 2020-04-01 11:49:09 -07:00
Dustin Carlino
5c69c6e221 change heatmap to use gaussian instead of weird diffusion. still looks
odd.
2020-04-01 11:38:41 -07:00
Dustin Carlino
199b175319 change the mouse cursor based on context [rebuild] 2020-04-01 10:23:28 -07:00
Dustin Carlino
93227a138b ありがとう, Mr Roboto. You've served us well, but switch to Overpass 2020-04-01 09:32:52 -07:00
Dustin Carlino
b28507c247 don't crash when prebaked analytics gets out of sync 2020-04-01 09:17:52 -07:00
Dustin Carlino
648cca2673 use the new generic histograms to draw heatmap colors binned by percentile, not fixed size buckets (although actually this is bad too! TODO: log scale) 2020-03-31 21:28:05 -07:00
Dustin Carlino
62b49ad884 refactor: properly generic histogram, and remove unnecessary boilerplate
from Plot. Rust generics are so awesome.
2020-03-31 20:57:50 -07:00
Dustin Carlino
e12e788716 work on more small style improvements of info panels [rebuild] 2020-03-31 17:27:25 -07:00
Dustin Carlino
2181d8a56d two sanity refactors
- btreeset macro
- switch to "ID #123" by default
2020-03-31 16:40:07 -07:00
Dustin Carlino
f733763f73 get trip panel closer to the new design. start trying to use fixed size
panels [rebuild]
2020-03-31 15:46:46 -07:00
Dustin Carlino
509eb87bf5 merge status and trips pages. and go back to latest lyon after fix in
https://github.com/nical/lyon/issues/558
2020-03-31 14:45:07 -07:00
Dustin Carlino
8ed2d596ff basic accordians for trips 2020-03-31 14:21:03 -07:00
Dustin Carlino
7be5b3f34a change settings live for traffic/delay graphs [rebuild] 2020-03-31 12:31:40 -07:00
Dustin Carlino
6809330dda um, heatmap implementation had a very big problem, counting only one person per bldg. fixed. also changed my mind on splitting the overlay method for pandemic/normal 2020-03-31 10:47:24 -07:00
Dustin Carlino
c49fc20a88 checkbox to toggle running the pandemic model in the population map 2020-03-31 10:33:59 -07:00
Dustin Carlino
b16aceaa9a be more precise with building entry/exit events. they can also happen when a car parks inside a building's garage. also emit events at the start of day to get rid of the weird initial case. 2020-03-30 22:31:36 -07:00
Dustin Carlino
7f35d06c96 prototyping an example of finding overlapping time indoors by "infected"
agents
2020-03-30 22:12:48 -07:00
Dustin Carlino
2cce8b5446 info panel for bus stop links to bus panels. delete the very weird overlays. [rebuild] 2020-03-30 18:00:28 -07:00
Dustin Carlino
cfacb90777 make dashboard show bus routes, then jump to a bus 2020-03-30 17:46:39 -07:00