project files added

This commit is contained in:
mhalfmann
2021-06-15 16:00:08 +02:00
parent e156e2f053
commit db46afa351
13928 changed files with 1569902 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

+105
View File
@@ -0,0 +1,105 @@
{
"osm": {
"projection": "mercator",
"type": "deepzoom",
"tiles": {
"clip": {
"minLevel": 0,
"maxLevel": 20,
"startCol": 275200,
"startRow": 180992,
"bounds": {
"min": [
48.458353,
8.96484374976547
],
"max": [
48.5747899110263,
9.14062499976523
]
}
},
"tileSize": 512,
"format": "png",
"overlap": 0,
"type": "map",
"height": 131072,
"width": 131072,
"path": "./var/stadtplan/2018",
"urlTileTemplate": "{path}/{level}/{row}/{column}.{format}"
},
"stadtplan": {
"projection": "mercator",
"type": "deepzoom",
"icon": "./var/img/map_thumbnails/stadtplan.jpg",
"tiles": {
"compression": [
"dds"
],
"clip": {
"minLevel": 12,
"maxLevel": 20,
"startCol": 275200,
"startRow": 180992,
"bounds": {
"min": [
48.458353,
8.96484374976547
],
"max": [
48.5747899110263,
9.14062499976523
]
}
},
"tileSize": 512,
"format": "png",
"overlap": 0,
"type": "map",
"height": 131072,
"width": 131072,
"path": "./var/stadtplan/2018",
"urlTileTemplate": "{path}/{level}/{row}/{column}.{format}"
},
"options": {
"cover": true
}
},
"luftbild": {
"projection": "mercator",
"type": "deepzoom",
"icon": "./var/img/map_thumbnails/luftbild.jpg",
"tiles": {
"compression": [
"dds"
],
"clip": {
"minLevel": 12,
"maxLevel": 20,
"startCol": 275200,
"startRow": 180992,
"bounds": {
"min": [
48.458353,
8.96484374976547
],
"max": [
48.5747899110263,
9.14062499976523
]
}
},
"tileSize": 512,
"format": "png",
"overlap": 0,
"type": "map",
"height": 131072,
"width": 131072,
"path": "./var/luftbild/2018",
"urlTileTemplate": "{path}/{level}/{row}/{column}.{format}"
},
"options": {
"cover": true
}
}
}
+97
View File
@@ -0,0 +1,97 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- disable zooming -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<title>Memory</title>
<style media="screen">
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
/* See http://stackoverflow.com/questions/9280258/prevent-body-scrolling-but-allow-overlay-scrolling */
position: fixed;
overflow: hidden;
font-size: 18px;
background: gray;
font-family: arial, sans-serif;
color: #FFF;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-overflow-scrolling: auto;
user-select: none;
touch-action: manipulation;
}
.site {
display: flex;
min-height: 100%;
flex-direction: column;
}
main {
flex-grow: 1;
overflow: hidden;
position: relative
}
.container {
position: absolute;
width: 100%;
height: 100%;
min-height: 100%;
}
</style>
<script type="text/javascript" src="../.././3rdparty/all.js"></script>
<script type="text/javascript" src="../../../lib/pixi/all.js"></script>
<script type="text/javascript" src="../../../lib/all.js"></script>
</head>
<body class="site">
<main id="main" class="container">
<canvas id="canvas" width="100%" height="100%" style="position: absolute; z-index:10000; user-select: none; pointer-events: none;">
Get a better browser, bro.
</canvas>
<img src="../women.jpeg" id="image" draggable="false" width="274" height="184" />
</main>
<script>
const test = new AppTest(canvas, main)
const app = new App()
const scatterContainer = new DOMScatterContainer(main)
const imageScatter = new DOMScatter(image, scatterContainer, {
x: 44,
y: 144,
width: image.clientWidth,
height: image.clientHeight,
minScale: 0.5,
maxScale: 5,
scaling: true,
rotating: true
})
// app
//--------------------
app.setup()
app.run()
// test
//--------------------
test.setup()
test.run(() => {
for (let scatter of scatterContainer.scatter.values()) {
scatter.reset()
}
})
</script>
</body>
</html>
Binary file not shown.
+101
View File
@@ -0,0 +1,101 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- disable zooming -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<title>Record Multitouch</title>
<style media="screen">
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
/* See http://stackoverflow.com/questions/9280258/prevent-body-scrolling-but-allow-overlay-scrolling */
position: fixed;
overflow: hidden;
font-size: 18px;
background: gray;
font-family: arial, sans-serif;
color: #FFF;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-overflow-scrolling: auto;
user-select: none;
/* touch-action: manipulation; */
}
.site {
display: flex;
min-height: 100%;
flex-direction: column;
}
main {
flex-grow: 1;
overflow: hidden;
position: relative
}
.container {
position: absolute;
width: 100%;
height: 100%;
min-height: 100%;
}
</style>
<script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../../dist/iwmlib.js"></script>
<script src="../../dist/iwmlib.pixi.js"></script>
</head>
<body class="site" onload="loaded()">
<main id="main" class="container">
<canvas id="canvas" width="100%" height="100%" style="position: absolute; z-index:10000; user-select: none; pointer-events: none;">
Get a better browser, bro.
</canvas>
<img src="women.jpeg" id="image" draggable="false" width="274" height="184" />
</main>
<script>
const test = new AppTest(canvas, main)
const app = new App()
const scatterContainer = new DOMScatterContainer(main)
function setup() {
let imageScatter = new DOMScatter(image, scatterContainer, {
x: 44,
y: 144,
width: image.clientWidth,
height: image.clientHeight,
minScale: 0.5,
maxScale: 5,
scaling: true,
rotating: true
})
}
function reset() {
for (let scatter of scatterContainer.scatter.values()) {
scatter.reset()
}
}
function loaded() {
setup()
app.setup()
app.run()
test.setup()
test.run(reset)
}
</script>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB