Hacker News new | past | comments | ask | show | jobs | submit login

This is reasonably interesting, however the window thing is a bit a problem for me. I found it distracting form the actual content of the demo.

Perhaps I'm missing the point, but it would have been better in my opinion if you'd found another way to make it auto play in whatever window size.




Do I need to resize my browser window to get it to start?

I have tabs, so I had to pull the tab out to a new window (or else risk resizing everything that is already the way I want it).

I don't know how wide my windows are! I had to pull up the javascript console and read "window.innerWidth" and 320 is amazingly small for me.


Decent point on not knowing how big your window size is - think I'll update to include a width counter on the start screen.

Reason for the resizing down at the start is simply so only certain parts of the animation show at different times. It means I can control what width the animation is being viewed at, as otherwise I'd have to animate everything across a very large width potentially, which would be pretty time consuming, as this could be huge. Think with the feedback I've had, will release as a non media query animation as well when I get chance.


It took me a while to realize that the resizing was the whole point -- the scene animates as it gets wider.

There's nothing ground-breaking here, but neither is there in many of the XKCD stunts that we fawn over here. I think if you just describe it that way we'd all know what's going on.


I explored a few options - the reason I decided to make it controlled by the user was so it didn't have to open in a new window (as you can only control the width of the window with JS in a separate window).

Thanks for the feedback though - might create a separate self-running version at some point.


This only works when resizing the window? Would an ever-increasing div work? If you floated it right the size would always increase on the left, mimicking the drag and resize action that the user is doing.

That said, I get that you're pushing the limits as it is here and you've likely already considered this as an option.


Yeh, can use resizeTo but only when you have a separate window.

Not sure if an increasing div would work. Could potentially do it as an iframe, but not sure how nicely that'd work, would have to try it out.

Think I'll release it as a separate full animation at some point - will write up how it's all put together when I do.


I'm using a tiling-WM and the resizing window thing was a bit annoying to me, and was somewhat distracting from the demo. But other than that, I'm impressed and I had lots of fun playing with the css to see how it was built!


Agree! The mandatory window re-size was not a good idea :(




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: