Commit Graph

3699 Commits

Author SHA1 Message Date
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
Dustin Carlino
a2b064099e reorganize bus info when clicking on an actual bus 2020-03-30 17:39:14 -07:00
Dustin Carlino
06bb5e08e6 refactoring Color / FancyColor. remove hatching style 1 2020-03-30 16:15:32 -07:00
Dustin Carlino
0fb22b5f50 sloppy (and incorrect!) implementation of gradients. temporarily breaks
non-glium backends, about to cleanup.
2020-03-30 15:48:23 -07:00
Dustin Carlino
336e942464 small tweaks after the end of the info panel / contextual action
overhaul
2020-03-30 10:49:11 -07:00
Dustin Carlino
3900494b2e add back some form of the follow/unfollow control 2020-03-30 10:15:53 -07:00
Dustin Carlino
5bb5e70000 plumb PersonID in some events, to make it easier to do analysis about people spending time indoors 2020-03-30 09:36:02 -07:00
Dustin Carlino
a004a638a9 new release 2020-03-29 19:05:05 -07:00
Dustin Carlino
403232e48e woops, fix a tutorial crash from the refactor. and tweak a few info
panels [rebuild]
2020-03-28 23:05:24 -07:00
Dustin Carlino
da67fb0da1 seed actions correctly after warping 2020-03-28 19:05:01 -07:00
Dustin Carlino
16bef09ff9 stop putting action buttons on every tab 2020-03-28 18:56:52 -07:00
Dustin Carlino
49604f158e clean up the old per_obj key actions 2020-03-28 18:52:28 -07:00
Dustin Carlino
36979a2ae6 and tutorial, the last hurdle 2020-03-28 18:40:09 -07:00
Dustin Carlino
12c0809b23 converting the spawner over, one of the most complex 2020-03-28 17:48:50 -07:00
Dustin Carlino
56544d6b14 working on debug mode 2020-03-28 17:09:36 -07:00
Dustin Carlino
f32eaae197 porting some things for sandbox mode 2020-03-28 15:38:04 -07:00
Dustin Carlino
3307e1a41b trying to reign in the OSD. everything's good enough for the scenario
editor. trying other modes now.
2020-03-28 15:12:17 -07:00
Dustin Carlino
6172fa5215 prototyping a different way of specifying contextual actions 2020-03-28 14:55:54 -07:00
Dustin Carlino
dd9b43c990 simplify TurnCyclerState, only use it in sandbox mode. prep for cleaning up context-sensitive actions 2020-03-28 11:41:24 -07:00
Dustin Carlino
8288a4b6af fix unicode characters that arent in roboto 2020-03-27 16:56:34 -07:00
Dustin Carlino
6135fe606a highlight a certain person in a building [rebuild] 2020-03-27 16:36:23 -07:00
Dustin Carlino
a48f7a69b7 woops, dont forget cars parked inside buildings 2020-03-27 16:27:24 -07:00