- Parcel backend instead of browserify
- Better support for non-canvas sketches, e.g. rendering SVG or plain data sketch
- Better support in Glitch.com and similar sandboxes
- GUI parameters using decorator pattern in code
- HUD for things like timeline, rulers, play/pause button, frame number, etc
- Better p5.js support out of the box (copy + paste p5.js references should work)
- Environments:
- Browser
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
DETAIL=120; | |
module hullBetween() | |
{ | |
// Combine the hull between and the original objects | |
difference() | |
{ | |
hull() | |
{ |
A module built for free lancing!
A Pen by Bryan Stoner on CodePen.
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
function setUserAgent(window, userAgent) { | |
// Works on Firefox, Chrome, Opera and IE9+ | |
if (navigator.__defineGetter__) { | |
navigator.__defineGetter__('userAgent', function () { | |
return userAgent; | |
}); | |
} else if (Object.defineProperty) { | |
Object.defineProperty(navigator, 'userAgent', { | |
get: function () { | |
return userAgent; |
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
@Grab(group='com.github.groovy-wslite', module='groovy-wslite', version='1.1.0') | |
@Grab(group='joda-time', module='joda-time', version='2.7') | |
import wslite.rest.* | |
import org.joda.time.* | |
import org.joda.time.format.* | |
import groovy.xml.* | |
import groovy.json.* | |
import static java.lang.System.* | |
import groovy.transform.* |
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
// This is what your gulp task should look like | |
gulp.task('qunit', function(done) { | |
var files = glob.sync('./test/**/*.html'); | |
runAllQunits(files); | |
}); | |
// Runs through each qunit file (one at a time, though this could be relatively easily parallelized) | |
function runAllQunits(testFiles) { | |
var browser = new Zombie(); |