Extract embedded JPEG images from PDF documents.
A Pen by Andreas Borgen on CodePen.
<script>console.clear();</script> | |
<script src="https://unpkg.com/vue@2"></script> | |
<script src="https://unpkg.com/simplify-js@1"></script> | |
<script src="https://unpkg.com/@sphinxxxx/[email protected]"></script> | |
<header> | |
<h1>The world. Simplified.</h1> | |
</header> | |
<main id="app"> | |
<label> |
<script>console.clear();</script> | |
<script src="https://unpkg.com/vue@2"></script> | |
<script src="https://unpkg.com/simplify-js@1"></script> | |
<script src="https://unpkg.com/@sphinxxxx/[email protected]"></script> | |
<header> | |
<h1>The world. Simplified.</h1> | |
</header> | |
<main id="app"> | |
<label> |
<script>console.clear();</script> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script src="https://d3js.org/d3-array.v1.min.js"></script> | |
<script src="https://d3js.org/d3-geo.v1.min.js"></script> | |
<script src="https://d3js.org/d3-geo-projection.v1.min.js"></script> | |
<script src="https://unpkg.com/shapefile"></script> | |
<!-- ABOUtils.dropFile() | |
<script src="https://codepen.io/Sphinxxxx/pen/VejGLv.js"></script> | |
--> |
<script> | |
console.clear(); | |
//Super-duper-lightweight tweening "library": | |
//https://gist.github.com/Sphinxxxx/fc9bcc601a2f903ff167112855d0437c | |
function TWEEN(b,f,h,k,c){function g(a){if(d){var e=(a-d)/h;a=1>e?b+l*c(e):f;if(1<=e)return}else d=a,a=b;k(a);requestAnimationFrame(g)}c=c||function(a){return a*(2-a)};var l=f-b,d;requestAnimationFrame(g)}; | |
</script> | |
<script src="//unpkg.com/vue@2"></script> | |
<div id="app"> |
<script>console.clear();</script> | |
<h2>Click the sphere to change/reset textures</h2> |
//Super-duper-lightweight tweening "library". | |
//An actual library like https://github.com/tweenjs/tween.js would probably be better.. | |
function TWEEN(from, to, duration, callback, easing) { | |
//ease-out quad: https://github.com/tweenjs/tween.js/blob/master/src/Tween.js#L544 | |
easing = easing || function(t) { return t * (2 - t); }; | |
var diff = to - from, | |
startTime; | |
function anim(time) { |
<main> | |
<div id="map-canvas"></div> | |
<!--div id="summary" class="info-pane" ></div--> | |
</main> |
Extract embedded JPEG images from PDF documents.
A Pen by Andreas Borgen on CodePen.
<div class="loader"></div> |
A Pen by Andreas Borgen on CodePen.