Neverending Prototype Mode
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

beam-trace-2d

1.1.3 • Public • Published

Beam tracing algorithm in 2D.

Utilizing a tree structure for the beams and a BSP tree for accelerated ray tracing.

Demo

npm install
npm start

app should be running on http://localhost:3000. Clicking moves the source.

The basics are very loosely based on the following paper: .. S. Laine, S. Siltanen, T. Lokki, and L. Savioja. Accelerated beam tracing algorithm. Applied Acoustics, 70(1):172–181, 2009

Possible improvements include:

  • BSP tree optimization
  • For some reason, the implementation is much slower in Firefox than Chrome

install

npm i beam-trace-2d

Downloadsweekly downloads

5

version

1.1.3

license

SEE LICENSE IN LICENSE

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar