3 ms·
Sailboat simulation in WebGL (2D Wireframe)
- skool 11y agoGetting the boat to go in the direction I wanted was much more difficult than I thought it would be. I like the subtle wind animation. Seemed to have an issue with chrome, "Error creating WebGL context", though it worked in firefox.
- JohnDoe365 11y agoWorked for me in Chrome on Windows, doesn't work with FF 45.
- ygra 11y agoWorks fine in Edge, too.
- defenestration 11y agoThat's a nice subtle animation. I also had difficulty steering the boat. It might be an idea to map Q-W to the sail and O-P to the rudder. When you start the sail is on the left and the rudder is on the right.
- noja 11y agoBlack screen for me (apart from text). Firefox 45.
- teekert 11y agoAnother Chrome exclusive ;) Looks very nice and usefull in Chrome though.
- SG- 11y agoWorks in Safari too.
- zappo2938 11y agoIt would be a lot more interesting if apparent wind [1] was calculated and the vectors were superimposed on the sailboat so users can see what is happening. Sails are curved so they act like foils with wind moving faster of the outer surface than the inner surface creating forward thrust. The faster the boat moves through the water more thrust created which is countered by drag of the boat through water. There is nothing like the feeling of acceleration when a windsurf board starts planing. [1] http://www.sailbetter.com/apparent-wind/ http://www.sailbetter.com/apparent-wind/
- Infernal 10y ago> Sails are curved so they act like foils with wind moving faster of the outer surface than the inner surface creating forward thrust. https://en.wikipedia.org/wiki/List_of_common_misconceptions#Physics https://en.wikipedia.org/wiki/List_of_common_misconceptions#...
- mikebelanger 11y agoCool stuff! Admittedly it took my a moment to figure out the particles signified wind gusts, but once I figured that out the rest was straight-forward.
- pc2g4d 10y agoControls aren't doing anything for me :-(
- imakesnowflakes 10y agoPlease make sure that the window has focus. If the boat is not moving, then the controls won't do anything other than rotate the sail and the rudder (which is very subtle).