Better HN
top
new
best
ask
show
jobs
Log in
Sign up
MouseFollower.js | Better HN
MouseFollower.js
(christian-fei.com)
11 points · by
christian_fei
· 12y ago · 6 comments
Comments
[–]
tempodox
12y ago
I wonder why nobody has come up with a BitSetter.js yet. For such an important operation it's certainly toiling in obscurity. The BitUnsetter.js will be a special hackathon challenge.
[–]
feistyio
12y ago
https://github.com/mikolalysenko/ndarray-bit
[–]
christian_fei
OP
12y ago
ok but how does this relate to the post? Oo
[–]
christian_fei
OP
12y ago
what's a bitsetter?
[–]
Robby2012
12y ago
You're using (0,0) as reference to move the cube but IMO you should use ( width/2, height/2 )
[–]
christian_fei
OP
12y ago
good point! Thanks, will look into it