Michael Carleton

Results 38 comments of Michael Carleton

Can you share code? This works in P2D for me: ``` var circle = createShape(ELLIPSE, width / 2, height / 2, 500, 500); shape(PGS_Processing.slice(circle, new PVector(0, 0), new PVector(width, height)));...

Another (simple) example, I believe: ### HTML+CSS Expected layout ![image](https://user-images.githubusercontent.com/9304234/151804354-e488fd02-deb6-4e51-8aff-d781af3821a8.png) ### WeasyPrint PDF WeasyPrint layout ![image](https://user-images.githubusercontent.com/9304234/151804374-2bc41fd6-7ac3-4487-a2a2-9e304999cd8d.png) ``` @page { margin: 1em; } article { display: flex; flex-direction: column; max-height: 297mm;...

Or, https://jitpack.io/#sromku/polygon-contains-point

Some thoughts: * The `Kempe6` coloriser colors vertices (which lends itself well to colouring voronoi diagrams). Can triangles be colored just as easily? It basically boils down to this: does...

I've had success using [`org.jgrapht.alg.color`](https://jgrapht.org/javadoc/org.jgrapht.core/org/jgrapht/alg/color/package-summary.html) to produce 3/4/5-colorings of planar graphs. That could be a suitable candidate to introduce as a dependency or integrate the source code into TinFour. ###...

Sounds like [IsSimpleOp](https://locationtech.github.io/jts/javadoc/org/locationtech/jts/operation/IsSimpleOp.html)? > A Geometry is simple if and only if the only self-intersections are at boundary points. Another idea: rather than using such a technique to reject inputs...

@jgaffuri I've incorporated your gaussian smoothing implementation into [this](https://github.com/micycle1/PGS#morphology) computational geometry project.

For RICs, they can be enclosed with `` and then searched as normal, e.g. ``.

In the meantime (possibly forever) do `np.int = int`.

There is a snapshot build, but first add the snapshot repository as below. ``` jts-snapshots https://repo.eclipse.org/content/repositories/jts-snapshots false true ``` ``` org.locationtech.jts jts-core 1.20.0-SNAPSHOT ```