Skip to content

Instantly share code, notes, and snippets.

View emackey's full-sized avatar

Ed Mackey emackey

View GitHub Profile
@emackey
emackey / TwoWidgets.html
Created October 31, 2014 13:53
Two Widget test for Cesium Sandcastle
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <!-- Use Chrome Frame in IE -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="description" content="Use Viewer to start building new applications or easily embed Cesium into existing applications.">
<meta name="cesium-sandcastle-labels" content="Beginner, Showcases">
<title>Cesium Demo</title>
<script type="text/javascript" src="../Sandcastle-header.js"></script>
@emackey
emackey / ShaderInvaders.frag
Last active December 16, 2015 07:09
Shader invaders. Just testing Gist.
#ifdef GL_ES
precision highp float;
#endif
// Shader Invaders!!
// Concept & code by Alan Mackey. Alien graphic by @emackey.
// Original version is http://glslsandbox.com/e#424.12
uniform float time;
uniform vec2 mouse;