regl
regl copied to clipboard
http://regl.party/API code example error
I'm not sure if this is the place to publish the issue, but I didn't find a better place.
It seems there is an error at http://regl.party/api#inputs code example:
angle: function (context, props, batchId) {
return args.speed * context.tick + 0.01 * batchId
},
The code is using args instead of props, the return statement should be:
return props.speed * context.tick + 0.01 * batchId
I believe that this was addressed in PR https://github.com/regl-project/regl/pull/357 but it hasn't been deployed.
I'm tracking website deployment here: #445