Sudha247 / ocaml-joy

MIT License
21 stars 14 forks source link

Quadtree sketch example #91

Closed FayCarsons closed 5 months ago

FayCarsons commented 6 months ago

Wrote and tested quadtree example, but can be made bit more elegant and concise with other features that are waiting to be merged. Could also be nice to replace uniform random with simplex noise to get more variation in structure, and add variation in color.

quadtree

FayCarsons commented 6 months ago

I refactored a bit, and got points to cluster so that the structure is more varied, which looks nice. I don't know if you'd rather add color and then merge or vice-versa, but it's ready if we're okay with it going in w/o nice colors.

quadtree

nikochiko commented 6 months ago

@FayCarsons thanks! Please fix the merge conflicts (I think most of them because of using the int API)

FayCarsons commented 6 months ago

Should be good to go!