TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Draw an iceberg and see how it will float

388 点作者 mabynogy11 个月前

28 条评论

xg1511 个月前
Got a bit frustrated because I couldn&#x27;t get anything except a flat surface above the water, then read the tweets below and realised that&#x27;s the entire point:<p><a href="https:&#x2F;&#x2F;threadreaderapp.com&#x2F;thread&#x2F;1362557149147058178.html" rel="nofollow">https:&#x2F;&#x2F;threadreaderapp.com&#x2F;thread&#x2F;1362557149147058178.html</a><p>(Many thanks to Elon for making it impossible to read more than the first tweet on x.com without an account...)
评论 #40623265 未加载
评论 #40625410 未加载
评论 #40630763 未加载
评论 #40635345 未加载
评论 #40625484 未加载
评论 #40626675 未加载
评论 #40626605 未加载
joshdata11 个月前
Author here. Glad to see this making the rounds again after a few years.<p>Go science! Support your local climate scientist!
评论 #40625870 未加载
评论 #40624647 未加载
评论 #40626349 未加载
sinuhe6911 个月前
I got a design which wobbles infinitely! :D The clip was live recorded, not looped.<p><a href="https:&#x2F;&#x2F;streamable.com&#x2F;0a9zmb" rel="nofollow">https:&#x2F;&#x2F;streamable.com&#x2F;0a9zmb</a>
评论 #40655489 未加载
评论 #40625930 未加载
madcaptenor11 个月前
A version which has some preloaded shapes and shows the forces explicitly, inspired by the same tweet: <a href="https:&#x2F;&#x2F;engaging-data.com&#x2F;iceberger-remixed&#x2F;" rel="nofollow">https:&#x2F;&#x2F;engaging-data.com&#x2F;iceberger-remixed&#x2F;</a><p>This is all from 2021 and I feel like I’d seen this prior to that but I can’t find it.
sa4611 个月前
The HTML source code is a well-commented, fun read.<p>- There&#x27;s a fair bit of math to model drag, mass, and density using the specific gravity of ice and seawater (with tweaks to make it more realistic for 2d).<p>- Try adding a polygon that overlaps itself (self-intersects).<p>- You can paste images! The code traces the image and picks the most complex polygon.
GeorgeRichard11 个月前
This is great fun--and accurate. My lettuce floated just like the picture I drew when I tested it in the bath.
评论 #40623457 未加载
jsnell11 个月前
(2021)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26201160">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26201160</a>
squarefoot11 个月前
No idea if others at Twitter suggested this as I can&#x27;t read the thread (and have no intention to subscribe) but a nice add on would be a score inversely proportional to the travel an iceberg would need to obtain a stable floating position, with ideally the very hard goal to draw it already in a perfect stable way, waterline height included.
评论 #40626135 未加载
arun-mani-j11 个月前
Very cool (literally) stuff. I drew a straight line and it keeps spinning :D
miduil11 个月前
Kinda funny to draw the classic examples of &quot;tip of the iceberg&quot; to see them ending up flipping :D
praptak11 个月前
The center of displacement is always below the center of mass, so the iceberg never gets the stability of a rock hanging on a thread (ships can do that with ballast).<p>The only way for an iceberg to achieve stability is &quot;differential&quot; - every infinitesimal movement needs to move the center of displacement in a way which counters the movement. This basically means flat bottom.
kazinator11 个月前
<a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;z7mQVWq.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;z7mQVWq.png</a><p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;YLPYITL.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;YLPYITL.png</a><p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;Q7T0zns.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;Q7T0zns.png</a>
tedunangst11 个月前
Not so easy to get just the tip of the iceberg to stand out.
评论 #40621453 未加载
评论 #40622637 未加载
评论 #40622919 未加载
评论 #40621933 未加载
mrcwinn11 个月前
I’m so over flappy birds now.
kromokromo11 个月前
To the author: Would be interesting to store all the shapes people are creating and let us quickly browse through them.<p>Mostly penises most likely (like any &quot;draw something online&quot; service).<p>(I am also guilty)
评论 #40634690 未加载
mhatma11 个月前
This is very entertaining.
taneq11 个月前
From my brief experimentation I have determined that the precise initial orientation of the dick^H^H^H^Hiceberg is critical to its final orientation.
amelius11 个月前
How do we know there is only 1 stable position?<p>(A perfect circle would have many, but you could consider that a degenerate configuration.)
评论 #40626518 未加载
ljsocal11 个月前
It would be interesting to create a version of this that would show how different displacement hull shapes would float.
blackoil11 个月前
For me multiple humps seems to be most stable
nick737618211 个月前
Would be cool if it melts preferentially, choosing either air or water to be &quot;warmer&quot;.
talkingtab11 个月前
My fun was to try to get the widest underwater part with the narrowest top showing above.
alphanumeric011 个月前
This reminds me of gömböc
Gunax11 个月前
Very cool, simple, and easy. This is exactly what demos should be.
Obscurity434011 个月前
This would make a great &quot;fidget&quot; app
personalityson11 个月前
Bug? <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;VraUTnq.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;VraUTnq.png</a>
amelius11 个月前
Now let a polar bear walk on it.
barfbagginus11 个月前
Note that many icebergs have more than one equilibrium, with various final heights above the water.<p>For example this iceberg towers above the water in one equilibrium, but barely rises above the water in its other equilibrium.<p><a href="https:&#x2F;&#x2F;ibb.co&#x2F;SdcKMBV" rel="nofollow">https:&#x2F;&#x2F;ibb.co&#x2F;SdcKMBV</a>