Skip to content

Instantly share code, notes, and snippets.

Created October 28, 2012 22:07
Show Gist options
  • Save anonymous/3970106 to your computer and use it in GitHub Desktop.
Save anonymous/3970106 to your computer and use it in GitHub Desktop.
Hello world in unfolding maps
import processing.opengl.*;
import codeanticode.glgraphics.*;
import de.fhpotsdam.unfolding.*;
import de.fhpotsdam.unfolding.geo.*;
import de.fhpotsdam.unfolding.utils.*;
UnfoldingMap map;
void setup() {
size(800, 600, GLConstants.GLGRAPHICS);
map = new UnfoldingMap(this);
MapUtils.createDefaultEventDispatcher(this, map);
}
void draw() {
map.draw();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment