- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
| float map(float value, float min1, float max1, float min2, float max2) { | |
| return min2 + (value - min1) * (max2 - min2) / (max1 - min1); | |
| } |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>HTML5 Test Page</title> | |
| </head> | |
| <body> | |
| <div id="top" class="page" role="document"> | |
| <header role="banner"> |
| $ p=$(echo "scale=64;4*a(1)"|bc -l);for i in $( seq 4 $((${#p} - 1)) );do echo -n "${p:0:$i}.com: ";echo `dig +short ${p:0:$i}.com|xargs`||echo;done | |
| 3.14.com: 98.124.198.1 | |
| 3.141.com: | |
| 3.1415.com: | |
| 3.14159.com: 74.94.75.217 | |
| 3.141592.com: 72.32.231.8 | |
| 3.1415926.com: | |
| 3.14159265.com: 209.51.133.66 | |
| 3.141592653.com: 184.173.91.228 | |
| 3.1415926535.com: 68.178.232.99 |
| /* GraphicGlDemoActivity.java | |
| * Author: Yong Bakos | |
| * Since: 11/26/2012 | |
| * Thanks to: | |
| * Cube: http://intransitione.com/blog/create-a-spinning-cube-with-opengl-es-and-android/ | |
| * OpenGL Boilerplate: http://www.jayway.com/2009/12/03/opengl-es-tutorial-for-android-part-i/ | |
| */ | |
| package com.humanoriented.sudoku; | |
| import java.nio.ByteBuffer; |
| <html> | |
| <head> | |
| <script src="gif.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/p5.js/0.3.11/p5.min.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/p5.js/0.3.11/addons/p5.dom.js"></script> | |
| <script src="sketch.js"></script> | |
| </head> | |
| <body> | |
| <p>First, allow camera access.<p><p>Then click once to start recording, and another time finish recording and make a gif.</p> | |
| </body> |
| // ==UserScript== | |
| // @name GitHub PDF Raw Link | |
| // @namespace raw-pdf.github.hyrious.me | |
| // @match https://github.com/* | |
| // @grant none | |
| // @version 1.0 | |
| // @author hyrious | |
| // @description Replace PDF file's link with its raw link | |
| // @require https://cdn.jsdelivr.net/npm/selector-set@1.1.5/selector-set.js | |
| // @require https://cdn.jsdelivr.net/npm/selector-observer@2.1.6/dist/index.umd.js |
Originally posted as a reply to: https://gist.github.com/reduz/c5769d0e705d8ab7ac187d63be0099b5
Turned into a gist due to high likelihood of deletion. Also edited down to not include irrelevant trolling as to be useful to someone else considering Depth Reprojection.
Yes I know SSR and Parallax Corrected Shadowmaps work, but the consequences of errors in those depth tests aren't as high.
You yourself state that this is general purpose engine, how is a technique that will have trouble with:
| /* passable motion blur effect using frame blending | |
| * basically move your 'draw()' into 'sample()', time runs from 0 to 1 | |
| * by dave | |
| * http://beesandbombs.tumblr.com | |
| */ | |
| int samplesPerFrame = 32; // more is better but slower. 32 is enough probably | |
| int numFrames = 48; | |
| float shutterAngle = 2.0; // this should be between 0 and 1 realistically. exaggerated for effect here | |
| int[][] result; |