diff options
| -rw-r--r-- | instructions.html | 1 | ||||
| -rw-r--r-- | shader-gif.html | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/instructions.html b/instructions.html index 2903dc1..f0c6800 100644 --- a/instructions.html +++ b/instructions.html @@ -15,6 +15,7 @@ x, y = position of pixel t = current time (ms) d = imageData array r, g, b, a = color values +mousex, mousey <u>Math aliases</u> floor, ceil, round, abs, sign diff --git a/shader-gif.html b/shader-gif.html index f990805..7ac08db 100644 --- a/shader-gif.html +++ b/shader-gif.html @@ -1,4 +1,5 @@ -<!doctype html> <html> +<!doctype html> +<html> <head> <title>Shader</title> <style type="text/css"> @@ -19,7 +20,7 @@ div { display: inline-block; padding: 10px;} #rendered { display: none; } #render,#save { font-weight: bold; } #render { float: right; } -#instructions { position: absolute;top:20px;right:20px; width:180px;height:450px; box-shadow:5px 5px 10px rgba(0,0,0,0.3); background:rgba(255,255,255,0.8); display: none; cursor: -webkit-grab; } +#instructions { position: absolute;top:20px;right:20px; width:180px;height:465px; box-shadow:5px 5px 10px rgba(0,0,0,0.3); background:rgba(255,255,255,0.8); display: none; cursor: -webkit-grab; } #instructions iframe {width: 100%;height:100%;margin:0;padding:0;border:0;pointer-events:none;} #instructions .close { position: absolute; top: 5px; right: 5px; color: #f00; padding: 3px; border: 0;background: white; font-size: 10px; line-height: 10px; } .close,.remove { cursor: pointer; } |
