Latest revision |
Your text |
Line 1: |
Line 1: |
− | '''Member of The RBE10K Project'''
| |
| <data table="RBE10K_Members" template="Infobox RBE10K_Members"> | | <data table="RBE10K_Members" template="Infobox RBE10K_Members"> |
| Name=Ziggy | | Name=Ziggy |
| Skills=software development (programming), wiki (MediaWiki) admin, inspirational writing, RBE10K coordination | | Skills=software development (programming), wiki (MediaWiki) admin, inspirational writing, RBE10K coordination |
| Interests=RBE, earthship (housing), teams support, wiki structure, solar updraft tower (energy), nutrition (food) | | Interests=RBE, earthship (housing), teams support, wiki structure, solar updraft tower (energy), nutrition (food) |
− | Settler=yes!!!
| + | Teams=participant support, wiki, IMAR (intelligent management of available resources) |
− | </data>
| + | Settler=yes! |
− | | + | |
− | '''Member of The Zeitgeist Movement Sydney Chapter'''
| + | |
− | <data table="TZMSYD_Members" template="Infobox TZMSYD_Members">
| + | |
− | Name=Ziggy
| + | |
− | Skills=software development (programming), wiki (MediaWiki) admin, TZM chapter coordination
| + | |
− | Interests=RBE, earthship (housing), teams support, wiki structure, solar updraft tower (energy), nutrition (food), values
| + | |
| </data> | | </data> |
| | | |
Line 133: |
Line 126: |
| Logo=Image:Intel_logo.jpg | | Logo=Image:Intel_logo.jpg |
| </data> | | </data> |
− |
| |
− | == Test ==
| |
− | <syntaxhighlight lang="html4strict">
| |
− | <html>
| |
− | <head>
| |
− | <style>
| |
− | html {
| |
− | background: url(World-map.jpg) no-repeat center center fixed;
| |
− | -webkit-background-size: cover;
| |
− | -moz-background-size: cover;
| |
− | -o-background-size: cover;
| |
− | background-size: cover;
| |
− | }
| |
− | </style>
| |
− |
| |
− | </head>
| |
− | <body>
| |
− | <h2 id=coords>coords</h2><br>
| |
− | <h2 id=imgdata>imgdata</h2>
| |
− | <canvas id="canvas" style="display: none;">
| |
− | <img style="position: absolute; top: 30%; left:30%; margin-top: -32px; margin-left: -32px;" src="dot.gif"/>
| |
− |
| |
− | <script>
| |
− | var img = new Image();
| |
− | img.src = 'World-map.jpg';
| |
− | img.src = img.src + '?' + new Date().getTime();
| |
− | img.setAttribute('crossOrigin', '');
| |
− | var ctx = canvas.getContext('2d');
| |
− | //var canvas = document.createElement('canvas');
| |
− | img.onload = function() {
| |
− | //alert(this.width + 'x' + this.height);
| |
− | canvas.width = this.width;
| |
− | canvas.height = this.height;
| |
− | ctx = canvas.getContext('2d');
| |
− | //canvas.getContext('2d').drawImage(img, 0, 0, img.width, img.height);
| |
− | ctx.drawImage(img, 0, 0);
| |
− |
| |
− | imgdata.innerHTML = "X: " + this.width + ", Y: " + this.height +
| |
− | ", DX: " + document.body.clientWidth + ", DY: " + document.body.clientHeight;
| |
− | }
| |
− |
| |
− | function printMousePos(event) {
| |
− | var X = event.clientX;
| |
− | var Y = event.clientY;
| |
− | var pixelData = ctx.getImageData(X, Y, 1, 1).data;
| |
− | coords.innerHTML =
| |
− | "X: " + X + ", Y: " + Y; /* +
| |
− | ", R: " + pixelData[0] + ", G: " + pixelData[1] + ", B: " + pixelData[2] + ", A: " + pixelData[3]; */
| |
− | }
| |
− | document.addEventListener("click", printMousePos);
| |
− |
| |
− | </script></body>
| |
− | </html>
| |
− | </syntaxhighlight>
| |
− |
| |
− | == Matias ==
| |
− | [[File:msbvd.zip]]<br>
| |
− | [[File:em7z001.zip]] - [[File:em7z002.zip]] - [[File:em3.zip]]
| |
− |
| |
− | == Code tests ==
| |
− | [[/golang1]]
| |
− | [[/golang2]]
| |
− | [[/golang3]]
| |
| | | |
| == See also == | | == See also == |