Joshua Koo
Joshua Koo
from what I observe CC is usually used for non-code work. maybe @mrdoob thinks code from the glsl sandbox are art pieces too :) there are also different variants of...
@mrdoob yes, from my knowledge of intellectual property, copyright by default belongs to the author of the original work (but of course depends on country and circumstances - for example,...
tada! created a new branch if you'd like to experiment with. https://github.com/zz85/glsl-sandbox/tree/audio for now, you need to click the "Play Music" button and put the path to a music file...
okay, here we go! http://jabtunes.com/labs/glslaudiosandbox/minecraft.html
also just thinking, potentially could use some annotation like `/*#music('path')'*/` to make music play in glslsandbox gallery. okay, heading to sleep! (^^)/~~~
ohoh... i'm so distracted from work and tempted to implement this right now! (#'_')
Okay, here's a poof of concept for the slider UI element!! It supports floats and integers. Mouse over the numbers then mouse move over the ballon slider. http://jsdo.it/zz85/5Ad2 I believe...
here's my attempt an integration with codemirror in a glslsandbox branch. click on a number, the the slider would appear above it. right now it supports only position numbers right...
i fixed the parsing in glsl.js mode to take in `-1.0` as a number token instead of `-` as an operator token and `1.0` as a number token so negative...
great feedback, @emackey! 1. not sure why this happens, either events are not hooked with codemirror correctly or tokens are miscalculated :( 2. very true. i think a better solution...