gmlaxfanatic / Contraptions

Emergent machine creation through fuctionalized minecraft blocks
MIT License
3 stars 6 forks source link

Territory gadget #8

Closed gmlaxfanatic closed 9 years ago

gmlaxfanatic commented 9 years ago

Calculates a Veroni diagram for a particular class of contraptions using Fortune's algorithm

gmlaxfanatic commented 9 years ago

Java code to execute fortune's algorithm is in the schematics branch of my factorymod repo.

Further work needs to be done to adjust the circular civcraft world to the square convas of fortunes algorithm. This can be done after calculating the vectors of each contraption. Instead when calculating the area of the contraption adjust the vertices so that they fall on the map instead of outside of it.