3 ms·
So, if you've ever seen anything that looks like this, but is also slowly spinning, the spinning isn't just to look cool. The spinning, even very slow and gentl
by jerf 11y ago
So, if you've ever seen anything that looks like this, but is also slowly spinning, the spinning isn't just to look cool. The spinning, even very slow and gentle, can help give a sense of the 3D depth of the space. Even just fractions of a degree/sec can be very helpful. I recommend trying to toss in some slow constant rotational motion and see if it helps get a sense of the space. At least based on my browser, you've got the performance for it to look pretty decent.
Edit: Klunky hack you can pop in the URL bar to make it go zoom:
javascript:void(camYawIncr=.001,f=window.requestAnimationFrame,window.requestAnimationFrame=function(a, b){f(a, b); camYaw+=camYawIncr})
Once you run that, screw with camYawIncr directly, rather than re-running that. Clicking a particular element causes jiggling as the klunky hack fights with the code tracking the element.
You may need something other than .001, depending on what frame rate you're getting.
(Edit edit: There's something to be said for this whole "web" thing sometimes. It's neat that we can hack on code like this....)
- jeyoder 11y agoSite creator here, thanks for the suggestion! I added a bit of rotation before the user clicks on anything.
- jonny2112 11y agoCan you add some sort way to keep an object centered as it moves?
- Shivetya 11y agoHow do you restart the spin? It stops once you query a specific item and while I can manually turn the presentation the automatic spin never resumes
- lloyd-christmas 11y agoOddly, I built something very similar a while ago. I haven't pushed an updated version anytime recently, so there isn't any UI, but here is an example of it: http://spacejunk.herokuapp.com/ http://spacejunk.herokuapp.com/ I used the subset of the decaying data from spacetrack.