vsketch
abstreet
Our great sponsors
vsketch | abstreet | |
---|---|---|
11 | 56 | |
471 | 7,278 | |
- | 0.9% | |
7.4 | 9.2 | |
10 days ago | 2 months ago | |
Python | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vsketch
-
I used Python to control a custom stop-motion animation drawing machine
The frames' vector data is generated using a sketch made with my vsketch framework (it involves loading GeoJSON data, processing it with Shapely, and projecting it in 3D with NumPy).
-
Self Portrait using Pix2Pix and vPype
There isn't a GUI, but that's by design. The CLI format facilitates the integration in automated workflows. The show command does provide a viewer for visualisation at any point in the pipeline. Also, I have another framework (based on vpype) named vsketch which is a plotter-centric python clone of Processing with a viewer and live refresh.
-
Chrysalide
Matplotlib for plotter stuff seems tedious indeed ! Definitly check out vsketch, it has an API similar to processing, but focused on generating plotter-ready SVG.
-
Problem with installing Pretty Maps
pip install git+https://github.com/abey79/vsketch#egg=vsketchDefaulting to user installation because normal site-packages is not writeableCollecting vsketch Cloning https://github.com/abey79/vsketch to /tmp/pip-install-z2f8qeqh/vsketch_476eb7b32e4a43e9ae29175d979f1267 Running command git clone --filter=blob:none -q https://github.com/abey79/vsketch /tmp/pip-install-z2f8qeqh/vsketch_476eb7b32e4a43e9ae29175d979f1267 Resolved https://github.com/abey79/vsketch to commit 1f28fa8fa491a574d04cbe80ae82f61e3b3d17fb Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... doneCollecting vpype[all]@ git+https://github.com/abey79/vpype@e8aab428b6790de03e36cd51aa30ca0612a38d87 Cloning https://github.com/abey79/vpype (to revision e8aab428b6790de03e36cd51aa30ca0612a38d87) to /tmp/pip-install-z2f8qeqh/vpype_529e4b4779de41eb909706b17c4bafe5 Running command git clone --filter=blob:none -q https://github.com/abey79/vpype /tmp/pip-install-z2f8qeqh/vpype_529e4b4779de41eb909706b17c4bafe5 Running command git rev-parse -q --verify 'sha^e8aab428b6790de03e36cd51aa30ca0612a38d87' Running command git fetch -q https://github.com/abey79/vpype e8aab428b6790de03e36cd51aa30ca0612a38d87 Resolved https://github.com/abey79/vpype to commit e8aab428b6790de03e36cd51aa30ca0612a38d87 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... doneRequirement already satisfied: Shapely[vectorized]<2.0.0,>=1.7.1 in ./.local/lib/python3.10/site-packages (from vsketch) (1.8.0)Collecting bezier>=2021.2.12 Using cached bezier-2021.2.12.tar.gz (313 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z2f8qeqh/bezier_a73eda2d953941fea05d9db7413b7234/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z2f8qeqh/bezier_a73eda2d953941fea05d9db7413b7234/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-t3gbjrvl cwd: /tmp/pip-install-z2f8qeqh/bezier_a73eda2d953941fea05d9db7413b7234/ Complete output (1 lines): The BEZIER_INSTALL_PREFIX environment variable must be set. ----------------------------------------WARNING: Discarding https://files.pythonhosted.org/packages/cb/e8/0073ac3f92cbe8ced10e5e5822594a8f63b9a3dc91258c681b7ee96b80b0/bezier-2021.2.12.tar.gz#sha256=d0f752aeb420057ab761f962259c7ca00d925750e324c9bb729f2f10ad39529a (from https://pypi.org/simple/bezier/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.ERROR: Could not find a version that satisfies the requirement bezier>=2021.2.12 (from vsketch) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 2020.1.14, 2020.2.3, 2020.5.19, 2021.2.12)ERROR: No matching distribution found for bezier>=2021.2.12
- Cats
- WARNING: pip is being invoked by an old script wrapper.
-
prettymaps: A small set of Python functions to draw pretty maps from OpenStreetMap data
FROM jupyter/scipy-notebook:33add21fab64 COPY --chown=${NB_UID}:${NB_GID} requirements.txt /tmp/ RUN python -m pip install --upgrade pip RUN pip install --quiet --no-cache-dir git+https://github.com/abey79/vsketch#egg=vsketch RUN pip install --quiet --no-cache-dir git+https://github.com/marceloprates/prettymaps.git RUN fix-permissions "${CONDA_DIR}" && fix-permissions "/home/${NB_USER}" ENTRYPOINT ["jupyter", "lab", "--ip=0.0.0.0", "--allow-root"]
-
Prettymaps: Small Python library to draw customized maps from OpenStreetMap data
pip install git+https://github.com/abey79/vsketch#egg=vsketch
abstreet
-
Show HN: I built a transit travel time map
Super awesome! I like how you just color roads to show time. When you calculate polygons to try and cover the whole area in some 5-10 minute bucket, you can wind up with all sorts of odd holes far away from roads. Keep it simple.
-
Egregoria is a city simulation with high granularity
A|B Street does some of that, but it is not a game: https://github.com/a-b-street/abstreet
-
Ask HN: Who is hiring? (December 2022)
Active Travel England | Software Developers and Data Engineer | Full or Part Time | https://www.gov.uk/government/organisations/active-travel-en...
Active Travel England will be developing tools to support evidence-based investment and policies to support sustainable transport. We're hiring 3 roles at present (there will be more jobs in January): https://www.civilservicejobs.service.gov.uk/csr/index.cgi?SI...
We are already working with the transport simulation and scenario development tool A/B Street and the Low Traffic Neighbourhood design tool: https://a-b-street.github.io/docs/ and plan to create new web applications to transform active travel infrastructure design, monitoring and evaluation.
An exciting thing about these jobs from a software engineering perspective is that you will be starting with a relatively blank slate. In the UK we already have tools like https://bikedata.cyclestreets.net and https://www.pct.bike/ but need to go further than this. Long term, the 7 strong Data and Digital team that you will be part of will develop a comprehensive map based design support tool to provide data of the type in BikeData (and more datasets), drawing tools, and automated assessment of proposed interventions.
These opportunities will enable you to shape the future of tools for active travel investment and policy in England and, because the software develop as part of these roles will be open source, beyond.
These high profile jobs will have a large impact, see here for context: https://twitter.com/Chris_Boardman/status/159648662743800217...
- Offline public transport navigation tool for simulations
-
34 extremely good websites(to have fun) that most people probably don't know about - dancing robots you can fling, 180 websites in 180 days, hot or not for generative art, draw auroras
https://github.com/a-b-street/abstreet - project to plan, simulate, and communicate visions for making cities friendlier to people walking, biking, and taking public transit.
-
Transit route mapping
I've not heard about remix before, but some of its functionality seems similar to A/B Street which is aimed at comparing the effects of proposed changes on city traffic.
-
GitHub actions for my project to automatically compile for Linux/Windows and create Windows-installer.
Thanks for sharing! Are you signing the Windows executable to get rid of "unverified developer" warnings? Inno lists signing as a feature, but I've yet to come across a simple guide on how to build and sign Rust binaries using Github actions. (Some references here])
-
Are there any big projects written in Rust without any use of unsafe code?
A/B Street, which comprises a UI library, lots of data import pipelines, and traffic simulation. 100k LoC, the only unafe is to make system calls through glow
- GPUs open the potential to forecast urban weather for drones and air taxis
-
Prettymaps: Small Python library to draw customized maps from OpenStreetMap data
Especially if you're trying to clip your entire map to some boundary, rendering the ocean is hard. https://github.com/a-b-street/abstreet/issues/32 has some examples of "flooded" maps when the heuristics get the inversion wrong. https://github.com/a-b-street/abstreet/blob/9761373c4b215485... is my incomplete attempt to deal with these partial multipolygons.
What are some alternatives?
vpype - The Swiss-Army-knife command-line tool for plotter vector graphics.
prettymaps - A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
vpype-pixelart - Pixel art plotting in vpype
tilemaker - Make OpenStreetMap vector tiles without the stack
osm-renderer - OpenStreetMap raster tile renderer written in Rust
pip - The Python package installer
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
grid2demand - A tool for generating zone-to-zone travel demand based on grid zones and gravity model
awesome-vector-tiles - Awesome implementations of the Mapbox Vector Tile specification
WRF - The official repository for the Weather Research and Forecasting (WRF) model
starcli - :sparkles: Browse trending GitHub projects from your command line