Sidenote: Good demonstration that even in 2021 jQuery has its place as the right tool for the job: quickly hacking together a small project.
Draw an iceberg and see how it would float in water
51–60 of 179 posts
Re: Draw an iceberg and see how it would float in water
#52Sidenote: Good demonstration that even in 2021 jQuery has its place as the right tool for the job: quickly hacking together a small project.
jQuery would not be necessary for a project like this, browser APIs are far enough along that many of its features are no longer needed.
It may not be necessary, but the specific tools are't the part that are necessary.
Re: Draw an iceberg and see how it would float in water
#53Hmm... what determines whether an iceberg would flip over? I tried drawing bowl-shaped icebergs, one upright and one upside-down. Both stayed in their general orientation without flipping over.
For many shapes, there are multiple points of stability! If you drew a cross, you'd find that it could stabilize on any two corners. Stability of a floating object is determined by a "righting arm": A torque produced by the horizontal offset between the object's center of mass, and the center of buoyancy (The center of mass of the portion underwater). Sometimes, that torque produces "positive stability" -- When the o…
An iceberg is uniform, so its center of buoyancy is always below its center of mass. This makes its stability trickier, as it relies on changes in the shape of the buoyancy to follow the center of mass when disturbed.
A ship is a pendulum, an iceberg is an upright stick balanced on one's nose :)
Re: Draw an iceberg and see how it would float in water
#54Somehow I am wiling to bet that penis will be found to be the most commonly drawn shape.
Re: Draw an iceberg and see how it would float in water
#55Re: Draw an iceberg and see how it would float in water
#56I get interesting results if I draw a figure 8 (or a figure ∞). I wonder if it's treating one of the lobes as having negative density.
Re: Draw an iceberg and see how it would float in water
#57Great page! Was this inspired by https://twitter.com/GlacialMeg/status/1362557149147058178 ? Try drawing the infinity symbol under water - mine jumped out of the water! It even jumped off screen, and ended up like an 8, half submerged, half above water. My other attempt hit the water/air boundary from below, and bounced back towards the bottom, off screen again, and reappeared in a bit.
Clearly yes. The page links to that exact tweet, and says it was the inspiration.
The only text I saw "above the fold" was the one above the drawing surface.
Re: Draw an iceberg and see how it would float in water
#58Earlier quoted context omitted.
jQuery would not be necessary for a project like this, browser APIs are far enough along that many of its features are no longer needed.
And yet, what is harder to attain and yet more necessary than the knowledge and impetus to implement such a project? It may not be necessary, but the specific tools are't the part that are necessary.
Re: Draw an iceberg and see how it would float in water
#59I get interesting results if I draw a figure 8 (or a figure ∞). I wonder if it's treating one of the lobes as having negative density.
Re: Draw an iceberg and see how it would float in water
#60I get interesting results if I draw a figure 8 (or a figure ∞). I wonder if it's treating one of the lobes as having negative density.