+2
-2
| { | ||
| "name": "rle-core", | ||
| "version": "0.0.7", | ||
| "version": "0.0.8", | ||
| "description": "Core tools for working with narrow band level sets in JavaScript", | ||
| "main": "src/index.js", | ||
| "main": "index.js", | ||
| "directories": { | ||
@@ -7,0 +7,0 @@ "test": "test", |
+11
-3
@@ -16,3 +16,3 @@ `rle-core` | ||
| * [`rle-core`](https://github.com/mikolalysenko/rle-core): Foundational data structures and algorithms | ||
| * [`rle-sample`](https://github.com/mikolalysenko/rle-core): Algorithms for sampling level sets | ||
| * [`rle-sample`](https://github.com/mikolalysenko/rle-sample): Algorithms for sampling level sets | ||
| * [`rle-stencils`](https://github.com/mikolalysenko/rle-stencils): Commonly used stencils | ||
@@ -49,5 +49,13 @@ * [`rle-mesh`](https://github.com/mikolalysenko/rle-mesh): Surface extraction and meshing operations | ||
| var mesh = require("rle-mesh")(box); | ||
| Demos | ||
| ===== | ||
| If you want to see some examples of what you can do with narrow band level sets, here are a few demos: | ||
| API | ||
| === | ||
| * [Isosurface mesh extraction](http://mikolalysenko.github.com/rle-mesh/examples/simpleMultiphase/www/index.html) | ||
| * [Game of Life in 3D](http://mikolalysenko.github.com/rle-core/life3d/index.html) | ||
| * [Morphology Demo](http://mikolalysenko.github.com/rle-morphology/example/www/index.html) | ||
| `rle-core` API | ||
| ============== | ||
| `rle-core` contains iterators and data structures. There are basically two kinds of RLE volumes, StaticVolumes and DynamicVolumes. Whichever one you pick should depend on the application you have in mind. If your volume is short lived, and you are going to be modifying it a lot, use a DynamicVolume. Accessing StaticVolumes is around 10% more efficient, and they use less memory since they are built on top of typed arrays. However, constructing a StaticVolume is pretty expensive and so don't build one if you are only going to keep it around for a short time. | ||
@@ -54,0 +62,0 @@ |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
26823
1.63%149
5.67%