GIS Daten Kanton Zürich- >Shape File
http://en.wikipedia.org/wiki/Shapefile
http://www.statsilk.com/maps/download-free-shapefile-maps
Höhenlinien-> Mesh
Blender http://blenderartists.org/forum/showthread.php?t=144504 Point Cloud Skinner?
http://blenderartists.org/forum/showthread.php?241950-A-Script-to-Skin-a-Point-Cloud-%28for-Blender-2-6x-or-Later%29
http://www.blendpolis.de/viewtopic.php?f=14&t=48641
Displacement to mesh
Displacement modifier?
3d Stadtmodell Zürich Import in Blender
https://vimeo.com/66132484
http://maps.zh.ch/
Ice in JS
http://www.mikolaskova.cz/ice/ice_softw/ice_js_00/
mousedown neue Fläche an Mausposition
B: stop animation
C: save PNG
wird nach den ersten 20 objekten extrem langsam
Friday sailing
http://www.mikolaskova.cz/friday/sailing/
http://www.mikolaskova.cz/friday/slower_sailing/
Inhalt eines HTML-Elements herunterladen
var text=document.getElementById("xml").innerHTML;
window.open('data:text/svg+xml;charset=utf-8,' + escape(text));
HTML 5 Canvas als SVG
https://code.google.com/p/html5-canvas-svg/
JS Canvas als Bild slpeichern
put_Image(c);
function put_Image(c)
{
var image = c.toDataURL("image/png").replace("image/png", "image/octet-stream"); // here is the most important part because if you dont replace you will get a DOM 18 exception.
window.location.href=image; // it will save locally
}
Kann ich den Speicherort bestimmen? Oder nur im Browser?
Das Bild vorher auf eine höhere Auflösung skalieren
Canvas Animation Framerate
Animation: requestAnimationFrame(animate)
Framerate: setTimeout (function(){…anim-code inkl. requestAnimFrame…},1000/fps);
var fps = 100;
function animate() {
setTimeout(function(){
var arrayLength = forms.length;
for (var i = 0; i < arrayLength; i++) {
forms[i].scale();
}
form = new Form(x, y);
if (fps>1)
{fps=fps-1;}
else{fps=0.3;}
// alert(fps);
forms.push(form);
var arrayLength = forms.length;
for (var i = 0; i < arrayLength; i++) {
draw_form(forms[i], ctx);
}
var min = -100;
var max = window.innerWidth;
// and the formula is:
var random = Math.floor(Math.random() * (max – min + 1)) + min;
x = random;
var random = Math.floor(Math.random() * (max – min + 1)) + min;
y = random;
requestAnimationFrame(animate);
},1000/fps);
}