-
A. Schneider, "Real-Time Volumetric Cloudscapes," in GPU Pro 7: Advanced Rendering Techniques, 2016, pp. 97-127. (Follow up presentations here, and here.)
-
S. Hillaire, "Physically Based Sky, Atmosphere and Cloud Rendering in Frostbite" in Physically Based Shading in Theory and Practice course, SIGGRAPH 2016. [video] [course notes] [scatter integral shadertoy]
-
[R. Högfeldt, "Convincing Cloud Rendering – An Implementation of Real-Time Dynamic Volumetric Clouds in Frostbite"](https://odr.chalmers.se/hand
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fs = require('fs'); | |
| var str = fs.readFileSync('./test.html', encoding='utf8'); | |
| YUI().use('node', function(Y) { | |
| Y.config.doc.innerHTML = str; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YUI().use('nodejs-dom', function(Y) { | |
| // Y.Browser | |
| { | |
| window, //fake window | |
| document, //jsdom document | |
| self, //window | |
| location, //window.location, has an href == __filename | |
| navigator //Fake navigator, appVersion => Node version, appName => Node.js, userAgent => Custom for Node ;) | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YUI().use('nodejs-dom', function(Y) { | |
| var document = Y.Browser.document; | |
| document.createElement('div'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YUI().use('event', 'io', 'nodejs-dom', function(Y) { | |
| //Do your stuff | |
| //Inside the request handler callback: | |
| //Now each request get's a new DOM and not a shared one. | |
| Y.use('nodejs-dom', function(Y) { | |
| var document = Y.Browser.document; | |
| document.createElement('div'); | |
| }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
| * http://benalman.com/ | |
| * Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
| (function($) { | |
| var o = $({}); | |
| $.subscribe = function() { | |
| o.on.apply(o, arguments); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <list>.append(value_to_append) | |
| <list>.clear() - clear the list | |
| <list>.delete(position_in_list) | |
| <list>[x:y] - sublist from x (inclusive) to y(non-inclusive) | |
| x = [] - create a list | |
| y = list() - create a new list | |
| z = list('abc') - create a list with elements 'a', 'b', 'c' |