Scenic Tram Simulator
alexanderperrin.com.au
alexanderperrin.com.au
I do wish there was a small prompt on screen right at the start with an indication of how to start off the animation. I clicked, dragged and swiped everywhere on the screen before I finally clicked the (i) button to see it was all keyboard driven! :) But perhaps that was deviously intentional, as it gave the site time to load up all the assets it needed in the background?
Also, this toy/experiment reminds me so much of Machinarium, I'm going to play it again right now.
Please also check http://fl.corge.net/ because it contains outrageous amounts of outstanding code.
"Shall I make a beautiful illustrative web-based experience or shall I make a site using Bootstrap?" said nobody ever.
I actually made a similar argument yesterday to someone - whatever we feel about Flash as medium for normal web content or as a browser plugin, that shouldn't taint it's reputation as a content creation tool.
As a designer these days I don't think there's anything like that kind of workflow available any more.
However I get the point, but I feel it is important to stress this difference that you bring up.
My 18 year old clueless self seen turtleshell.com randomly, thought it was amazing, looked up flash, did stuff in Flash, 10 years later OOP. 10 years after that, software engineering.
My 18 year old clueless self today would want to be like "somethingcool.com" but I would have to troll through about 12 months of tutorials to see something on the screen.
I'd work in a factory.
Mean rant below: However, this suffers from terrible hitching and framerate issues. I tried it both in Firefox and Chrome (latest stable release for both), on Windows, on a i7-6700k cpu and nVidia GTX 1080ti gpu. The framerate just isn't stable and there are random hitches of one or two dropped frames. By itself this wouldn't be that big of a problem, but combined with the very contrasting art style (black on full white), it started giving me a headache and making me seriously sick after a short while. Even when not dropping frames, the motion was quite juddery, e.g. I saw the nearby poles jumping from position to position. I won't ask that the authors resolve the frame-rate issues, because I suspect it's an inherent issue to the browsers. Instead I would suggest that motion blur be implemented to hide the harsh frame-to-frame transitions and less contrast be employed between foreground and background (maybe make the background a bright grey rather than 100% full white).
EDIT: Actually, I just tried it again in entirety, and noticed some juddering from time to time. However, when I am looking at the beautiful background artwork (which is most of the time), that juddering is less obvious. I guess it depends if you are looking at the background art or the foreground animation as to whether it is really apparent for you.
I guess people who have a "gaming capable" PC will notice the micro-stuttering more than others, because they are used to fluid animations.
It's interesting how no one minds about low FPS when watching a movie (24 FPS is "cinematic"!), but when in a game (or any interactive experience where you provide a nontrivial amount of input) suddenly FPS has a huge impact on the experience.
Stuttering in WebGL is not an inherent issue in browsers. :)
To me it seems like something in their code is thrashing the GC. Maybe the `getLUT` function which creates a new 100-length array every frame...
Whilst it shouldn't be surprising, I'm astounded as to how much of a science and balancing act it is to achieve frames that at least ~feel~ smooth, especially on web browsers.
I'll be working away as much as possible to try and make things silky all over. Thanks for your patience until then!
Maybe that’s just inevitable when using the canvas for painting?
I don't know that the title here is really quite right. "Demo" is probably closer to what this is, maybe "Interactive Animation". When I think of a simulation I'm typically thinking of some effort around achieving realism and a much higher degree of freedom of action. This isn't an effort to achieve any of that. This is an artistic impression of such a trip. I can interact with it, but there is very little freedom of choice. Also the rendering is "drawn" 2D.
http://alexanderperrin.com.au/portfolio/short-trip/
> Three.js, Javascript
> Short Trip is the first instalment in a collection of interactive illustrations created for the web. It has been created as a study into capturing the essence of graphite on paper within a digital context, and to learn more about web-based graphics technologies. Short Trip will run on most devices supporting WebGL, including mobile devices.
> Have a look at alexanderperrin.com.au/paper/shorttrip
> Due to the current limitations of both WebGL technologies and my understanding of them, there’s bound to be issues found here and there. If you’ve found something particularly odd and have a spare few minutes it would be greatly appreciated if you tell me about it here. At the moment there’s a few known issues particularly relating to Android support. I hope that these will improve with time.
> Regardless, I hope that you enjoy your journey.
Also, love the little animated cats along the path. At one stop, I saw an 'old lady' cat off to the left of the screen moving fast towards my tram. Perhaps she was rushing to get on, but I took off on my next leg of the journey regardless, and noticed that as soon as I started moving, she stopped running with a somewhat dejected slump to her stance. Probably totally random and coincidental, but I'd like to think she was trying to run and catch the tram and missed it!
[spoiler warning]
It's nice that you're not allowed to walk the cat over the cliff at the end and ting the bell.
Nice illustrations. The sounds are also great. I could spend the night driving the car back and forth but I've got work to do and I already spent too much time on this :-)
Bandwidth limit exceeded. Guess it was the former :).
Also, I know it is a take on a popular children's fable, but this one seems to have a not so subtle political message underlying it, and it also seems to be a lot darker (I only got up to the end of page 3). I don't know - it seemed to me in this one that the rats seemed to be a metaphor for a particular socio-economic cultural group. I could be wrong, but something about it made me a little uneasy.
"My apologies, your device doesn't support WebGL, which is what Short Trip relies on! Try updating it, or try another one."
WebGL works all across the web, so you must be doing something wrong in detecting it. This is on a Mac running Yosemite (I know, company won't let me upgrade!) with plenty o' memory and lots o' CPU available.
For what its worth, the simulator even does physics (try not pressing right on a hill, for example - the tram will roll backwards, and brake much faster than on plain level)... awesome.
P.S. you have a erroneous </div> tag in the html source near the credits block.
[edit] some info here - http://alexanderperrin.com.au/portfolio/short-trip/
Did you notice that
... wall clocks are showing your local time?
... passengers walk towards you (the driver) when you miss their stop?
1. It's not a Show HN, the author didn't post this here
2. It's some random person's experiment and they likely didn't expect the HN hug of death.