TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sailboat simulation in WebGL (2D Wireframe)

39 pointsby imakesnowflakesabout 9 years ago

7 comments

defenestrationabout 9 years ago
That'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.
zappo2938about 9 years ago
It 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.<p>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.<p>[1] <a href="http:&#x2F;&#x2F;www.sailbetter.com&#x2F;apparent-wind&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.sailbetter.com&#x2F;apparent-wind&#x2F;</a>
评论 #11431144 未加载
nojaabout 9 years ago
Black screen for me (apart from text). Firefox 45.
skoolabout 9 years ago
Getting 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, &quot;Error creating WebGL context&quot;, though it worked in firefox.
评论 #11428417 未加载
mikebelangerabout 9 years ago
Cool 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.
teekertabout 9 years ago
Another Chrome exclusive ;) Looks very nice and usefull in Chrome though.
评论 #11429083 未加载
pc2g4dabout 9 years ago
Controls aren&#x27;t doing anything for me :-(
评论 #11436102 未加载