Dustin Carlino
9591699463
start working on cancelling future trips. uncovered a few bugs, but this
...
is a step forwards
2020-04-08 10:38:26 -07:00
Dustin Carlino
b508a0a8f8
show individual pandemic state in info panels (and some formatting
...
tweaks)
2020-04-08 08:50:44 -07:00
Dustin Carlino
d4af10ae2d
fix email formatting
2020-04-07 17:55:11 -07:00
Dustin Carlino
e4e83e225a
update credits
2020-04-07 17:46:29 -07:00
Dustin Carlino
ac3e4ee233
update an ezgui API from another branch, so the git diff isnt crazy
2020-04-07 17:02:06 -07:00
Dustin Carlino
6b7d7891df
tweak name of parking layer, and dont have to zoom out anymore, since the minimap will change
2020-04-07 16:01:38 -07:00
Dustin Carlino
8d785c3645
publish a proper roadmap / job listing
2020-04-07 15:38:53 -07:00
Dustin Carlino
2ddb3a4f2b
just rename overlay -> layer in the code, be consistent with naming in the UI
2020-04-07 14:13:25 -07:00
Dustin Carlino
2afd83a1b9
orient all layer scales from good (green) to bad (red). make better
...
labels.
2020-04-07 14:12:03 -07:00
Dustin Carlino
09c4cf7284
fix some layouting problems in the layers panel
2020-04-07 12:38:28 -07:00
Dustin Carlino
00994535cd
fade map before drawing layers
2020-04-07 11:48:12 -07:00
Dustin Carlino
cd420fe3c0
warmup: refactor overlay colors into the centralized place
2020-04-07 11:21:53 -07:00
Dustin Carlino
22ea48a355
repeat a weekday scenario many times to experiment with longer-term pandemic modelling
2020-04-06 15:20:29 -07:00
Dustin Carlino
7ff9a90516
use colored checkboxes in plot too. generate the shape programatically.
2020-04-06 14:45:22 -07:00
Dustin Carlino
ebf31c33e6
preserve plot settings over time. also dropdowns
2020-04-06 14:05:59 -07:00
Dustin Carlino
5868fe4736
let plots have a chance to update themselves. hacky.
2020-04-06 12:16:54 -07:00
Dustin Carlino
694b1f6cc9
prep for all plots to have toggleable series.
2020-04-06 11:41:06 -07:00
Dustin Carlino
fadae3aa85
improve checkbox API, use it for colored minimap checkboxes
2020-04-06 11:12:23 -07:00
Dustin Carlino
696077a460
new release
2020-04-05 18:27:00 -07:00
Dustin Carlino
3e462cda90
cargo fmt, mostly just to trigger [rebuild]
2020-04-05 18:20:19 -07:00
Orestis
ec29ade70e
Pandemic modeling ( #46 )
...
* i think I managed to add a field that analyses who stands at a bus stop
* draining the people at waiting a bus stop in analytics and resturning the stopid, pedestrianid and times of arrival and leave
* trying to add sccache to see if it speeds up the compil
* small update
* need libm to have the erf function
* added pandemic stuff
* must check probabilities bug with them
* removed explicit sane state and refactored probas to correct bug. looks to be working. added info about pandemic situation
* moved the code of transition E/I/R
* i think its working now. every time we check for a dt around t0 + tinf
* updated value
* removed warning from mutable_borrow_reservation_conflict
* updated comments
* started adpting code
* refactoring models
* game compiles. must still adapt overla
* corrected bug
* added count of different catergories of people
* added quarantined state to see how it work but nothing implemented yet. trying to generalize a bit parameters
* made the model a bit more generic. not there yet though
* corrected bug
* rustfmt
* Update game/src/common/overlays.rs
Co-Authored-By: Dustin Carlino <dabreegster@gmail.com>
* Update sim/src/pmodel/mod.rs
Co-Authored-By: Dustin Carlino <dabreegster@gmail.com>
* Update sim/src/pandemic.rs
Co-Authored-By: Dustin Carlino <dabreegster@gmail.com>
* corrected compilation error. and bug
* modified the dir structure
Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2020-04-05 13:41:37 -07:00
Dustin Carlino
2ef76b5e7c
generate nicer active agent area diagram, use in jump-to-time
2020-04-05 13:10:31 -07:00
Dustin Carlino
ae96627711
add the separator to split btns
2020-04-05 12:16:51 -07:00
Dustin Carlino
fec2bb51ca
start organizing ezgui internal constants into a Style struct
2020-04-05 11:57:27 -07:00
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