GoToLoop

Results 78 comments of GoToLoop

I guess GH Releases automatically creates a tag as well. Having a tag helps to download the library from a CDN btW.

> How do you build the library? I've just taken a quick look inside the 4 ".java" files of this library. This library only imports the vanilla Java classes and...

`$.touches = [...event.touches].map(getTouchInfo);` Isn't property _touches_ an array already?!

Oh, now I've got it why: `$.touches = [...event.touches].map(getTouchInfo);` BtW, the old way to do that is: `$.touches = Array.prototype.map.call(event.touches, getTouchInfo);`

What exactly do I put in "coffee-compile.cson" to activate CS 2.4.1 or later?

It didn't work. =( I had to change the global config for it. O_o This is my "coffee-compile.cson" now: ```coffee coffeescriptVersion: "2.4.1" compileOnSave: true compileOnSaveWithoutPreview: true noTopLevelFunctionWrapper: true ``` And...

p5js' **lerp()** reference: https://p5js.org/reference/#/p5.Vector/lerp My Processing Pjs-based implementation: 1. https://Gist.GitHub.com/GoToLoop/acbf106aa784820aff23#file-pvector-js-L4-L5 2. https://Gist.GitHub.com/GoToLoop/acbf106aa784820aff23#file-pvector-js-L53-L54 3. https://Gist.GitHub.com/GoToLoop/acbf106aa784820aff23#file-pvector-js-L183-L197

> , creating new objects takes longer than just calling the function on the first vector inputted. Static methods aren't supposed to mutate its passed arguments! 🙅 Take for example...

Have you looked at my _**PVector**_.**lerp()** implementation? Although it's indeed a little complex b/c the whole thing is divided in 3 parts: 1. The **lerp()** calculation itself. 2. The static...

- I haven't created any of those vector methods. I've just refactored an existing code. - What I can do is refactor again file "PVector.js" to modern JS and make...