Hi there,
I've created a button in my sketch, using the p5.dom library and I would simply like it to open an URL on a blank window, when it gets pressed. Does a link() function exist in p5js? Or maybe some native javascript I could use?
Thanks!
window.open() should do the trick: http://www.w3schools.com/jsref/met_win_open.asp
Most helpful comment
window.open()should do the trick: http://www.w3schools.com/jsref/met_win_open.asp