I was wondering if anyone knows a good library for tessellating a hyperbolic plane with polygons (my main interest is {8.3} tessellation). I found some applets here and there, but the separation of logic from presentation is terrible in all of them. It would be ideal if there was a library that does not deal with graphics at all (since I DO NOT plan to use Swing or create my own applet), it simply takes the parameters: {p, q} and the number of layers, and then returns an array of strings or dots ( or polygon objects). If the worst comes to the worst, I will have to implement my own library, so it would be useful if someone knew about some paper that describes the tessellation algorithm in detail.
EDIT
By the way, I should have mentioned that I found a cool looking hyperbolic tessellation applet from Don Hatch and was worried at first. Then I looked at what it claims as source code . Inside the JAR, I found files with the .prejava extension and had absolutely no idea what I was looking at - it seemed to be a terrible hybrid of Java and C code. When I tried to more thoroughly examine it, I immediately got a headache. Apparently he was trying to optimize the Java compiler ... or at least what I compiled by looking at the contents of javacpp . Needless to say, I really hesitate to spend my time executing his instructions to generate Java source files using the C compiler, wow ...
java graphics pseudocode tessellation
Andrey
source share