Doug Moen

Results 228 comments of Doug Moen
trafficstars

`if` statements are very slow on a GPU. That long chain of `if` statements in `gdf_index` looks like a performance killer. `for` loops have a better chance of being optimized...

Actually, I'm getting 60 FPS on the nvidia gtx 1050 without any code changes.

I'm out of town, so I just have my 2011 laptop now. I get 20-30 FPS with dod_solid and 20 FSP with dod_wire. Changing while loop -> for loop doesn't...

General suggestions for writing efficient distance functions: * Avoid if statements and if expressions. * Avoid loops, but simple `for` loops over a numeric range are faster than `while` loops....

Here's a dodecahedron wireframe, using Knighty's code: ``` let Type = 5; // symmetry group type, range 3..5 U = 0; // barycentric coordinate for the principle node, range 0..1...

My two main goals between now and end of 2018† are: * A hierarchical namespace for standard libraries. I want to add lots of new libraries, and provide a mechanism...

@andybak: For a deep dive into the math behind Knighty's method, see: https://syntopia.github.io/Polytopia/polytopes.html Syntopia doesn't mention the Wythoff construction in his essay, and I don't know how the techniques are...

There is now a way to contribute built-in libraries using the new `lib` mechanism. At some point, I'd like to have a `lib.polyhedron` library that provides a flexible set of...

A `-Olazy` flag is a good idea. Thanks, I will take the change. I've wanted this feature for a while. The `-Olazy` flag is a first step in solving the...

The `-Olazy` command line argument is now implemented. The final step, to close off this feature, is automatic lazy refresh. Fortunately, it doesn't look hard. I want to set the...