Amit Patel

Results 37 comments of Amit Patel

Aha, so there is an issue with my `package.json`. Try changing the version number from `1.1` in my package.json to `1.1.0`. After that, Node and NPM works for me (on...

Thanks! I'm not actively working on this project anymore :( but there are some nice posts on Scott Turner's blog: 1. [Forest areas](https://heredragonsabound.blogspot.com/2017/03/sprucing-up-forest.html) 2. [Forests vs individual trees](https://heredragonsabound.blogspot.com/2018/04/back-in-woods-part-1-introduction.html) 3. [Different...

https://www.complexity-explorables.org/explorables/baristas-secret/ - interactive demo of percolation

Oh, yes, this is an issue but not sure what I should do about it — if you store points as nested `[[x0,y0], [x1,y1], [x2,y2], …]` then the helper code...

All the halfedges that don't have an opposite are on the hull. That doesn't put them in order. But if you find any one of these halfedges without an opposite,...

Yes, `require` is for node (or bundlers). You don't need it when using the CDN. When using the CDN, `solver` is a global so you don't have to require it....

There's a `frame` variable you can use. See https://github.com/anvaka/fieldplay/blob/master/API.md

Happens to me too (for a long time), so now I write ``` const a = 1; const b = 2; ``` 😅

Cool article! Minor suggestion for less distracting colors: ``` if (tri_index == 0) debug_colour = vec3(0.7, 0.5, 0.2); if (tri_index == 1) debug_colour = vec3(0.6, 0.7, 0.2); if (tri_index ==...

I think the constant forces essentially mean that each particle looks for nearby particles and moves towards (or away from) the "center of mass". This reminds me of *flocking*, which...