8 ms·
Draw an iceberg and see how it will float
- Gunax 2y agoVery cool, simple, and easy. This is exactly what demos should be.
- tedunangst 2y agoNot so easy to get just the tip of the iceberg to stand out.
- o11c 2y agoTry drawing a "^" shape. The fundamental constraint is that the iceberg hates going too deep; with the two legs, any rotation would force that and is thus forbidden. A flat bottom can almost work but is highly prone to accidental asymmetry.
- tolerance 2y ago[dead]
- navane 2y agoA very flat triangle with convex flanks does the job
- ant6n 2y agoDraw a fat boat with a very thin long mast.
- nick7376182 2y agoWould be cool if it melts preferentially, choosing either air or water to be "warmer".
- blackoil 2y agoFor me multiple humps seems to be most stable
- mrcwinn 2y agoI’m so over flappy birds now.
- jsnell 2y ago(2021) https://news.ycombinator.com/item?id=26201160 https://news.ycombinator.com/item?id=26201160
- alphanumeric0 2y agoThis reminds me of gömböc
- arun-mani-j 2y agoVery cool (literally) stuff. I drew a straight line and it keeps spinning :D
- mhatma 2y agoThis is very entertaining.
- GeorgeRichard 2y agoThis is great fun--and accurate. My lettuce floated just like the picture I drew when I tested it in the bath.
- xg15 2y agoI know you should wash lettuce before eating, but that seems like overkill... (jk)
- xg15 2y agoGot a bit frustrated because I couldn't get anything except a flat surface above the water, then read the tweets below and realised that's the entire point: https://threadreaderapp.com/thread/1362557149147058178.html https://threadreaderapp.com/thread/1362557149147058178.html (Many thanks to Elon for making it impossible to read more than the first tweet on x.com without an account...)
- ajb 2y agoHere's a non-flat one: https://imgur.com/a/7KANxOn https://imgur.com/a/7KANxOn Very unlikely to occur in nature I guess :-)
- xanderlewis 2y agohttps://ibb.co/ZLYxr4x https://ibb.co/ZLYxr4x Sometimes to innovate you have to think like a child — or a teenager.
- rvnx 2y agoMake sure to patent it before they use this as base design for the Cybertruck^2
- isoprophlex 2y agoNice tip on that iceberg
- barfbagginus 2y agoI was about to post something similar. But you nailed it before I could swing my own hammer, to use a figure of speech.
- barfbagginus 2y agoI was about to post something similar. But you nailed it before I could swing my own hammer, to use a figure of speech.
- manwe150 2y ago
- miduil 2y agoKinda funny to draw the classic examples of "tip of the iceberg" to see them ending up flipping :D
- praptak 2y agoThe 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). The only way for an iceberg to achieve stability is "differential" - every infinitesimal movement needs to move the center of displacement in a way which counters the movement. This basically means flat bottom.
- Obscurity4340 2y agoThis would make a great "fidget" app
- joshdata 2y agoAuthor here. Glad to see this making the rounds again after a few years. Go science! Support your local climate scientist!
- _Microft 2y agoThis is very cool. I found shapes that do not work well with the simulation: a very wide and narrow shape (like a needle) oscillates wildly and does not seem to stop or to even slow down.
- hackernewds 2y agowhat do you expect instead?
- cinntaile 2y agoYou have possibly unlocked the secret to infinite energy.
- cscurmudgeon 2y agoGreat education simulation! Thanks for working on this. Curious about this: I am hitting a boundary-condition like behavior drawing a straight line at a 45 degree angle similar to the sibling comment. Curious if it is due to physics or due to the simulation.
- joshdata 2y agoI am pretty sure it's the simulation.
- jackspratts 2y agonice job. these simulations are 2d. does 3d make a difference? i'm almost about to start carving styrofoam to see. - js.
- ljsocal 2y agoIt would be interesting to create a version of this that would show how different displacement hull shapes would float.
- barfbagginus 2y agoNote that many icebergs have more than one equilibrium, with various final heights above the water. For example this iceberg towers above the water in one equilibrium, but barely rises above the water in its other equilibrium. https://ibb.co/SdcKMBV https://ibb.co/SdcKMBV
- sinuhe69 2y agoI got a design which wobbles infinitely! :D The clip was live recorded, not looped. https://streamable.com/0a9zmb https://streamable.com/0a9zmb
- madcaptenor 2y agoA version which has some preloaded shapes and shows the forces explicitly, inspired by the same tweet: https://engaging-data.com/iceberger-remixed/ https://engaging-data.com/iceberger-remixed/ This is all from 2021 and I feel like I’d seen this prior to that but I can’t find it.
- personalityson 2y agoBug? https://i.imgur.com/VraUTnq.png https://i.imgur.com/VraUTnq.png
- taneq 2y agoFrom my brief experimentation I have determined that the precise initial orientation of the dick^H^H^H^Hiceberg is critical to its final orientation.
- talkingtab 2y agoMy fun was to try to get the widest underwater part with the narrowest top showing above.
- squarefoot 2y agoNo idea if others at Twitter suggested this as I can'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.
- Someone 2y agoIt isn’t too hard to get fairly close to that by drawing something that’s extremely stable, for example something very wide but not tall or an equilateral triangle, with one corner facing down. Then, use your first attempt to correct for the correct height. ⇒ I think a good game would need some other constraint, maybe score more for max height above the surface, or for how long a polar bear can keep their feet dry while it melts (a very wide but not tall stripe will melt faster than something resembling a ball)
- amelius 2y agoNow let a polar bear walk on it.
- amelius 2y agoHow do we know there is only 1 stable position? (A perfect circle would have many, but you could consider that a degenerate configuration.)
- eternauta3k 2y agoThere isn't necessarily just one. A rectangle-ish form could have 4.
- amelius 2y agoYes, rectangle would also be degenerate. Basically any configuration where adding an epsilon weight somewhere generates a non-epsilon shift so to speak.
- eternauta3k 2y agoTo me, "degenerate" means that it has a symmetry so that the different states are somehow identical (e.g. equal energy in a quantum system). If it's rectangle-ish (say, an imperfect hand-drawn rectangle) then it has 4 distinct equilibrium positions. Not sure if we're thinking of the same with "degenerate".
- marcosdumay 2y agoYou mean unstable?
- s1artibartfast 2y agoA plus shape "+" has four stable equilibriums which all stable optimums, resistant to weight and self correcting.
- sa46 2y agoThe HTML source code is a well-commented, fun read. - There'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). - Try adding a polygon that overlaps itself (self-intersects). - You can paste images! The code traces the image and picks the most complex polygon.
- kromokromo 2y agoTo the author: Would be interesting to store all the shapes people are creating and let us quickly browse through them. Mostly penises most likely (like any "draw something online" service). (I am also guilty)
- joshdata 2y agoYeah, I don't want to be responsible for user-generated content, and I don't want to collect data on users.
- kazinator 2y agohttps://i.imgur.com/z7mQVWq.png https://i.imgur.com/z7mQVWq.png https://i.imgur.com/YLPYITL.png https://i.imgur.com/YLPYITL.png https://i.imgur.com/Q7T0zns.png https://i.imgur.com/Q7T0zns.png