Spatial Pixel Code
This repository hosts libraries and code for computational designers featured at Spatial Pixel.
Using These Libraries
- Ensure you have Python mode release 3027 or later.
- It will create a
site-packagesfolder in your
librariesfolder. This is where your Python dependencies can live (.py files) to be shared among all your Python mode sketches.
spatialpixel.zipfrom the latest release. Don't download the archives called "Source Code" as they won't include dependencies.
Alternatively for step 3, you can clone this repository:
$ cd libraries/site-packages $ git clone https://github.com/awmartin/spatialpixel --recursive
The structure should look like this:
YOUR SKETCHBOOK/ |- ... | |- libraries/ | |- site-packages/ | |- spatialpixel/ | |- ... | |- ...
Start Processing in Python Mode and you should be able to import any of the modules included here. e.g.
import spatialpixel.mapping.slippymapper as slippymapper
Available Libraries and Components
Other ways to use the code
If you want to experiment with hacking at a library or component, one way is to copy/paste individual files into your sketches. You can also follow the contribution guidelines below and send pull requests.
If you'd like to contribute, please fork the repo, create a new branch, and send a pull request with a descriptive message. Screenshots are very helpful. :)
MIT License for all the original code in this repo (see LICENSE.txt). All dependencies maintain the licenses of their respective projects, all referenced in the