5 ms·
Not 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/v
by dubcanada 3y ago
Not 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?
- ajkjk 3y agoYeah, that's the file I was looking at. I was wondering how that file got created. By hand, or generated somehow?
- deleted 3y ago[deleted]
- grishka 3y agoI asked him on Twitter about one of his previous articles, he said he writes all that JS by hand. https://twitter.com/BCiechanowski/status/1522067904522428417 https://twitter.com/BCiechanowski/status/1522067904522428417