Dustin Carlino
a27b029ff6
plumb errors for shifting polylines through more APIs. mostly no-op for
...
now, just switched everything to must_* variants, but this paves the way
for handling failures.
... except for rendering pedestrian crowds -- I _think_ I saw a crash
from that, and it's easy to have a fallback there
2020-08-12 08:18:10 -07:00
Dustin Carlino
8568690a7a
stop the dropdown from jumping around when opening it while sim is running
...
(the bug: open population layer while sim is running, click the color
scheme dropdown)
2020-08-12 07:19:00 -07:00
Dustin Carlino
bc4c1eaea6
make Filler responsive to window resizing
2020-08-11 17:28:27 -07:00
Dustin Carlino
a370b6aac6
move the traffic signal details into a tab. specialize make_signal_diagram for editing.
...
this is a step towards editing multiple traffic signals at once, and a design that yuwen has suggested many times before
2020-08-11 12:00:49 -07:00
Dustin Carlino
e38814563a
cleanup storymap code after menu refactor
2020-08-11 11:26:06 -07:00
Dustin Carlino
7443f4ba98
detangle the way Menus communicate results, removing the Clone
...
requirement and finishing off InputResult
2020-08-11 09:10:16 -07:00
Dustin Carlino
0749a2ac7b
start keeping goldenfiles for bus routes, similar to the screenshot diff test. this will make it much easier to finish up bus matching without accidentally regressing somewhere
2020-08-10 16:03:04 -07:00
Dustin Carlino
312775b491
refactor TurnGroup creators, but keep it stored on traffic signal, so
...
it's regenerated for edits
2020-08-10 15:39:28 -07:00
Dustin Carlino
31e8c654d2
prototype directional traffic signal demand viz over time
2020-08-10 13:19:47 -07:00
Dustin Carlino
ecd5d86009
handle bus stops right at intersections
2020-08-08 19:32:18 -07:00
Dustin Carlino
d1e9e38e82
refactor for #231 : use typed OSM IDs everywhere, dedupe URL code
...
have to regen, the binary format has changed
2020-08-08 16:09:36 -07:00
Dustin Carlino
3b8a0e4edc
tiny performance improvement in parking mapper
2020-08-07 14:14:50 -07:00
Dustin Carlino
e35c69f6f3
ezgui Wizard (and its pet Cloneable)
...
Here lies a weird coroutine experiment
09/20/2018 - 08/07/2020
2020-08-07 14:04:41 -07:00
Dustin Carlino
b881fa605b
convert the last caller away from wizard...
2020-08-07 13:52:27 -07:00
Dustin Carlino
f61881f6fa
move more UIs away from wizards. editing signal offset broke, because
...
the perma format doesn't encode offset yet
2020-08-07 13:33:58 -07:00
Dustin Carlino
ec756b5167
fix z-level spinner
2020-08-07 11:28:00 -07:00
Dustin Carlino
480156c7c6
convert more Wizards to ChooseSomethings
2020-08-06 10:21:01 -07:00
Dustin Carlino
c41c998301
make a way simpler, one-choice version of Wizard. use it in two
...
different places to flesh out how it works
2020-08-06 09:46:57 -07:00
Dustin Carlino
f3600cdc3e
disabled experiment to draw area names
2020-08-05 16:16:32 -07:00
Dustin Carlino
4ce2ffbad8
improve kml viewer
...
- clear sim after title screen
- move the file loader into the viewer
- add a key/value filter
2020-08-05 15:49:14 -07:00
Dustin Carlino
3c24b7aa5a
pull in spawn times for seattle from gtfs. looks wrong, but it's a
...
start.
2020-08-05 14:46:37 -07:00
Dustin Carlino
2f618815b1
make explicit rank enum for road types, instead of using arbitrary numbers. cleanup for #231
2020-08-05 11:40:42 -07:00
Dustin Carlino
8f6a6d40e6
change the few places that copied an OSM ID to the clipboard to instead
...
open the browser. this is more useful, and it also lets us get rid of a
dependency on clipboard stuff, fixing #264
2020-08-05 11:24:51 -07:00
Dustin Carlino
9961b870b6
try to apply the new on/off ramp intersection geometry to all relevant
...
3-way intersections, for #131
2020-08-05 11:03:02 -07:00
Dustin Carlino
e82fe996ad
reduce GfxCtx surface area
2020-08-05 07:56:57 -07:00
Dustin Carlino
c7e0b56776
get EditMode underneath route editor properly
2020-08-04 15:23:45 -07:00
Dustin Carlino
6f3be4463b
start editing route schedules. primitive UI, but getting all the map
...
edits plumbed through
2020-08-04 14:27:24 -07:00
Dustin Carlino
e68df0ed1a
and make tool_panel normal, ending the strange reign of WrappedComposite
2020-08-04 12:34:58 -07:00
Dustin Carlino
d819ab2bf8
migrate the last user off of the old ManagedGUIState
2020-08-04 12:27:07 -07:00
Dustin Carlino
225abcd112
clean up old UserInput APIs from long, long ago
2020-08-04 12:00:07 -07:00
Dustin Carlino
5fe3cc5f8a
slowly whittle down public surface of ezgui
...
- stop referencing Prerender when easy
- default_font_size hasn't been used since the great typography refactor
some of this harms the usability of map_editor, but that's fine, because
the UX is awful anyway, and nobody should be using this except for me
very occasionally. long-term fate of it is to go away.
2020-08-04 11:36:47 -07:00
Dustin Carlino
75179f1400
fix uber turn viewer breakage. also discovered that we can't clip the
...
largest .osm while we update it without breaking water polygons
2020-08-04 10:30:07 -07:00
Dustin Carlino
a9998a0735
tool to find huge intersections, usually where lane count is way off
2020-08-03 18:12:18 -07:00
Dustin Carlino
bcbf229eb7
rip out all users of the old find_closest_lane for #176 .
...
- this gives offside support to bus/sidewalk matching, getting 11 more
routes working in krakow
2020-08-03 17:56:58 -07:00
Dustin Carlino
f0ecd914b5
emit Outcome::Changed for dropdowns, checkboxes, spinners. simplify client code
2020-08-03 14:27:44 -07:00
Dustin Carlino
41f4cfff6d
tool-assisted refactor of ezgui Outcome
2020-08-03 13:42:59 -07:00
Dustin Carlino
f73516d183
start representing bus spawn rates explicitly
2020-08-03 13:12:02 -07:00
Dustin Carlino
940d2265c0
spawning buses at 0.01m on a non-border lane can break, because other cars approach, and the buffer distance gets broken. instead, spawn the buses a few lanes away, if needed. fixes #260
...
now only ~400 agents left in lakeslice by end!
2020-08-03 11:08:21 -07:00
Dustin Carlino
b7ed2615b1
add a "smoke-test" to simulate 1 hr in all maps
2020-08-03 09:28:10 -07:00
Dustin Carlino
60147597d6
change PathConstraints in floodfiller, to more easily debug bike
...
disconnectedness in udistrict
2020-08-03 07:41:10 -07:00
Dustin Carlino
bfc5236152
fix crash with duplicate full route names on one bus stop [rebuild]
2020-08-02 08:36:40 -07:00
Dustin Carlino
3cd28cb44f
fix buses not starting at a border. they were skipping the first stop, that's why there were so many stranded agents in lakeslice. still some buses failing to spawn, causing some more stranded
2020-08-01 18:53:40 -07:00
Dustin Carlino
c31d876f61
oh no, the new biking_connection is crashing in a few maps, where some of the separated bike trails are still missing. gracefully degrade. this is getting convoluted again, filed #258 to cleanup.
2020-08-01 10:26:44 -07:00
Dustin Carlino
b4ad7400df
stop drawing center lines for one-ways. while regenerating maps, also
...
bring in natural=scrub, and rename the krakow map
2020-07-31 20:48:26 -07:00
Dustin Carlino
ae31739dea
almost support off-side parking lanes. only remaining bug is cars
...
ignoring parking spots if the parking lane is in the opposite direction.
workaround is to reverse the lane. dealing with that bug next though.
part of #64 and #176 . fixes #109
2020-07-31 16:23:58 -07:00
Dustin Carlino
d7968713fc
don't need to explicitly store parking blackhole redirect, just a bit.
...
and have a separate bit for bikes. use that to handle bikes going to
borders. finally closes #221 , progress on #176 .
2020-07-31 15:43:15 -07:00
Dustin Carlino
d22aa87139
rearrange Building internals for #176 . edits can affect building
...
connections to driving/biking. just store the immutable stuff -- whether
there's parking in the building, the connection to the sidewalk, and the
physical driveway line. compute all the rest dynamically, so it responds
to edits without effort.
shouldn't be major behavior changes yet (besides maybe fixing some bugs
involving edits)
2020-07-31 12:49:33 -07:00
Dustin Carlino
71b68cc639
don't assume off-side sidewalks on dual_carriageway=yes. don't infer
...
parking on tiny roads. fixes some geometry in krakow. #230
(unrelated: add a debug layer to show parking blackholes, to work on
bike connections)
(also unrelated: better error message for #256 )
2020-07-31 10:07:29 -07:00
Dustin Carlino
8385799844
workaround #240 by deterministically building the parking layer. the
...
proper fix is to record zorder for parking lots and buildings from OSM
tags. ColorDiscrete would need to understand this. I'll leave that for
later.
2020-07-30 15:36:46 -07:00
Dustin Carlino
03796fcd66
introduce the tiny walkable shoulder lane type. pathfinding penalty,
...
rendering adjustments. #176
the SharedSidewalkCorner geometry looks bad, but acceptable for now.
2020-07-30 13:42:36 -07:00
Dustin Carlino
dde8bd8662
add a new "no sidewalks" layer to spot roads that will soon have a tiny
...
shoulder for pedestrians. looks reasonable in most places, but still
need to skip over roads < some length, probably. step 1 of #176
2020-07-30 09:39:02 -07:00
Dustin Carlino
af26e8d143
cut over more button internals to use flexbox. almost at the point of collapsing some of the internal representation
2020-07-30 08:59:50 -07:00
Dustin Carlino
b57f5081cf
bit more, with pad. these hacks were put in before i understood you had
...
to wrap a widget in a container to make things like padding() work.
2020-07-29 18:51:28 -07:00
Dustin Carlino
a5928d204d
whittle down the weird BtnBuilder API
2020-07-29 18:36:41 -07:00
Dustin Carlino
de45fb5c07
better Checkbox::colored
2020-07-29 15:11:10 -07:00
Dustin Carlino
28c3d0ef8e
fix some double-DPI scaling bugs with Btn::custom. this change makes
...
some things simpler, some more complex, but it at least fixes some
stuff without breaking anything.
2020-07-29 11:28:05 -07:00
Dustin Carlino
0e5dd551cd
construct switch checkboxes using the new trick
2020-07-29 10:56:38 -07:00
Dustin Carlino
e543b34799
use existing widget layout/style stuff to produce larger batches, for
...
crazy custom buttons. use to finally make a nice big trip button.
2020-07-29 10:45:24 -07:00
Michael Kirk
3879753cd2
revert some switches back to checkboxes ( #252 )
...
* revert some switches back to checkboxes
partial revert of 90bb4ac0
In many ways switches and checkboxes seem interchangeable, but in certain
contexts one may be more appropriate.
For an overview that I mostly agree with:
https://uxplanet.org/checkbox-vs-toggle-switch-7fc6e83f10b8
2020-07-28 13:58:20 -07:00
Dustin Carlino
2b9123d261
fix border intersection geometry when the road is too short. closes #251
...
while regenerating, also pick up landuse=grass as a park area. noticed
missing in krakow.
2020-07-28 13:41:12 -07:00
Dustin Carlino
edb1cb87cd
Make all vehicles, including buses, start with ~0 length when spawning
...
from borders and gradually appear. This looks more realistic and lets
more trips succeed, especially buses spawning at short borders.
This fixes #220 in a hopefully simpler way. Extending the geometry of
incoming roads is possible, but it may look visually overwhelming,
because two border intersections could sometimes overlap.
2020-07-28 11:39:57 -07:00
Michael Kirk
5f9e94cfcc
use monospace font to avoid clock layout jitter ( #250 )
...
* use monospace font to avoid clock layout jitter
* conventional naming
2020-07-28 10:39:18 -07:00
Dustin Carlino
6c3e6aef10
buttons to jump to start/end of a future trip when theres no prebaked data
2020-07-28 10:04:19 -07:00
Dustin Carlino
e1e265db14
tighten up Polygon constructors to enforce an outer ring... in most
...
cases now.
2020-07-27 14:03:55 -07:00
Michael Kirk
fff938180f
Commuter Patterns: Larger shapes for border intersections ( #247 )
...
* Commuter Patterns: Larger shapes for border intersections
A substantial portion of traffic has an origin/destination off the map.
We were correctly tracking all this data, attributing it to a
"block" the size of the border "intersection"; However, the design
didn't accommodate the small "size" of the border intersections:
1. it was too small to meaningfully reason about the heatmap visualization
2. it was too small of a "hit" area for clicking and hovering
3. when in the "locked" mode, the hover text overlay was illegible.
Now we draw a larger arrow, representing the inward/outward/both-ways
direction of traffic which makes it easier to reason about the heatmap
color and accommodates an adequate hit area.
And the hover text is now printed over a white pill to maintain
legibility.
* Commuter Patterns: Draw border *behind* directional icon
* Code Review: code cleanup - no changes to behavior.
2020-07-27 12:07:51 -07:00
Dustin Carlino
74bf6e0974
get riding off-map to work for #190 .
...
- handle living streets that allow buses in berlin
- don't connect LeaveMap nodes to anything else; people were getting
creative and using them as shortcuts to effectively warp to a border,
then come back into the map
- make should_use_transit understand transfers (and still just return
the first leg)
- warp to bus routes by ID
still at least one weird bug left, seen in krakow. working on it next,
trying to keep these commits "small." not regenerating maps quite yet.
2020-07-27 10:37:21 -07:00
Dustin Carlino
2239059961
UI fixes discovered during riding buses off-map
...
- speed limit dropdown crash
- link to bus route from bus stop panel, not some currently running bus
- show number of waiting people per stop in route panel and route dash
2020-07-27 08:19:14 -07:00
Dustin Carlino
e83e2f2d72
search by building name/address!
2020-07-27 06:37:05 -07:00
Dustin Carlino
f056080106
fix area under curve on jump-to-time when active agents isnt 0 at end of day. also... fail loudly when we make it to the end of the day and too many active agents are left. at some point lakeslice broke and I didnt notice. :( ... but actually it's just a crowd of people waiting on a bus that isnt managing to spawn.
2020-07-26 22:50:45 -07:00
Dustin Carlino
a1e1e51b10
obviate need for make_arrow_outline by just putting together a
...
reasonable make_arrow polygon in the first place
2020-07-26 20:25:38 -07:00
Dustin Carlino
a4e09ca91f
add border stop/start to route info panel. move the route drawing there, stop being a weird layer.
2020-07-26 13:13:48 -07:00
Dustin Carlino
4c86f568d0
fix transit network's show all routes. no more loops, but do have border
...
starts/ends.
2020-07-26 12:40:44 -07:00
Dustin Carlino
649c79f784
easily see busiest bus route from dash
2020-07-26 12:23:30 -07:00
Dustin Carlino
eb4acdc2f6
split parking lot code from building code, for #231
2020-07-25 07:09:43 -07:00
Mateusz Konieczny
a4a545cc79
handle more OSM tags - especially POIs ( #244 )
...
also, add graveyards like cemeteries
2020-07-25 07:01:55 -07:00
Dustin Carlino
f06c2764f5
fix broken parking layer counts, closes #241
2020-07-24 18:51:00 -07:00
Dustin Carlino
450befcc87
more useful error when prebaked missing. closes #238
2020-07-24 18:08:37 -07:00
Michael Kirk
bf1394e571
Commuter Patterns: Show secondary stats for commute on hover ( #235 )
...
* Commuter Patterns: Show secondary stats for commute on hover
2020-07-24 18:04:27 -07:00
Dustin Carlino
7bf6cb47f5
better UI for loading edits, split proposals and player edits. #113
2020-07-24 12:11:09 -07:00
Michael Kirk
6a074a0921
Commuter Pattern: label heatmap scale accruately (by max, not total) ( #236 )
2020-07-23 21:40:44 -07:00
Dustin Carlino
f66af5ad49
list all edits in the loader. only try to validate them after selection. display clear error if loading fails. #113
2020-07-23 15:27:24 -07:00
Dustin Carlino
adbbc8764a
much smarter opportunistic lane-changing. almost got #217 . but we don't
...
do opportunistic LCing when approaching an uber-turn, so we need to use
these costs when building the CH also...
2020-07-23 12:39:00 -07:00
Dustin Carlino
9757750bfa
gather penalties based on sim state too. #217
2020-07-23 10:58:25 -07:00
Dustin Carlino
23a1b1a397
calculate and visualize penalties for turns that cut over lots of lanes. a step towards #217
2020-07-23 10:20:16 -07:00
Dustin Carlino
328cbcd1f1
stop melting my laptop when generating scenarios
2020-07-23 09:15:25 -07:00
Dustin Carlino
f1ef02b907
store Tags in map_model objects, to reap its benefits anywhere in the codebase. serialization format doesnt change!
2020-07-23 07:43:50 -07:00
Dustin Carlino
61837f93ba
improve debug warp tool. closes #222
2020-07-22 12:05:05 -07:00
Dustin Carlino
e10be9019e
dont crash when one route has two stops with the same name. fix #218
2020-07-22 11:44:48 -07:00
Dustin Carlino
38b8557c82
bring in living streets from OSM, interpreting them as normal roads with
...
access restrictions. makes old town in krakow look much better and
brings in stay healthy streets in seattle. also commit some code related
to footways that isn't exercised yet.
2020-07-21 17:18:56 -07:00
Dustin Carlino
bbe06c6075
randomly distribute residents to buildings in the planning area for #119
2020-07-21 14:00:59 -07:00
Dustin Carlino
94935f7ae8
radically simpler vehicle turn creation:
...
- just generate every combo of turns from incoming->outgoing
- stop doing all of the weird bike->bike restrictions. that gets handled
anyway in later layers like pathfinding costs, opportunistic LCing,
and picking valid starting lanes
- rely on OSM for filtering out left/right turns from multiple lanes
- why was it useful at all to distinguish Straight from LCing turns?
scrap that
has the effect of eliminating a class of bugs where a driving lane is
sandwiched between lots of bus lanes and wasn't winding up with an
in/outbound turn
2020-07-21 13:04:34 -07:00
Dustin Carlino
636c2838a3
experiment with fan charts for intersection delay. they... need work.
2020-07-21 10:10:42 -07:00
Dustin Carlino
a299120090
expose boarding/alighting stats
2020-07-21 09:11:08 -07:00
Dustin Carlino
435b4ce8fb
track passengers boarding/alighting. further rearrange stop/bus/route
...
info panels
2020-07-21 08:55:07 -07:00
Dustin Carlino
4d84fdf59c
start an info panel for an entire route
2020-07-21 08:15:07 -07:00
Dustin Carlino
1ae29881ba
i forgot that there was an isochrone experiment. plug it up to contours.
2020-07-21 07:23:33 -07:00
Dustin Carlino
a65107145f
turn heatmaps into nice polygon contours
2020-07-20 17:03:32 -07:00
Dustin Carlino
db0b851659
use toggles instead of checkboxes in a few places
2020-07-20 15:02:05 -07:00
Michael Kirk
783f91ae0c
Commuter Patterns: to/from icon overlays current block ( #214 )
...
* Commuter Patterns: to/from icon overlays current block
Also, masks the current block
* Code Review: code structure, no behavior change
2020-07-20 14:40:09 -07:00
Dustin Carlino
f91a73e12a
tighten up polygon_with_holes API
2020-07-20 09:41:47 -07:00
Dustin Carlino
042145ef1b
start cleaning up bus info panels. the delay between stop measurement has never been clear, and i'm not sure if it's what we even want to measure. and use route shortname in titles.
2020-07-20 09:14:41 -07:00
Dustin Carlino
68d3c5b340
intersection delay is broken down by agent type, not trip mode
2020-07-19 13:22:08 -07:00
Dustin Carlino
56b2914e9a
click a commuter block to make it sticky, so you can fiddle with filters
2020-07-19 12:33:04 -07:00
Dustin Carlino
4f8f659dfb
widget replacement keeps margins from the old
2020-07-19 11:28:12 -07:00
Dustin Carlino
9e4dbc9c98
filter commuter patterns by mode. optionally exclude borders.
2020-07-19 11:06:28 -07:00
Michael Kirk
2a8a2ccf2d
Commuter Patterns: building stats ( #201 )
...
Shows summary counts of building types within the selected block
Note: I changed the empty state from "Nothing selected" to "None
selected" to avoid an undesirable shift in the commuter view.
I think the shift is because the height of the text widget seems to vary
with the height of the characters _in_ the text widget. So the low
hanging tail of "g" was causing "Nothing" to render taller than "None".
2020-07-18 15:14:25 -07:00
Dustin Carlino
b15e493291
index trips by block. double memory, but worth the speedup when mousing over
2020-07-18 14:25:39 -07:00
Dustin Carlino
7ad7c7c477
speed up block merging
2020-07-18 13:50:16 -07:00
Dustin Carlino
a84e1c2c74
add border intersections to commute viz
2020-07-18 13:39:44 -07:00
Dustin Carlino
b6a8bdd7e1
merge adjacent residential blocks into larger groups. slow
...
implementation, but the result looks nice
2020-07-18 13:09:10 -07:00
Dustin Carlino
68561170bd
cache current selected block and update trip count in the scale
2020-07-18 11:34:13 -07:00
Michael Kirk
c9aadc0be1
Commuter Patterns: remove arrow overlay mode ( #200 )
...
Commuter patterns offered two different styles to visualize the
source/destination of travellers.
1. Arrows points to the source/destination
2. Heat map showing relative density of the source/destination
The arrow mode was visually cluttered and yet didn't communicate as much
info as the heatmap, so we're getting rid of it.
2020-07-18 11:09:09 -07:00
Dustin Carlino
5ce64cce7f
use the color gradient for blocks, and prepare to show count for currently selected block
2020-07-18 10:48:36 -07:00
Dustin Carlino
6d50c574f4
filter commutes by departure time
2020-07-18 10:25:44 -07:00
Dustin Carlino
c645876ea2
find some excuse to include one of holly's characters in a cutscene.
...
need to rework the dialogue more.
2020-07-18 09:46:21 -07:00
Dustin Carlino
e87ff1cbef
organize the commuter code before hackathon [rebuild]
2020-07-18 08:04:24 -07:00
Dustin Carlino
523eb690f5
refactor tripinfo struct
2020-07-18 07:46:58 -07:00
Dustin Carlino
6d27547b6a
prep for hackathon. make the block map a sandbox dashboard, work off of a live sim. [rebuild]
2020-07-18 07:22:18 -07:00
Dustin Carlino
db00c18536
use AgentType, not TripMode, in throughput
2020-07-17 16:39:16 -07:00
Dustin Carlino
e06faa3c33
make an AgentType enum, stop abusing TripMode. a small first step,
...
showing agent meters properly
2020-07-17 15:13:36 -07:00
Dustin Carlino
a86fb5c73d
upgrade to rust 1.45 after fixing an issue in fastpaths [rebuild]
2020-07-17 12:54:14 -07:00
Dustin Carlino
3a1ef311a7
use my new best friend earcutr to make sure people dont get lost when editing a traffic signal
2020-07-17 10:00:45 -07:00
Dustin Carlino
ba3e918f33
slightly less overwhelming bus route dashboard
2020-07-17 09:34:25 -07:00
Dustin Carlino
4a05979b9f
fix label position for light rail
2020-07-17 09:10:45 -07:00
Dustin Carlino
ccf213ded9
fix pioneer square station snapping. rust-geo's FindClosest has a bug.
...
>_<
2020-07-16 13:22:05 -07:00
Dustin Carlino
e2d478340b
bring in planning area KML for berlin, #119
2020-07-16 11:15:22 -07:00
Dustin Carlino
8a70e105e8
make buses actually start/end at borders [rebuild]
2020-07-16 10:11:43 -07:00
Dustin Carlino
d15a842e43
Revert "new rust version. finally strip_prefix is available!"
...
This reverts commit d16ac9713a
.
I'm seeing mysterious brokenness with fast_paths:
https://github.com/easbar/fast_paths/issues/20
Reverting so I can get work done
2020-07-16 08:59:16 -07:00
Dustin Carlino
d16ac9713a
new rust version. finally strip_prefix is available!
...
include berlin and krakow by default in the release, since they're small
and it'll make some collaboration easier [rebuild]
2020-07-16 08:41:28 -07:00
Dustin Carlino
f59ca734e2
also scrape stop->platform associations from stop_areas. fixes cap hill light rail stop finally for #190 ! the pioneer square south stop is seemingly still messed up
2020-07-15 22:17:45 -07:00
Dustin Carlino
b942510f67
slightly better border matching for buses. dont count on any ordering in
...
the route relation. include intersections that get copied as
possibilities.
2020-07-15 17:27:09 -07:00
Dustin Carlino
65a8f42bb6
dont crash on dash with dupe route names
2020-07-15 16:34:35 -07:00
Dustin Carlino
05efb41ef6
bus layer can toggle trains/buses
2020-07-15 16:06:13 -07:00
Dustin Carlino
891a1746d6
try to figure out border endpts for routes for #190 . just visualize
...
them, dont enforce connectivity yet. so many problems...
regenerate stuff, to unbreak map binary format
2020-07-15 15:35:57 -07:00
Dustin Carlino
91a9a9a1bc
start revamping bus route data model for #190 . routes are one-way. make
...
buses appear at the first stop and vanish at the last.
not regenerating anything yet
2020-07-15 13:15:32 -07:00
Dustin Carlino
0ad14d17ac
settle on american spelling of center
2020-07-15 11:37:37 -07:00
Dustin Carlino
ccf0b2f647
improve car/bike zordering when crossing z levels
2020-07-15 10:04:47 -07:00
Dustin Carlino
4a118c8103
import berlin city centre for #119
2020-07-15 09:42:45 -07:00
Dustin Carlino
5806e60eec
represent cancelled trips differently than aborted trips
2020-07-15 09:11:01 -07:00
Dustin Carlino
98b9115f88
better tool to explore degenerate roads
2020-07-14 21:02:33 -07:00
Dustin Carlino
614354271a
see modified trips in the table and info panels
2020-07-14 16:10:50 -07:00
Dustin Carlino
7341c0189a
plumb through which trips (and people) are affected by an experiment. no
...
UI exposure yet.
2020-07-14 14:49:04 -07:00
Dustin Carlino
5b7cf6d532
refactor BulkSelect. use it for access-restricted zones too!
2020-07-14 14:20:40 -07:00
Dustin Carlino
2c27c89796
correctly detect the current tab, even when inner settings change. also
...
make tab per object type sticky, so you can (for example) click arrivals
on one border, then click a different border and be on the same tab!
2020-07-14 13:37:13 -07:00
Dustin Carlino
7cd0c77068
plot scheduled arrival rate at borders. downtown is crazy.
2020-07-14 12:57:58 -07:00
Dustin Carlino
7880d646ca
rewrite AgentColorScheme, add the parking color to the legend
2020-07-14 10:09:17 -07:00
Dustin Carlino
d31ead5788
clearly show cars just cruising around trying to park, so it's
...
abundantly clear when parking availability is squeezed. need to change
the minimap legend now.
2020-07-14 09:33:10 -07:00
Mateusz Konieczny
289b3561df
it is just city center, not entire one ( #193 )
...
neither Bronowice, nor Nowa Huta are included
Entire one should included airport terminal on West ( https://www.openstreetmap.org/?mlat=50.0701&mlon=19.7960#map=12/50.0701/19.7960 )
and reach main steelwork entrance on East ( https://www.openstreetmap.org/?mlat=50.0787&mlon=20.0682#map=12/50.0787/20.0682 )
Current area is fitting (capable of running on my laptop) and good one if one wants to play solely with city center, just name is misleading.
2020-07-14 07:55:38 -07:00
Dustin Carlino
33c5ffef4c
first wave of character art from holly!!!
2020-07-13 21:09:36 -07:00
Dustin Carlino
0f82c21560
- manually fix a few crazy signals downtown.
...
- interpret tags to make 3rd Ave bus-only. cars technically allowed
sometimes, but bus-only is more accurate for now.
- also remove austin from bundled maps. maintaining it has a cost, and
the point was just to have at least one non-seattle city kept up to
date. krakow now satisfies that.
2020-07-13 13:40:46 -07:00
Dustin Carlino
b68e233125
trying to handle gridlock near tiny roads for #114 . treat the entire
...
sequence as one thing to lock -- don't start it until it's clear, and
prevent new conflicting turns once started. disable block-the-box
protection inside.
I'm not sure this is helping at all yet. maybe it's just more complex.
2020-07-13 12:30:24 -07:00
Dustin Carlino
52ab8b5ec3
get zorder correct for unzoomed roads/intersections. regenerate this
...
layer when making edits, since intersections can change (interesting to
not) and also roads (access restrictions)
2020-07-12 09:31:30 -07:00
Dustin Carlino
faedffae99
finally flushed out one of the common crashes: shifting some car bodies
...
to make wheels breaks sometimes. just skip the wheels.
2020-07-11 17:10:36 -07:00
Dustin Carlino
0c283d0da7
finish up the grand geom stabilization with ring and some docs.
...
regenerated everything from scratch. one effect is more parking
blockface gets matched onto border roads, but that's fine.
2020-07-11 16:05:26 -07:00
Dustin Carlino
07ed1fec95
more polyline work... get rid of Warn<>. extremely spammy and hasn't
...
been helpful in ages.
2020-07-11 15:17:16 -07:00
Dustin Carlino
f8b8c501ae
tighten up more PL scariness
2020-07-11 14:51:25 -07:00
Dustin Carlino
cce624edd8
start the big one: Polyline::new
2020-07-11 13:42:19 -07:00
Dustin Carlino
0593aa52d9
more caution in Line API
2020-07-11 13:05:34 -07:00
Dustin Carlino
98c6f46c78
the first real big change: Line::new always returns Option
2020-07-11 12:37:38 -07:00
Dustin Carlino
0dd3199f7a
cut down variations of pt2d<->gps. mostly we want to forcibly convert.
...
possible semantic change: soundcast border matching now includes ALL
borders, even if the center is slightly OOB
2020-07-11 12:02:12 -07:00
Dustin Carlino
0f11da79bd
start replacing assertions and panics with results or better error
...
messages. covering all of the easy things in the geom crate.
2020-07-11 11:35:03 -07:00
Dustin Carlino
4919fbf90f
autodetect ICs across the whole map, not just when there are complex
...
turn restrictions
and... enable the new "run the red light" after starting an uber-turn. I
can get to 6am on downtown with a few simple edits now.
2020-07-10 17:39:25 -07:00
Dustin Carlino
05c47852b0
color buildings with some amenity slightly differently. and grab fresh krakow osm data
2020-07-10 11:20:56 -07:00
Dustin Carlino
d00bbb31c3
filter parcels outside of the boundary polygon. speed up the kml viewer
2020-07-10 10:56:02 -07:00
Dustin Carlino
873c14a5b6
when previewing traffic signals after deleting phases, need to possibly
...
reset the phase counter to fix #179
2020-07-10 09:34:45 -07:00
Dustin Carlino
585ba4f137
when sidewalks=separate, don't put sidewalks on both sides of a one-way.
...
this is a complete guess, but seemingly a better one for some sample
cases in seattle and krakow. helps with #178 .
also opt krakow into screenshot diff testing; it has enough different
things happening that it's worth watching more carefully how importing
changes affect it.
2020-07-09 18:53:15 -07:00
Dustin Carlino
3ecf05e1bb
add/rm roads from zones. not handling merges/splits yet.
2020-07-09 16:38:19 -07:00
Dustin Carlino
19409dfc8c
add krakow as an optional city. need to specify more customization for #171 , and given how much work is focused here, using the one-shot importer no longer makes sense
2020-07-09 14:33:39 -07:00
Dustin Carlino
ead4a99682
prototype a better random traffic generator
2020-07-09 13:04:41 -07:00
Dustin Carlino
4340ad585b
convert the rest of usize IDs to u32. savings:
...
maps: 645mb -> 625mb
scenarios: 431mb -> 390mb (before all the u32 optimizations, this as
500mb!!!)
prebaked: 80mb -> 73mb
and while I'm at it, grab fresh OSM, with lots of manual lane fixes,
especially near divided highways
2020-07-09 11:43:34 -07:00
Dustin Carlino
3370aae83b
don't spawn new traffic on the screensaver every time we bounce off the
...
screen edge. the scenario generator starts person IDs from 0, so was
breaking. fixes #172
2020-07-09 10:08:58 -07:00
Javed Nissar
c8b12c40bb
Resolve #13 by adding traffic to the title screen in order to make the ( #144 )
...
title screen more visually interesting
2020-07-08 19:38:58 -07:00
Dustin Carlino
d94c993b9b
debug #113
2020-07-08 16:18:54 -07:00
Dustin Carlino
95626d5b64
fix rendering crash
2020-07-08 15:57:19 -07:00
Dustin Carlino
7c0aaed370
the first link light rail has left the staton. #numtot
2020-07-08 14:29:02 -07:00
Dustin Carlino
14010e3be2
transform trip mode, filtering on existing mode and departure time range
2020-07-08 10:46:23 -07:00
Dustin Carlino
94512d95b9
change LaneID from usize to u32. savings:
...
scenarios: 458MB -> 431MB
maps: 676MB -> 638MB
prebaked: 85MB -> 80MB
also fix #163
2020-07-08 08:47:02 -07:00
Dustin Carlino
df0d07df5e
optionally show all roads used by buses in the bus layer. useful to know when edits might affect a route
2020-07-08 07:50:20 -07:00
Dustin Carlino
187c8ad4c5
consider again the possibility of merging some degenerate roads
2020-07-07 21:39:42 -07:00
Dustin Carlino
d1fdcbbd59
fix more relative dir bugs. allow different directory for player data too. fixes #160
2020-07-07 16:49:46 -07:00
Dustin Carlino
4aaa41dd13
zip screenshots in dropbox, because managing individual files keeps crashing the daemon
2020-07-07 16:31:52 -07:00
Dustin Carlino
3eb8db3f75
interpret OSM center lines as the physical center of the road (excluding
...
sidewalks), not as the divider between the two directions. this
dramatically changes geometry everywhere for the better.
thanks to
https://wiki.openstreetmap.org/wiki/Proposed_features/placement for
clear explanations. will be looking next at interpreting this tag.
also temporarily removing screenshots, because uploading individual
files and waiting for dropbox to sync isn't sustainable
2020-07-07 15:52:51 -07:00
Dustin Carlino
35768dfba3
fix the city picker after the relative dir refactor
2020-07-07 13:17:38 -07:00
Dustin Carlino
302363541f
better error message for the common case of map data
2020-07-07 13:14:33 -07:00
Dustin Carlino
9f72b3dd51
cleanup after the relative dir fix, and add support for hardcoding the
...
data dir, for #137
2020-07-07 12:14:02 -07:00
Dustin Carlino
6919c24bf8
detect the data/ dir more intelligently. fixes #73 . still need to
...
- consider collapsing the directory structure in the releases
- fix wasm
[rebuild]
2020-07-07 11:09:35 -07:00
Dustin Carlino
46b340728f
quitting from a cutscene should actually cancel the challenge entirely. fixes #153
2020-07-07 07:58:31 -07:00
Dustin Carlino
906a647ade
better error messages for turn restrictions. fixes #146
2020-07-07 07:37:02 -07:00
Dustin Carlino
476e0e101f
easy wins: make BuildingID u32, not usize. maps from 680MB to 676MB.
...
scenarios from 500MB to 458MB.
considered going down to u16, but pretty sure there are already maps
with >65k buildings
2020-07-06 17:55:02 -07:00
Dustin Carlino
d52a0e8a35
new scenario mod: force everyone to make a mode change
2020-07-06 16:29:51 -07:00
Dustin Carlino
1e41b48753
squeeze the route select tool into the main bulk select UI
2020-07-06 15:18:12 -07:00
Dustin Carlino
fbff30a869
fix some epsilon issues with deadends and walking turns to get entire
...
krakow map to import. closes #143
2020-07-06 14:24:31 -07:00
Dustin Carlino
82345767c9
store a bitset of access restrictions per road. derive zones from this only for editing and pathfinding. this unblocks editing zones
2020-07-06 13:09:49 -07:00
Dustin Carlino
c3858b9cdd
mark construction lanes appropriately. this broke when adapting to the new tagging on the west seattle bridge, but there are some roads tagged this way in krakow.
...
(not regenerating all the maps yet, expecting to do more work on this
today)
2020-07-06 07:43:42 -07:00
Dustin Carlino
8ba32f3b86
simplify the UX for finishing a challenge with unsaved edits. finally fixes #110 [rebuild]
2020-07-05 14:47:25 -07:00
Dustin Carlino
5bc7954de3
simplify the UX for quitting sandbox with unsaved edits. almost done
...
with #110
2020-07-05 14:33:08 -07:00
Dustin Carlino
d987879389
gracefully handle editing the currently active traffic signal phase live in the challenge mode
2020-07-05 14:18:00 -07:00
Dustin Carlino
5427d8ea40
also express lane type changes using the new approach
2020-07-05 14:04:49 -07:00
Dustin Carlino
6e8eef8d09
start refactoring how edits are validated. need to deal with lane types
...
next
2020-07-05 13:20:19 -07:00
Dustin Carlino
5daab4fdbc
allow closing intersections in maps with sidewalks that start off disconnected. just dont allow disconnecting anything new.
2020-07-05 11:37:03 -07:00
Dustin Carlino
422889e543
lazily render lanes, same as road labels. greatly speeds up start-up times (helps with #125 ), doesnt melt the GPU on large maps. also paves the way for dynamically adjusting z-order rendering (for #126 )
...
because we no longer try to upload massive gobs of data to the GPU at
once, huge_seattle on my system goes from initially loading in about a
minute down to 11s
2020-07-05 11:30:34 -07:00
Dustin Carlino
8b7658c48f
dont crash when closing a traffic signal with disconnected sidewalks
2020-07-04 18:08:54 -07:00
Dustin Carlino
181de12409
woops, 72d0171300
broke signal editor by
...
crashing if you were missing a turn. dont validate in the middle of
editing. still seeing a problem with traffic signal -> construction
2020-07-04 17:51:45 -07:00
Dustin Carlino
5a677eb2ec
optionally dont draw in jump-to-time, to help with #125
2020-07-04 13:37:29 -07:00
Dustin Carlino
068b4223c8
prototype controls for hiding z-orders, for #126 [rebuild]
2020-07-04 13:18:27 -07:00
Dustin Carlino
f02fa8bddd
add a tool to export roads to https://github.com/d-wasserman/shared-row
2020-07-04 11:29:45 -07:00
Dustin Carlino
505311a93f
improve the signal synchronization a bit for #8 . hardcode a few small
...
intersections to make the downtown map make more progress. make it
easier to copy OSM node IDs.
2020-07-04 08:53:13 -07:00
Dustin Carlino
575dcfb782
snap bus vehicle/sidewalk positions to the correct side of the road and
...
a more appropriate lane. also fix #122
2020-07-03 19:00:20 -07:00
Dustin Carlino
ac88a96f61
use a different icon for train stops
2020-07-03 17:49:36 -07:00
Dustin Carlino
0dc42d7e19
use bus stops from OSM instead of gtfs. expose the stop name and the
...
driving position in the info panel. some issues with the driving
positions, but this is the way forward for light rail.
2020-07-03 15:22:13 -07:00
Dustin Carlino
4f507ef96a
refactor Composite style
2020-07-03 13:01:54 -07:00
Dustin Carlino
8b006c037d
slim down sidewalk corners, at the repeated urging of julian
2020-07-02 17:12:08 -07:00
Dustin Carlino
ec2411fb8b
experiment with isochrones. nothing yet.
2020-07-02 13:41:24 -07:00
Dustin Carlino
6b409b42d0
make the UI understand deleting a zone
2020-07-02 12:48:20 -07:00
Dustin Carlino
0a499f65e2
start changing access restrictions for an entire zone. found a way to
...
represent the edits. no support yet for changing what roads are in a
zone.
2020-07-02 12:15:37 -07:00
Dustin Carlino
7d4cf4cd5b
follow up to #59 . when we do the no-op events, have to plumb back
...
updates. this is needed when we push on new states to warp somewhere or
jump to a time or do anything else requesting updates
2020-07-01 22:07:54 -07:00
Dustin Carlino
72d0171300
fix #111 by delaying constructing ControlTrafficSignal from edits. also
...
fix time warp screen issue after the UpdateType changes [rebuild]
2020-07-01 19:34:15 -07:00
Dustin Carlino
a62e3133db
cleanup after #59 :
...
- cargo fmt
- update some comments
- remove EventLoopMode
- if no updates are requested, that's the equivalent of InputOnly
2020-07-01 17:57:43 -07:00
Javed Nissar
1f58cbf16d
Refactor event update loop ( #59 )
...
* Refactor event update loop to enable multiple game update types
* Implement pan event to improve panning with cursor at edge of screen and
fixed formatting
2020-07-01 17:47:30 -07:00
Dustin Carlino
1422643973
finish the ezgui layout refactor. most things are way more consistent now, and with less code
2020-07-01 15:39:04 -07:00
Dustin Carlino
834f060462
yet more layout refactor
2020-07-01 15:31:52 -07:00
Dustin Carlino
f9cfe136e0
new save edits UI, not using wizard. using for:
...
- save as dialog
- loading new edits
still TODO:
- leaving sandbox mode
- final score challenge screen
part of #110
2020-07-01 13:11:58 -07:00
Dustin Carlino
ef51a8b9b8
more layout refactor
2020-07-01 12:11:00 -07:00
Dustin Carlino
c61371a777
variant of row/col that have good default margins. starting a big
...
refactor to make everything consistent. not sure mechanical refactor is
right here. lots left, but a start.
2020-07-01 09:50:35 -07:00
Dustin Carlino
c191ffde9a
filter out broken edits (which happen due to schema changes)
2020-06-30 19:48:25 -07:00
Dustin Carlino
2c7440b03f
start representing access restrictions by mode
2020-06-30 13:15:57 -07:00
Dustin Carlino
2b4bf1172b
start a UI for modifying access restrictions of zones. mostly just the
...
skeleton right now
2020-06-30 12:16:08 -07:00
Dustin Carlino
2b50e7969c
refactor position
2020-06-29 20:55:36 -07:00
Dustin Carlino
1617a3d3c1
skip missing maps in the city picker
2020-06-29 09:36:37 -07:00
Dustin Carlino
c97bd0fe4b
some cleanup after #106 . unbreak importer
2020-06-28 11:13:35 -07:00
phimuemue
a675e72d25
Avoid collect et al ( #106 )
...
* Avoid unconditional collect in get_lane_types
* Introduce Road::children(fwds)
Simplifies direction-aware lane retrieval.
* Simplify all_lanes
* Avoid unneeded collect
* Avoid some Vec copying
* Avoid unconditional collect
* Avoid some collect
* Avoid clone
* Avoid collect
* Avoid collect
* Avoid collect
* Avoid collect
* Avoid collect
* Avoid collect
Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2020-06-28 11:00:09 -07:00
Dustin Carlino
63d16a16c3
speed up the trip table tab. on lakeslice at 8am, down from ~0.3s to
...
~0.005s in release mode
2020-06-28 10:44:21 -07:00
Dustin Carlino
bb3da1f8eb
Make a very primitive form of adaptive traffic signal phases. It should
...
be easier to write better policies now; this mostly does the work of
changing the map model and UI to handle variable timing. A small step
towards #91
2020-06-28 10:20:47 -07:00
Dustin Carlino
ae6c099bd5
start bringing in private broadmoor roads. omit from the CH, so trips will just fail without a path for now.
2020-06-27 16:19:48 -07:00
Dustin Carlino
a6b90d00d8
very simple modifier to cancel all trips for some percentage of people
2020-06-27 14:20:25 -07:00
Dustin Carlino
90b556ac1f
carve out a way to modify the weekday scenario in the UI. express the 5 day repeat using this
2020-06-27 11:56:45 -07:00
Dustin Carlino
2881341b63
make parking lots hideable. dont snap parking and sidewalk hints to
...
light rail. not regenerating all the maps again yet to avoid some churn
2020-06-26 17:02:14 -07:00
Dustin Carlino
eab0988bd8
hello light rail! just import the tracks, represent as a new lane type.
...
make clipping handle starts and ends separately
2020-06-26 16:47:18 -07:00
Dustin Carlino
16beebd1de
use underlining to refer to edits, not quotes. only in some places. :\
2020-06-26 14:13:12 -07:00
Dustin Carlino
bfd1b9c190
rotate labels on buses, now that i figured out how to do it reasonably on roads
2020-06-26 11:31:27 -07:00
Dustin Carlino
77fa6eb43d
switch to upstream usvg, now with support for a loaded-once fontdb that
...
only uses bundled fonts, not system fonts. side effect is that
apparently the overpass font doesn't have ▼, so switch to a silly down
arrow for now
2020-06-26 11:22:22 -07:00
Dustin Carlino
7fa26dfc90
add a mode to draw every zoomed agent, to help flush out bugs like #98 and #72 faster
2020-06-25 10:55:17 -07:00
Dustin Carlino
b3a480b4c1
clean up old trip positions from Sim. implement the all-route debugger
...
in a more straightforward way
2020-06-25 09:20:54 -07:00
Dustin Carlino
bc6482c522
include camera state and edits in the crash report. would make it easier to repro #98 and #72
2020-06-25 09:02:50 -07:00
Jeff Raymakers
56277bbbad
fix math in city picker to use scale factor ( #102 )
...
Co-authored-by: Jeff Raymakers <jephy@gmail.com>
2020-06-24 23:02:05 -07:00
Tim Newsome
4ccd13c8e1
Round time to 10 minutes in jump to dialog ( #100 )
...
This allows me to quickly and precisely jump to the same time every
time.
2020-06-24 20:55:18 -07:00
Dustin Carlino
097b33c80a
release another attempt at a windows fix
2020-06-24 17:20:21 -07:00
Dustin Carlino
915713babb
to mitigate #95 , add a setting to adjust scroll speed
2020-06-24 14:26:15 -07:00
Dustin Carlino
dd13ade952
more fluidly jump from lane editor to intersection editors. but not vice
...
versa, because it'd be too easy to accidentally lose complicated
intersection edits
2020-06-24 13:49:09 -07:00
Dustin Carlino
2de540ed46
load edits also includes proposals. if opened, it makes a local copy
2020-06-24 13:28:02 -07:00
Dustin Carlino
e586760ef7
autosave was a lie. actually do it after any edit, not just when loading new edits
2020-06-24 12:06:06 -07:00
Dustin Carlino
8a8d088ceb
show number of finished trips in the time warp screen, as a quick proxy for if a change is helping/hurting gridlock
2020-06-24 11:53:25 -07:00
Dustin Carlino
d933352d93
fix unintentional trip timeline spacing
2020-06-24 08:53:56 -07:00
Dustin Carlino
07bf9725d4
use a regularly spaced marking for construction instead of the weird
...
stripes. clean up the hack in the shader
2020-06-24 08:36:47 -07:00
Dustin Carlino
626636ece7
remove turn lookup. have always found myself using the src lane. edits invalidated it anyway
2020-06-23 18:36:45 -07:00
Dustin Carlino
684bf72dde
recalculate stop signs when lanes change; construction->driving was
...
breaking the west seattle bridge. fixes #68 . include a built-in proposal
to fix the bridge. ;)
2020-06-23 17:46:35 -07:00
Dustin Carlino
d707969af5
remove mt_baker map and replace it with a much wider south_seattle map,
...
per request [rebuild]
2020-06-23 16:41:36 -07:00
Dustin Carlino
b267997554
add debugging for #65 and try setting the initial window size differently [rebuild]
2020-06-23 10:59:56 -07:00
Dustin Carlino
7f6beb73db
mac keyboards maybe dont have right ctrl, use left ctrl instead [rebuild]
2020-06-23 10:38:41 -07:00
Dustin Carlino
05cf8c113f
depend on rust-native TLS to fix #77 and adjust some wording to fix #80
2020-06-23 09:00:41 -07:00
Dustin Carlino
a9b2a33ffc
windows fixes:
...
- the updater script was clobbering clobber data/
- window resize events seem to capture title bar (#65 )
[rebuild]
2020-06-22 15:51:42 -07:00
Dustin Carlino
6ff190065c
hold the presses!
...
- dont scale the lyon-powered thick lines by the DPI, to help #61
- move the message panel to the left for one part of the tutorial, to
help #62
- adjust some tutorial wording
- let people skip tutorial stages
[rebuild]
2020-06-21 23:04:35 -07:00
Dustin Carlino
9672565efd
- still reset edits after saving them and continuing
...
- hide unfinished uber-turn editor
[rebuild]
2020-06-21 16:59:31 -07:00
Dustin Carlino
eedf80bfef
tiny tweaks from final testing:
...
- cutscene wording
- elide traffic tab on parking lanes
- dont crash when traffic signal data needs fixing, just warn more
loudly. this lets lanes near some signals actually be modified
2020-06-21 11:38:34 -07:00
Dustin Carlino
506077a7b7
fix road labels. enable them by default!
2020-06-20 15:26:54 -07:00
Dustin Carlino
b231809ba2
cap hill's rainbow crosswalks! [rebuild]
2020-06-20 10:05:47 -07:00
Dustin Carlino
4dd2835cd4
fix most of the angle inversion mess!
2020-06-19 20:25:47 -07:00
Dustin Carlino
c66564dd9d
try out a new style for road labels
2020-06-19 20:12:25 -07:00
Dustin Carlino
5a9fb4ceef
starting work on a brute-force traffic signal heuristic. organizing
...
existing code better.
2020-06-19 13:07:42 -07:00
Dustin Carlino
f5385b83df
restore raw throughput counts deleted in
...
ca33695431
, flagged off, for further
exploration of compressed representations. also, apparently lakeslice
prebaked results have been missing for a while due to dropbox snafu! fix
2020-06-19 11:04:07 -07:00
Dustin Carlino
288e90e530
use lyon for stroking line plots
2020-06-18 17:44:12 -07:00
Dustin Carlino
a25994123b
lift filtering out of scatter and line plots. makes everything
...
responsive by default and is way simpler. [rebuild]
2020-06-18 15:48:46 -07:00
Dustin Carlino
4aeb80cfce
recompute scatter plot avg when filtering stuff. but actually, should
...
probably implement the filtering differently anyway...
2020-06-18 14:50:48 -07:00
Dustin Carlino
b5e9d64a9b
optionally use arrow keys to pan the map. need this for filming a trailer. fixes #10 . also make the settings panel layout less horrific
2020-06-18 12:44:47 -07:00
Dustin Carlino
bc8f352600
when people are riding a bus, map them to the bus instead of just crashing
2020-06-18 11:23:09 -07:00
Dustin Carlino
6d395cbe5c
slightly adjust the compare throughput layer. fixing crash with cached
...
routes in timeline [rebuild]
2020-06-18 10:47:38 -07:00
Dustin Carlino
26cdde056c
fix throughput and delay max_x and disable comparison by default
2020-06-17 15:05:31 -07:00
Dustin Carlino
ca9202c1e8
group the before/after series in line plots
2020-06-17 14:33:27 -07:00
Dustin Carlino
0dddd1d6c1
one last pass for polishing all layers. layout and text tweaks
2020-06-17 14:01:05 -07:00
Dustin Carlino
d2c674eb9a
per suggestion of a cugos member, color all parked cars the same. distinguishing moving cars is helpful, but not parked ones
2020-06-17 11:15:14 -07:00
Dustin Carlino
82ba62df29
quick round of refactoring layer code
2020-06-17 10:56:06 -07:00
Dustin Carlino
1d252bbc40
cleaning up the last of Colorer, and quick_menu too while I'm at it
2020-06-17 10:36:18 -07:00
Dustin Carlino
140ee166be
refactoring more color scale stuff
2020-06-16 15:28:17 -07:00
Dustin Carlino
52470ed9ff
switching to proper gradients for heatmaps too
2020-06-16 14:33:20 -07:00
Dustin Carlino
dd84087398
cleaning up more layers. got rid of ::scaled finally. refactoring
...
percentile handling. got rid of old color scales
2020-06-16 12:51:06 -07:00
Dustin Carlino
458b44bef9
tearing down Colorer::scaled in favor of a newer, simpler thing. also
...
switching more layers to a monochrome gradient. just a first step...
2020-06-16 11:38:43 -07:00
Dustin Carlino
0477d38c09
consistently showing layers while zoomed. it's useless in some cases,
...
but helpful in many. just need to find a better way to show detail on
lanes.
2020-06-16 09:54:15 -07:00
Dustin Carlino
50de52439f
tune wording of tutorial. finally introduce the drone [rebuild]
2020-06-15 17:33:37 -07:00
Dustin Carlino
647eb99fe6
put the intro story in front of the tutorial
2020-06-15 16:01:17 -07:00
Dustin Carlino
851237bed5
clamp minimap recentering a bit better [rebuild]
2020-06-15 14:25:04 -07:00
Dustin Carlino
6c1fdcace1
overhaul worst traffic jam layer
2020-06-15 14:07:16 -07:00
Dustin Carlino
c1e1a9c37d
refactoring some gradient lerping stuff
2020-06-15 13:11:54 -07:00
Dustin Carlino
a86ef0fa12
start revamping layers. for delay, have zoomed and unzoomed views. always use gradients.
2020-06-15 12:51:32 -07:00
Dustin Carlino
bfaefe1df3
implement new, better word wrap. remove the old way. applied everywhere
...
except tutorial instructions, since those need rewriting soon anyway
2020-06-15 11:42:09 -07:00
Dustin Carlino
d1695e904e
trigger [rebuild]
2020-06-14 19:20:14 -07:00
Dustin Carlino
915c734849
organizing layer picker
2020-06-14 13:59:58 -07:00
Dustin Carlino
501b65c1e6
finishing up signal editor arrow outlines
2020-06-14 13:28:15 -07:00
Dustin Carlino
64fba66e42
add links to proposal write-ups and adjust the UI for that page
2020-06-14 13:04:28 -07:00
Dustin Carlino
5cda64d6fd
adjusting start/end marker icons
2020-06-14 12:32:44 -07:00
Dustin Carlino
d437152be4
add an intro story cutscene to motivate the whole game [rebuild]
2020-06-13 20:44:46 -07:00