1.0.0 • Published 6 years ago

naca v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

naca

generate a symmetric naca airfoil of interest to boat or aircraft designers.

example output: the NACA0015 foil. output.png

example

output a table of x, y

var naca = require('naca')
var t = 0.15 //ratio of thickest part to centerline.
for(var i = 0; i <= 100;i ++)
  console.log(i/100, naca(t, i/100))

License

MIT

1.0.0

6 years ago