13 ms·
Airfoil
- Andrew_nenakhov 3y agoOh no. A while ago I stumbled on this guy's page about mechanical clocks - a subject I was never interested in - and was forced to spend the rest of the day studying clocks.
- anonporridge 3y agohttps://ciechanow.ski/mechanical-watch/ https://ciechanow.ski/mechanical-watch/
- billbrown 3y agoThis guy's whole corpus reminds me of Nevil Shute's _Trustee from the Toolroom_: quiet, fastidious, and expert work appreciated worldwide.
- wolverine876 3y agoAn important question before I read something that long (or anything, really): Who is Bartosz Ciechanowski?
- Ancapistani 3y agoI thought this was going to be about pipeline workflows... but then I saw it was Bartosz! I know what I'll be spending a stupid amount of time reading today :)
- deleted 3y ago[deleted]
- Krastan 3y agoWake up babe, new Bartosz Ciechanowski just dropped
- Brajeshwar 3y agoLOL! Yeah, so the next should be at least in 2025-Q1.
- deleted 3y ago[deleted]
- ipqk 3y agoIf you like his work, here's his patreon: https://www.patreon.com/ciechanowski/ https://www.patreon.com/ciechanowski/
- diggan 3y agoIf you'd like to see more of their work, ranked by what HN thought was most interesting: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=%22https%3A%2F%2Fciechanow.ski%2F%22%20-ask&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- frfl 3y agoYou can also see all-time top posts: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... The mechanical watch post is 6th on the list
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- fisherjeff 3y agoWhat? A ciechanow.ski airfoil explainer? But I have things to do today!
- tandr 3y agoIt is too late for us to be saved, my friend, way too late...
- deleted 3y ago[deleted]
- flightster 3y agoDare I ask for the code?
- nuz 3y agoAbsolutely beautiful article and presentation
- deleted 3y ago[deleted]
- mint2 3y agoWhy does the first slider with the cube not say what the “one property” the slider controls is? Viscosity? Airspeed?
- H8crilA 3y agoFrom the HTML: <div class="slider_viscosity" id="fdm_hero_sl0">(...)
- deleted 3y ago[deleted]
- philote 3y agoAlso, it says "this substance", which I initially thought referred to the cube as it was just mentioned in the previous sentence. But I guess it's the "fluid".
- cryptopian 3y agoYou're kind of correct on both guesses. You can get that change by changing the viscosity OR the airspeed. He elaborates later on, but you're changing the Reynolds Number - a calculated value from the velocity, fluid density, viscosity and length. The cool thing about a Reynolds Number is that you get identical (in theory) airflow characteristics for two setups with the same Reynold's Number, even if e.g. the airspeed is different.
- Etheryte 3y agoI think this is entirely intentional. All articles by Bartosz build up from simple basic principles and avoiding specific technical terms is a good way to onboard viewers of mixed backgrounds without scaring anyone off. Viscosity is actually mentioned for the first time only roughly three quarters into the whole thing.
- mint2 3y agoI think it would benefit by being broken up into modules and a little less simplified, at least naming the things.
- bhasi 3y agoHis mechanical watch internals page is also equally amazing.
- RaoulP 3y agoIt is currently the 6th most popular post on HN: https://news.ycombinator.com/item?id=31261533 https://news.ycombinator.com/item?id=31261533
- deleted 3y ago[deleted]
- globular-toast 3y agoThis looks incredible as usual. What puzzles me, though, is why some people find flying puzzling. At least the kind that we do, ie. helicopters and fixed-wing aircraft. It's easy to accept a fan works: just put your hand there and feel the draft. A wing is just like a linear fan pushing air down. It's completely intuitive to understand for me. The difficulties are just in making it practical and controllable. Conversely, many people don't seem concerned at all with bird or insect flight, which I find a lot harder to understand.
- pants2 3y agoBecause an airplane doesn't move its wings like a bug or helicopter, and it's wings aren't shaped like fan blades. One might look at a plane and conclude that since the wings and engines are parallel to the ground, it must only move laterally.
- globular-toast 3y agoOf course it moves its wings. That's what the runway is for.
- jahewson 3y agoRectilinear fan blades are shaped very similarly to aircraft wings. And it does only move laterally until the ailerons are moved away from being parallel with the ground.
- d--b 3y agoI guess this is somewhat counter intuitive: https://www.youtube.com/watch?v=NBsvzMi9-f8 https://www.youtube.com/watch?v=NBsvzMi9-f8 So yeah, fans are puzzling too.
- stavros 3y agoThat seems like the Coanda effect more than anything.
- convivialdingo 3y ago
- tebef57158 3y ago[flagged]
- nuz 3y agoBlows my mind that my computer isn't even turning on its fans considering how many shaders are running in this thing.
- naikrovek 3y agoThey’re simple shaders and it’s amazing what a computer can do billions of times per second.
- baobabKoodaa 3y agoYeah, I mean come on, we're not rendering something hard and expensive to compute, like a React website that has to list items in a shopping cart.
- nuz 3y agoPersonally all the fluid simulation shaders I've written usually makes my fan go off, and I'm counting a few of those here so that's impressive in my eyes.
- baobabKoodaa 3y agoYeah. It's impressive to my eyes as well. I was just trying to make a joke about how normal websites need 100% of your CPU to render some text and images, and here's this guy doing multiple fluid simulations on a web page written in custom WebGL and it runs on a potato.
- efnx 3y agoI think they pause when they scroll out of view?
- deleted 3y ago[deleted]
- jakebasile 3y agoI'm on Ubuntu and Edge (v122.0.2365.59) could barely render the page. Chrome (v122.0.6261.94) worked just fine, though. I don't know enough about browsers and GPUs to debug why that is, but I checked (edge|chrome)://gpu and nothing stood out as appreciably different. Edit: interestingly, it seems to only be the first animation. If I scroll it out of view the others all seem to render fine.
- pcurve 3y agoThis man to me is a modern day Da Vinci of the Web
- anibalin 3y agoIt's truly impressive. the amount of time and dedication its uncanny.
- deleted 3y ago[deleted]
- flokie 3y agoHis work is always a good reminder the open web is still an amazing place!
- deleted 3y ago[deleted]
- 1970-01-01 3y agoSomething that was never clear to me at this level of detail is how a tailwind enables an airplane to move faster. In other words, if the airflow is coming from behind, the lift equation should fall apart and the airplane should fall out of the sky. https://www.skytough.com/post/tailwinds-make-plane-faster https://www.skytough.com/post/tailwinds-make-plane-faster
- CrazyStat 3y agoThe plane is just up in the air moving relative to the air around it, it doesn't care how the air it's in is moving relative to the ground. A tail wind is just saying that the air is moving in a certain direction with respect to the ground (the same direction the plane is flying). The plane doesn't give a shit about that.
- 1970-01-01 3y agoYes that makes sense at a high level, but there must be a point of transition between calm air and a jet stream that makes the wings useless to the airplane for at least a few seconds.
- bityard 3y agoIndeed it does, that's effectively what turbulence is.
- CrazyStat 3y agoIf you took a plane flying in still air and magically, instantaneously replaced all the air around it with a tail wind equal to its velocity then yes the plane would stall and fall out of the sky. Fortunately that kind of instantaneous change doesn't happen in real life.
- DrSAR 3y agoGO AROUND, WINDSHEAR AHEAD!
- 3y ago
- porphyra 3y agoIt's pretty interesting that many airfoils used in aircraft design were derived by NACA in the 1920s and 1930s [1]. You'd think that with modern computer software it would be possible to design better airfoils, but apparently, those shapes have already been mathematically perfected by hand and by experiment. So nowadays if you want to design a plane you can just look up the desired NACA airfoil from a table based on the speed, air pressure, etc that you require. [1] https://en.wikipedia.org/wiki/NACA_airfoil https://en.wikipedia.org/wiki/NACA_airfoil
- colechristensen 3y agoEh, it's more like you can get to 90% of where you want to be with the 100 year old airfoils (though several of the other series are quite a bit newer). https://aviation.stackexchange.com/questions/20798/are-naca-airfoils-used-in-modern-aircraft-design https://aviation.stackexchange.com/questions/20798/are-naca-... >You'd think that with modern computer software it would be possible to design better airfoils, but apparently, those shapes have already been mathematically perfected by hand and by experiment. No, modern computer software indeed does better, but there's not a whole lot of room to do better, small changes to bump performance a percentage point or two. These are optimizations which can be (and are sometimes) skipped for many commercial projects.
- g129774 3y ago"better" airfoils are used in experimental craft design. for example mark drela wrote and used xfoil to design wings for mit's project daedalus, a human powered long distance flight aircraft. this is the case where, like sibling commenter stated, you need that extra % to get better performance characteristics. you can still run xfoil, it's a delightfully oldschol fortran program.
- petsfed 3y agoI have a friend whose PhD is in computational flow dynamics, as applied to airfoil design. He works almost exclusively in fortran (which is wild to me, for someone under 35, but I guess its the "industry" standard). I just asked him about xfoil and he observed that there are more modern programs for (as he put it) more "realistic/complex" designs, but said it was a good starting place.
- ajross 3y ago[flagged]
- laborcontract 3y ago> It'd be like clicking on an article that purported to explain "How computer programs work" .... and then proceeded to describe a debugger. iirc the article is called “Airfoil”, not “Rectilinear Box”.
- ajross 3y agoTo be nitpicky: I wasn't irked by the article's title, but by the framing in the lede. To be constructively nitpicky: a box used as a wing is absolutely an "airfoil" inasmuch as the term has any meaning. It's not the shape being "special" that makes a wing work, it's the shape that the airflow around it takes, which is to first approximation just a function of its "tilt" along its major axis relative to the flow direction. The business about shape is all just optimization, not what you want to describe if you want to know how an airplane flies.
- laborcontract 3y agoVery amusing, enjoyed the constructive nitpick!
- Aloisius 3y agoI suggest reading the article. It goes into great lengths to show how lift is generated with symmetric airfoils or even flat planes and that the asymmetric airfoil is for efficiency and conditions. It does not invoke any kind of magic. Even the part you quoted doesn't. Indeed they even animate a flat plane at different angles of attack showing lift.
- aidenn0 3y agoI don't read that sentence to mean what you do. The article is indeed "looking at the forces generated by the flow of air around the aircraft's wings" and it's definitely focusing "on the cross section of those wings" which is a shape known as an "airfoil." Later on TFA says "the shape and the orientation of the airfoil helps airplanes remain airborne" which is closer to your criticism, but still true; a shape that generates more drag or less lift in the equivalent airflow would not help airplanes remain airborne. Maybe if TFA included a simulation of a rectilinear wing and showed how it stalled at very low angles of attack, that would improve things, but I find it to be "just fine" as an introduction to lift.
- atlas_hugged 3y agoI swear Bartosz’ posts deserve to be pinned to the top of hacker news on release day at this point.
- deleted 3y ago[deleted]
- civil_engineer 3y agoThe wings of an airplane in level flight direct air downward with a force equal to the airplane's weight. If one were to build a large scale on the ground, as an airplane flies over it, the scale would register the weight of the airplane. The wings act like a scoop forcing air downward behind the wing. At least that's the way I think about it when I'm out flying around in my Cessna.
- WanderPanda 3y agoThat’s my mental model as well. The incompressible fluid-based explanations never made much sense to me
- ivanjermakov 3y agoAlthough it is a nice mental model, that's not quite true. > The wings act like a scoop forcing air downward behind the wing Only bottom side of the wing acts as a scoop, creating positive pressure. Upper side, in opposite, creates negative pressure which "sucks" the plane into it, creating additional lift. It surprised me how much lift is coming from the negative pressure - about a half: https://aviation.stackexchange.com/a/16202 https://aviation.stackexchange.com/a/16202
- danmaz74 3y agoActually, it is quite true. Gravity is exercising on the airplane a force F equal to the weight of the plane, towards the ground. For the airplane to stay at the same height, air needs to exercise a force that is equal and opposite to that of gravity. For an airplane buoyancy is negligible, so the force comes from accelerating enough air towards the ground so that F = M*A when M is the mass of air being accelerated, and A the (average) acceleration. Notice that this isn't a separate effect from the effect of pressure - it's just a different way of seeing the same effect. The wing is accelerating the air both upwards and downwards, but because the pressure is higher below the wing than it is above it, more air is accelerated down than it is accelerated up - which lifts the airplane, but makes the air go down.
- 3y ago
- diimdeep 3y agoThis is the future of education. Very approachable and seems to target the most common denominator of knowledgeable people that out there. I wonder will there be articles in the future with more math and code snippets?
- elwell 3y agoThe future of education is as an entertainment. There will be no need to educate oneself in the AI future (except for merely egotistical reasons?).
- deleted 3y ago[deleted]
- cloogshicer 3y agoImagine a world in which all education was this level of quality. Imagine how much more you'd know, be able to do and understand. I really wish good education was valued more highly in society.
- deleted 3y ago[deleted]
- pomian 3y agoYes, that. Call it enhanced learning? For instance, add Dan Carlin - Hardcore History podcasts for your history lectures. If everyone listened to those podcasts, then all you would need is a good teacher/professor to discuss what you learned - and there is 'so much' learned from any one of his episodes.
- password54321 3y agoWhile this is good quality, this is not replacement for real education. Real education involves sweat and hard work, not just consumption. This is somewhere between education and entertainment.
- cloogshicer 3y agoWhat's missing for it to be real education? Genuine question :)
- password54321 3y ago>Real education involves sweat and hard work, not just consumption. Anything that fits the above as was stated :)
- AbraKdabra 3y ago[flagged]
- deleted 3y ago[deleted]
- JumpinJack_Cash 3y ago[flagged]
- deleted 3y ago[deleted]
- wly_cdgr 3y ago[flagged]
- deleted 3y ago[deleted]
- justinzollars 3y agoI'm taking a sailing class, and learned sails in addition to keels utilize this concept.
- colechristensen 3y agoFor anyone really interested, this is the authoritative reference for NACA, etc. airfoils. Theory of Wing Sections by Abbott and von Doenhoff (1959) https://www.amazon.com/Theory-Wing-Sections-Aeronautical-Engineering/dp/0486605868 https://www.amazon.com/Theory-Wing-Sections-Aeronautical-Eng...
- simple10 3y agoThe javascript code is not minified and is easy to follow. Beautifully done. https://ciechanow.ski/js/base.js https://ciechanow.ski/js/base.js https://ciechanow.ski/js/airfoil.js https://ciechanow.ski/js/airfoil.js
- deleted 3y ago[deleted]
- caditinpiscinam 3y agoI've never used webgl -- what's its advantage over normal 2d canvas drawing for a project like this?
- modeless 3y agoSpeed. Drawing thousands of objects (such as the blades of grass or air molecules) with 2D canvas will be very slow. WebGL allows all drawing to be offloaded to the GPU, which can draw thousands of objects in parallel given a single CPU command. 2D canvas also doesn't provide any 3D primitives (as the name would suggest), while WebGL natively supports rasterizing 3D triangles with perspective correct texture mapping and z-buffering. The downside of WebGL is its complexity, but there are many libraries to help with that.
- 0xbadcafebee 3y agoAs part of building my own truck-top camper, I got into researching aerodynamics of vehicles in order to try to reduce loss of fuel efficiency. The most interesting ideas I found were that aerodynamics don't matter much on most vehicles until they pick up significant speed. Most automobiles are pretty heavy, so the engine has to do significant work just to get it to move. At a certain point, the vehicle can change gears to get the engine to do less work and use less fuel. But around the same time, the force of the air is increasing. By the time an automobile goes over about 50mph, the air forces are getting increasingly strong, and the engine has to work harder to keep the vehicle moving. At this point, beginning to lower the air's coefficient of drag on the vehicle will lessen the work the engine needs to do to keep the car moving at speed. So you can optimize the design of the vehicle's exterior to reduce the drag coefficient, which will reduce things like flow separation and turbulence, creating fewer rear pressure zones and causing less drag. So you might wonder, why aren't more cars teardrop-shaped like the airfoil? The answer is, it depends. Most people want something that looks good more than they want efficient operation at speed. But sometimes having more drag actually helps. For example, the Lotus Elise: while it is smaller and looks more sleek than a Tesla Model 3, it actually has a much worse drag coefficient than a Tesla Model 3. The Lotus has way more force acting against it at speed than the Tesla. But the Lotus is a sports car, and sports cars benefit greatly from increased traction, and you can get more of that traction by increasing the downforce on the car. So the Lotus's design sacrifices top-speed drag coefficiency in order to gain some downforce which helps traction when cornering at speed. What about pickup trucks? Even though modern pickups actually have lots of subtle design changes to improve drag coefficient, they all tend to have open beds, which is terrible for drag. It creates this giant messy turbulent pressure area in the bed which drags on the tailgate and the rest of the car. By adding a truck topper, the drag is significantly reduced, but you don't see most trucks driving around with a topper on. But trucks naturally have worse gas mileage, so nobody really thinks twice about the aerodynamics. (To be fair, the air's impact on gas mileage is minimal unless you're going quite fast. But for trucks with extremely bad gas mileage, like 18-wheelers, it makes much more difference. That's why they often have airfoils on the front of the truck, gaps between cab and container closed, and skirts to reduce drag from the undercarriage. Strangely though, the biggest improvement to reduce drag coefficient actually comes from modern European big-rigs whose containers are actually tapered like a teardrop. The rear of the vehicle's shape makes the most difference to how severe flow separation is, and thus how big of a pressure area develops, pulling on the rear of the vehicle. If we wanted to make trucking more fuel efficient globally we'd change the shape of the containers to be more like teardrops, but that would make handling and shipping them much more awkward) You'll usually only see these effects on automobiles at higher speeds, due to the vehicle needing to overcome gravity before the air forces build up. Lighter vehicles (say, bicycles) with less impact on them from gravity will be impacted earlier (at lower speeds) by the force of the air, so optimizing drag coefficient is much more important, which is why bicycle racers have to put so much into aerodynamics at significantly lower speeds than an automobile. Interestingly, the drag coefficient on a bicycle and rider is actually equivalent to that of a small car.
- onetimeuse92304 3y agoI wish every presentation on how planes fly started with an actual flat plane. A wing that has a flat crossection. I think the shape of the airfoil of the wing is absolutely distracting and prevents people from understanding what is really happening. Every person who ever stuck a flat object outside the window of a moving car knows that you do not need a fancy shape to have lift. And so many people are stuck thinking that the shape of the airfoil is responsible for the plane to be able to fly, supposedly because the air needs to run a longer way around the foil above the wing than below the wing. And this somehow causes pressure difference due to Bernoulli law and this is what keeps the plane up. Which is almost total BS because planes can obviously fly inverted. Now I admit I only skimmed the article, and although the animations are beautiful, I am missing what really is key to understanding of what is happening. I am looking for a bigger, far away view of the wing and showing what happens to the air BEHIND the wing. Because how the plane really works is as it flies forward, it diverts large masses of air downwards. It pushes off of air. Part of the air is diverted by the lower portion of the wing, but the much larger portion of lift is generated by larger masses of air above and behind the wing. Those can be thought as being sucked down behind the wing (if you look at it from the point of view of a stationary air mass, not from the point of view of the wing). And the main role of the airfoil is to keep that mass of air behind the wing stuck to the airfoil at wide range of angles and speeds as possible, because a flat sheet is very poor at doing this.
- deleted 3y ago[deleted]
- p_l 3y agoUnfortunately, your explanation is entirely wrong... and you're attacking a "lies to children" simplification with your mention of "needs to run longer way around" bit.
- avn2109 3y agoWell in defense of the GP, the "planes can observably fly upside down" point (and its close cousin the "flat wing cross sections can fly too" point) is a good one, this pokes holes in the usual two-dimensional "the air goes faster on top" themed explanation that omits any discussion of vortex shedding/third-dimensional effects.
- ubj 3y agoObligatory XKCD comic (also with the name "Airfoil"): https://xkcd.com/803/ https://xkcd.com/803/
- CrimsonCape 3y agoI grew up duck hunting and learned intimately how ducks use their wings and the variations of shapes at different velocities as they slow down to land on the water. I also grew up boating and swimming and have a likewise similar understanding of paddling, tracking a canoe straight, and using boat motor trim to "get on the plane". I guess I struggle with articles like this because it's already so intuitive as a mix of air and fluid dynamics. In fact, fixed airfoils are so boring when you see what a duck can do. https://www.youtube.com/watch?v=-3CVZYY8xS4 https://www.youtube.com/watch?v=-3CVZYY8xS4 So for all the fancy physics talk, this duck is literally just paddling air with his wings. The same physiology I use to stay afloat when treading water while swimming.
- mondrian 3y agoFixed airfoil physics become really important at very high speeds.
- solardev 3y agoBut when that fancy duck wants to get to Paris in a hurry, it still has to hop on a fixed-wing Concorde like everyone else.
- kjkjadksj 3y agoGive it a strong selective pressure towards speed and a few million years and you will have your supersonic duck.
- aredox 3y agoFor an example of a flat-ish airfoil that performs well enough for model airplanes (and is easier to build than a NACA & co airfoil), see the KFm airfoil family: https://en.wikipedia.org/wiki/Kline%E2%80%93Fogleman_airfoil https://en.wikipedia.org/wiki/Kline%E2%80%93Fogleman_airfoil Very useful when making model airplanes out of foamboard.
- kqr 3y agoHuh, odd. I was under the impression that for swept/delta winged paper airplanes one wants a smooth top surface to encourage attachment and any steps on the bottom to provide decalage. (I.e. the area ahead of the step acts as a canard-like surface.) Is this an airfoil that works for tailed aircraft but not tailless ones, perhaps? Edit: I just skimmed the book on paper planes by KF and indeed they are using the variation with the step on the bottom for their paper planes. I'm actually even more surprised now. How on Earth did they manage to patent the idea of reflex on a delta wing to give a tailless plane stability? This seems like the thing that (a) was known since early human-carrying gliders, and (b) implicitly discovered by anyone that folds a lot of paper airplanes. I will definitely read their book in more detail.
- skykooler 3y agoAttachment isn't as much of an issue with paper planes since the small size and low speed give much more favorable Reynolds numbers.
- kqr 3y agoCould you elaborate on that, please? This is just at the edge of my understanding and I'd like to learn more.
- skykooler 3y agoYou can see the effect in the second animation of the linked page, but the basic idea is the lower the Reynolds number, the less likely for flows to separate and become turbulent. Shrinking the scale and slowing the airspeed both lower the Reynolds number, so paper planes have vastly different aerodynamics to full size aircraft.
- kqr 3y agoI agree with the other commenter that the specific shape of the cross section of the wing is overemphasised in almost all material including this one. Any shape longer than it's thick will, at a reasonable angle of attack, provide lift. This article did provide a barn door model also, but it was quite far down. The shape is mainly about efficiency and increasing the range of reasonable angles of attack, and then further nuances.
- SAI_Peregrinus 3y agoThis article shows how a flat plane can create lift. It doesn't start with that, it starts with a familiar airfoil, deconstructs it until it reaches the flat plane making lift, and then builds back to showing why airfoil shapes are used when simpler flat planes still make lift.
- tjkrusinski 3y agoIt's amazing how the article did such an incredible job building a deep understanding of how the airfoil works, yet you managed to completely miss that and find something to so small to critique.
- MattRix 3y agoI think many of these kinds of comments are driven by a form of insecurity. They subconsciously wish they had written the article and are envious of the attention the author is receiving… so they find whatever small nitpick they can in order to tear it down.
- mrks_hy 3y agoSorry for my low-value comment, but I think it is appropriate here. Doing a psychoanalysis of OP does not really add to the discussion meaningfully. Same applies to parent comment. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html > When disagreeing, please reply to the argument instead of calling names
- kqr 3y ago
- 1905 3y agoI'm surprised hang gliding doesn't get more attention. It's the closest human activity to flying like a bird
- ajkjk 3y agoPretty impressive. I was curious how they made the whole thing so I went to look at the source for the images. It's mostly in one 10000 line JS file which draws all the graphics onto <canvas> in JS, plus a bunch of WebGL that goes over my head. The code looks like function draw_car(ctx, rot) { ctx.save(); let sc = 0.04; ctx.scale(sc, -sc); ctx.lineWidth \*= 1 / sc; ctx.translate(-286, -51); ctx.beginPath(); ctx.moveTo(463.93652, 9.89137); ctx.bezierCurveTo(462.12793, 6.72347, 461.22363, 3.5344, 461.22363, 0.32417); ctx.bezierCurveTo(447.58911, -1.16177, 434.20691, 2.81333, 434.85754, 5.10777); ... I wonder what their workflow was. Surely all those curves weren't programmed by hand?
- plopz 3y agoJust a small note, that code looks like Context2d rather than WebGL unless you were looking at something else in the code
- ajkjk 3y agoAh, I wasn't clear. There's a bunch of both in the same giant file.
- dubcanada 3y agoNot sure what you are looking at but https://ciechanow.ski/js/airfoil.js https://ciechanow.ski/js/airfoil.js is the JS that contains the code for the graphics/visuals. And it is completely readable. The 2d part though is probably generated.
- nequo 3y agoYeah, the "draw_car" snippet quoted by parent is from the JS file that you linked. It looks like maybe an SVG file converted into JS? Do you know if there is some standard tooling that generates this?
- bastawhiz 3y agoSVG paths translate pretty directly to canvas commands. If you have an SVG path parser, it's pretty straightforward to walk it and output the equivalent js.
- komodus 3y agoThings fly because of thrust, not wings. Rockets, missiles, don't have wings and yet they still fly even longer distances. Shut the engines of a 747 and it will fall like a rock, no matter how perfect the airfoils. Bernoulli and Coanda are important but without thrust/velocity there is no lift
- travisjungroth 3y agoA 747 won’t fall like a rock. It will glide.
- rjmunro 3y agoYou can't say that without mentioning https://en.wikipedia.org/wiki/British_Airways_Flight_009 https://en.wikipedia.org/wiki/British_Airways_Flight_009 Where the pilot said what is probably the most British thing ever said in history: > Ladies and gentlemen, this is your captain speaking. We have a small problem. > All four engines have stopped. We are doing our damnedest to get them going > again. I trust you are not in too much distress.
- tstrimple 3y agoJust in case folks don't click on the link, it was a safe landing and everyone survived. It turns out modern planes can glide quite well.
- kqr 3y agoThis is a very important point. The key difference is that a rock (like any ballistic projectile) accelerates until terminal velocity. In contrast, a 747 (like any airplane) descends with a constant vertical velocity when they lose power.
- hex4def6 3y agoThe engineers at Boeing are going to be really embarrassed once someone tells them they don't actually need to put wings on their aircraft...
- aredox 3y ago[flagged]
- deleted 3y ago[deleted]
- alanbernstein 3y agoI expected to see a mention of the Joukowski airfoil (https://complex-analysis.com/content/joukowsky_airfoil.html https://complex-analysis.com/content/joukowsky_airfoil.html). I guess there was plenty of other content to cover though.
- Tistron 3y agoI really enjoyed reading this, and felt excited when the author promised to explain viscosity at a particle level. But there was just a short presentation about two colliding molecules and I didn't understand the connection to viscosity. It's like a section is missing or something..? How does viscosity work?
- turtledragonfly 3y agoNot really a full answer for you, but one thing that this page clarified for me: I had generally previously thought of viscosity as "how slow" a fluid is. High viscosity means high "thickness," which means it flows slowly (like molasses vs. water). But as presented on this page, viscosity is actually a measure of "how fast" — how fast the effects on one molecule can spread out from there to neighboring molecules. Perhaps you could think of sounds waves moving through a substance — a "thick" substance like solid metal propagates those waves quickly (on a molecular level), while with a "thin" substance like air it's much slower. In the more precise language from the article: "viscosity controls the diffusion of momentum..." So, because this diffusion happens quickly in a high-viscosity situation, little whorls of turbulence are inhibited, because the forces governing those whorls get spread out/diffused quickly. Perhaps you missed the part of the article talking about diffusion, or did not see the connection? The link between that and viscosity was not immediately apparent to me, either.
- Tistron 3y agoThank you, this feels helpful. Though I don't think I missed a part of the article, I feel more like the author did ;) What I still don't get is what the difference between high and low viscosity looks like on a particle level. I don't understand why he introduced the collision between two molecules and then never explained that.. :)
- apognwsi 3y agoviscosity has very interesting units - stress (force / area) divided by rate (1 / time). viscosity is measured (a field known as rheology) by, in some way, moving a thing through a fluid at increasingly fast accelerations, or equivalently, at increasingly high frequencies. that is, imagine moving your hand back and forth in a fluid - the faster you do so (the number of back and forth motions per second), the more resistance you will feel from the fluid. for newtonian fluids, the resistance you feel (measured in force / area, ie the area of your hand), is proportional to the frequency of your hand moving back and forth in the liquid, so, the graph is a line. non newtonion fluids do not have a linear relationship between shear stress and shear rate. air is also a fluid - all gasses are, and thus possess rheological properties. air, however, at stp, is essentially an ideal gas, that is, it is non-interactive, and thus, has 0 viscosity. the point here, is that viscosity is a consequence of the interactions of particles. as gases become denser, their viscosity increases. liquids, for comparison, is ~1000x as dense as air. the details of how molecular interactions lead to viscosity is actually quite complicated.
- Eudaimion 3y agoIf you find this interesting, I would also recommend https://ciechanow.ski/bicycle/ https://ciechanow.ski/bicycle/. It is by the same author.
- deleted 3y ago[deleted]
- quickgist 3y agoThis is one of the best thought out UX I've ever seen. It's extremely well laid out and simple to navigate through, all the design choices are very meaningful, UI elements (like the unit conversion) are available inline when you need them... Not to mention the content itself is great. I'm taking notes.
- Antrikshy 3y agoAlso check out https://pudding.cool https://pudding.cool if you’re unfamiliar and enjoy extremely high effort visualizations alongside editorial and educational text content.
- IncreasePosts 3y agoYou probably want to check out the rest of his site, which is pretty much on par with this: https://news.ycombinator.com/from?site=ciechanow.ski https://news.ycombinator.com/from?site=ciechanow.ski
- akouri 3y agoI'd love to know how long it takes him to make each one of these "interactive essays"
- wraptile 3y agoA long time would be my guess but writing interactive articles is much more engaging and addicting. We've started adding interactive stuff to our docs and it is really engaging so the spent hours just fly by!
- matheusmoreira 3y agoI'd love to read about how he does it. How talented do you have to be to not only learn all this stuff but also model them in 3D and simulate them in real time and interactively?
- Ringz 3y ago
- taco-hands 3y agoRegardless of all the exacting comments, this is one of the most astonishing accounts and content on a topic I've seen for years; beautifully delivered and interactive to boot.
- gwbennett 3y agoI agree! His articles always have fantastic content!
- hubraumhugo 3y agoCiechanowski is likely the best content producer we know, absolutely fascinating reads. Imagine having such a person as a teacher - he could probably excite students about any scientific topic. I'd love to spend my time working on such articles when I'm retired :)
- larodi 3y agoWithout doubt. Question is why so many people who try to teach approach it like it’s 1878.
- tigerlily 3y agoIn what ways do so many people who try to teach approach it like it’s 1878?
- larodi 3y agoIn the ways that * still the classroom is what it looked like in 1878 * still a lot of learning is about remembering useless facts * still there are many places where the curriculum is a static thing which does not reflect the needs of youngsters but their grannies * still the exams are solo even though later in life one works in a group and it was shown that in a group one manifesta better * many places still don’t teach topics such as personal finance, digital hygiene, business management, soft skills, etc as universal mandatory classes even though the world we live in requires these skills on a daily basis Neil Postman makes in depth analysis in his books, and particularly The End of Education. I can also go for ages with examples from my practice and what I see, and you can downvote me as much as U like. It doesn’t chang the fact that organised schooling is a byproduct of Industrial Revolution and it was designed to cater to its needs. Not the needs of the ages we live in… like so many things tbh which absolutely do not make sense to a teenager at this day.
- deleted 3y ago[deleted]
- garyiskidding 3y agoAs an aerospace major in college, this has content from several semesters combined into a really well structured, clear and visual explanation of various aspects of flight dynamics. Thank you.
- Limborg 3y agoOh, thanks todsacerdoti. I really need such thing. Actually, I love reading contents which related to Planes, Wings and the base reasons of their flying. It shows that you and your posts are going to be the best items for my hobbies in the future. Thank you.
- denton-scratch 3y agoThat page made my laptop fan start roaring.
- 4gotunameagain 3y agoYou're probably lacking webgl HW accleration. https://webglreport.com/ https://webglreport.com/ , or check about:support if you're on firefox.
- denton-scratch 3y agoThanks. Yes, it's Firefox, but apparently it supports WebGL 1 & 2.
- 4gotunameagain 3y agoyes but is the rendering performed in GPU, or in software is the question
- denton-scratch 3y agoHow do I tell? I tried about:support and webglreport.com.
- 4gotunameagain 3y agohttps://googlethatforyou.com?q=firefox%20check%20hardware%20acceleration https://googlethatforyou.com?q=firefox%20check%20hardware%20...
- denton-scratch 3y agoSo I disabled "Use recommended performance settings" and "Use hardware acceleration" was enabled. The fan still roars.
- 3y ago
- einpoklum 3y agoWhat an astounding amount of work must have gone into that post...
- RobinL 3y agoAmazing work as always. Is it just me who sees diagonal lines on the first interactive graphic? Are they a bug? They appear after a little while, fade out, then reappear https://gist.github.com/RobinL/aa4a5e14d35e61e46c1e99c8198d0b9b https://gist.github.com/RobinL/aa4a5e14d35e61e46c1e99c8198d0...
- slumberlust 3y agoThe same author has a great similar piece on mechanical watches. Love the format! https://ciechanow.ski/mechanical-watch/ https://ciechanow.ski/mechanical-watch/
- tejohnso 3y agoNot a single mention of Bernoulli. Bravo!
- yakito 3y agoFor anyone interested in bio-inspired aerodynamics, there's a fascinating study published in Scientific Reports exploring the aerodynamic efficiency of dragonfly and NACA4412 airfoils in ground effect. This research uses URANS simulations to offer insights into optimizing MAVs' (Micro Air Vehicles) performance close to the ground. https://www.nature.com/articles/s41598-022-23590-2 https://www.nature.com/articles/s41598-022-23590-2