Skip to content

Commit 0caae51

Browse files
committed
add readme illustrations
1 parent 9066e78 commit 0caae51

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44

55
A robust Java library that computes Euclidean circle packings from triangulations. Ported from Gerald Orick’s [GOPack](https://github.com/kensmath/GOPack) for accuracy and reliability.
66

7-
---
7+
<table align="center"> <tr> <td><img src="resources/poisson_pack.png" alt="Poisson 1" style="width:33.333%;height:auto;display:block;"/></td> <td><img src="resources/hex_pack.png" alt="Hex 2" style="width:33.333%;height:auto;display:block;"/></td> <td><img src="resources/nrooks_pack.png" alt="NRooks 3" style="width:33.333%;height:auto;display:block;"/></td> </tr> </table>
8+
9+
<p align="center"> <img src="resources/poisson_pack.png" alt="Poisson 1" width="33.333%" style="height:auto;"/> <img src="resources/hex_pack.png" alt="Hex 2" width="33.333%" style="height:auto;"/> <img src="resources/nrooks_pack.png" alt="NRooks 3" width="33.333%" style="height:auto;"/> </p>
10+
11+
<div style="display:flex; gap:0.5rem; justify-content:center;"> <img src="resources/poisson_pack.png" alt="Poisson 1" style="width:33.333%;" /> <img src="resources/hex_pack.png" alt="Poisson 2" style="width:33.333%;" /> <img src="resources/nrooks_pack.png" alt="Poisson 3" style="width:33.333%;" /> </div>
12+
813

914
## Core Idea
1015

1116
Supply a `Triangulation` that defines *which circles are tangent to which*. CircuPack handles all the geometry: it calculates exact radii and center positions so every specified tangency is visually perfect.
1217

13-
---
1418

1519
## Key Features
1620

@@ -19,7 +23,6 @@ Supply a `Triangulation` that defines *which circles are tangent to which*. Circ
1923
* **Multiple Layouts:** Pack into a disc (MAX_PACK), a custom polygon, or a rectangle.
2024
* **Production-Ready:** Built-in numerical safeguards for stable, reliable results.
2125

22-
---
2326

2427
## Quick Start
2528

resources/hex_pack.png

394 KB
Loading

resources/nrooks_pack.png

281 KB
Loading

resources/poisson_pack.png

254 KB
Loading

0 commit comments

Comments
 (0)