majdal / modex Goto Github PK
View Code? Open in Web Editor NEWA web game that makes it easy to explore scientific models
License: Other
A web game that makes it easy to explore scientific models
License: Other
This task is huge and will be split into subtasks as components grow
We are sending GeoJSON over a websocket, so we need to research how people are planning to actually display GeoJSON and then implement it, probably in Crafty.
Big question: how do we reduce the amount of data sent while retaining visual accuracy? https://www.mapbox.com/blog/mapping-millions-of-dots/ has some pointers for us here.
The output of this task will be a bit of HTML and Javascript which can download some GeoJSON (from a static file for testing, but from twisted in general) and render it.
We need to support:
The d3 chart currently floats on top of the openlayers map. This is ugly and annoying. They should sit side by side, or there should be a button that uses jquery to hide and show the chart (and makes the map expand and contract to as much space as it has available)
Play with autobahn until it goes.
Tnings to try:
As we do this, DOCUMENT the process at APIs
At an in-person meeting with everyone, we need to
I apologize for the spam, and I'll delete this right after. I tried to send you an email at your GitHub email but I remember that you said you were having problems.
Contents of my initial email:
"I put the related map files in a directory called ~/Projects/map. However, today I tried accessing the files and the map directory still exists (where I copied SIG) but there's nothing inside.
I might have mistakenly deleted it or something, but I honestly have no idea where the files went.
Would it be too much trouble for you resend them to me via email?
Sorry!"
Since I realize email wouldn't work, would a dropbox folder be possible, or even using something like truecrypt and uploading an encrypted zip file and you sending me the key some other way?
Once again I'm sorry for the inconvenience!
For inspiration:
We're having trouble deciding amongst ourselves what we are trying to show to people. To move the project out of this rut, I propose we invent some layers of data to practice visualizing. I'm imagining a bitmap of soil types, drawn in mspaint, a list of farms along with their characteristics (wealth, pesticide policy...?) written up in Excel, a bitmap of habitat ranges for each of several species (butterflies, coyotes, ....? what lives in southern Ontario anyway?) also drawn in paint, and a set of shapefiles giving road networks, farm boundaries, maybe distances to abbatoirs, processing plants, cities capes, abattoirs? I guess our first step will be to rough in what we thint
the important datasets are, before we try to create them.
@tcstewar, @bruzen, @n7wilson and @vchynarov, do you have time this weekend? I am done exams Saturday 3pm, so I am going to be working on this then,so at our work session on on Monday we can give Mark and @hala87 tangible requirements to apply their info design skills to. Kirsten and Nathan have been thinking the most about this, so I will be reams more effective with at least you two there to bounce ideas.
We need attractive design docs to keep us on track.
This has several subtasks like thinking about gameplay, thinking about the multitude of useful visualizations available...
Same as #5, we need to be able to render raster images. GeoJSON is only for vector data, but we must be able to overlay simple. This includes both basemaps (like http://www.openlayers.org/) and simulation data that comes in rasters (like land use models, which aren't all that useful unless they can change, which is next to impossible to do sensibly in polygon-world, but dead easy to do as cellular automata)
ODEs?
It's an messy submodule dependency that we don't really need for the current modex project.
None of the code is being used. Why not create a separate garlic-models repo that hosts the lightbulb model and the actual farm model?
That way we can do something like:
from waterloosig.models.import Farmsim
import Simulation
params = {}
farmsim = Simulation(Farmsim)
farmsim.params = {}
farmsim.run(host=127.0.0.1, port=8000) # sends to Twisted or whatever.
We are currently rendering to canvas by simply subtracting a -80,43 from the lat/lon coords.
One of the major purposes of a GIS is to perform projections, where the earth's round-but-not-quite coordinates are flattened to cartesian (like a HTML5 canvas). GDAL can do this for us, we need to dig into the API and research how to use it properly.
It is
the crazytimes
(this is probably not going to be done for friday)
It is extremely important for us to be accessible. The curious should be able to simply git clone and have a working tool that does sintering scuppernong.
Since we can't legally post much of our reference datasets, we should randomly generate smaller sets and post those in our repo under "demos/"
Subtasks:
As a subtask, someone should investigate the legality of extracting some distributional information from our private government/corporate datasets and using those distributions to make the fake data.
I didn't realize I'd lost them, but they're submodules, not folders, so they just vanished when I moved their folders to modex/src/models/ and repulled.
Tutorials at:
At the same time, merge tcstewar/farm-eutopia in to to src/models.
This is somewhat complicated. GarlicSIM is published under LGPL2.1, which (if i understand correctly) allows us to use license our library under any license we wish, but not modify GarlicSIM.
I've managed to get OpenLayers to load countries.geojson, which wasn't that surprising since that I stole off of their demos. On the other hand meatplants.geojson, which is a dataset more interesting to us, is being finicky. It's downloading but not displaying. No exceptions, though. I assume something is up with the geoprojection.
What did you do to get the farm polygons to show up? Can you do it again? The meatplant dataset is open data, so it is in the repo now ([[assets/maps/meatplants.geojson]] and sourcefile(s) assets/maps/original/meatplants.zip if the geojson version isn't good enough).
We badly need to start building pages (on the wiki here, for now?) that explain all the aspects of this project to orient the curious and new group members.
They should be about under 10 minutes to digest, each of them.
Similar to design docs, we need someone to take on public relations. SocialInnovationSimulation.com is a good start: it needs to be revived and promoted to build project momentum.
And attendant upon these(?)
We need to research, organize, perhaps invent compelling visualizations for the sorts of data we have to deal with.
The output of this task would be a series of tutorials (written in markdown is fine) that could get anyone with basic numeracy up to speed on the sorts of ways we can look at the world using pictures.
Talking to [http://pages.cpsc.ucalgary.ca/~sheelagh/wiki/pmwiki.php](Sheelagh Carpendale) would be informative here.
@tcstewar has very explicitly said that his data logging tool ("ccmsuite": https://github.com/tcstewar/ccmsuite) has served him well in his 10 years logging two kinds of data: "continuous" (ie floating point) time serieses, single-summary statistics, and discrete events.
We are very interested in aping [http://corridordesign.org/](these folks). For example, we want to see deer corridors, or butterfly corridors, or pine tree corridors all arise naturally out of our model, and we want to be able to see their development over time. Yes, we could tree this all as a large number (per-pixel) of individual time series, but it seems like there is some spatially-explicit code framework out to be written.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.