Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# csg.js

![](http://evanw.github.com/csg.js/image.png)
![](http://evanw.github.io/csg.js/image.png)

Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean operations like union and intersection to combine 3D solids. This library implements CSG operations on meshes elegantly and concisely using BSP trees, and is meant to serve as an easily understandable implementation of the algorithm. All edge cases involving overlapping coplanar polygons in both solids are correctly handled.

Expand All @@ -12,13 +12,13 @@ Example usage:

# Documentation

[Detailed documentation](http://evanw.github.com/csg.js/docs/) can be automatically generated using [Docco](http://jashkenas.github.com/docco/).
[Detailed documentation](http://evanw.github.io/csg.js/docs/) can be automatically generated using [Docco](http://jashkenas.github.com/docco/).

# Demos

* [All CSG operations](http://evanw.github.com/csg.js/)
* [Coplanar test cases](http://evanw.github.com/csg.js/coplanar.html)
* [More test cases](http://evanw.github.com/csg.js/more.html)
* [All CSG operations](http://evanw.github.io/csg.js/)
* [Coplanar test cases](http://evanw.github.io/csg.js/coplanar.html)
* [More test cases](http://evanw.github.io/csg.js/more.html)

# Implementation Details

Expand Down
2 changes: 1 addition & 1 deletion tests/coplanar.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</head><body>
<h1>csg.js</h1>
<p><b>Source code:</b> <a href="http://github.com/evanw/csg.js/">http://github.com/evanw/csg.js/</a><br>
<b>Documentation:</b> <a href="http://evanw.github.com/csg.js/docs/">http://evanw.github.com/csg.js/docs/</a></p>
<b>Documentation:</b> <a href="http://evanw.github.io/csg.js/docs/">http://evanw.github.io/csg.js/docs/</a></p>

<h2>Coplanar Test Cases</h2>
<p>These tests cover all the cases of a pair of overlapping coplanar polygons in both solids. To avoid duplicate polygons, the overlapping polygons are kept in the first solid and removed from the second solid.</p>
Expand Down
2 changes: 1 addition & 1 deletion tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</head><body>
<h1>csg.js</h1>
<p><b>Source code:</b> <a href="http://github.com/evanw/csg.js/">http://github.com/evanw/csg.js/</a><br>
<b>Documentation:</b> <a href="http://evanw.github.com/csg.js/docs/">http://evanw.github.com/csg.js/docs/</a></p>
<b>Documentation:</b> <a href="http://evanw.github.io/csg.js/docs/">http://evanw.github.io/csg.js/docs/</a></p>

<h2>Introduction</h2>
<p>Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean operations like union and intersection to combine 3D solids. This library implements CSG operations on meshes elegantly and concisely using BSP trees, and is meant to serve as an easily understandable implementation of the algorithm. All edge cases involving overlapping coplanar polygons in both solids are correctly handled.</p>
Expand Down
2 changes: 1 addition & 1 deletion tests/issues.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</head><body>
<h1>csg.js</h1>
<p><b>Source code:</b> <a href="http://github.com/evanw/csg.js/">http://github.com/evanw/csg.js/</a><br>
<b>Documentation:</b> <a href="http://evanw.github.com/csg.js/docs/">http://evanw.github.com/csg.js/docs/</a></p>
<b>Documentation:</b> <a href="http://evanw.github.io/csg.js/docs/">http://evanw.github.io/csg.js/docs/</a></p>

<h2>Issue Test Cases</h2>
<p>These are test cases from GitHub issues.</p>
Expand Down
2 changes: 1 addition & 1 deletion tests/more.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</head><body>
<h1>csg.js</h1>
<p><b>Source code:</b> <a href="http://github.com/evanw/csg.js/">http://github.com/evanw/csg.js/</a><br>
<b>Documentation:</b> <a href="http://evanw.github.com/csg.js/docs/">http://evanw.github.com/csg.js/docs/</a></p>
<b>Documentation:</b> <a href="http://evanw.github.io/csg.js/docs/">http://evanw.github.io/csg.js/docs/</a></p>

<h2>Gourd Test Cases</h2>
<p>These tests involve a model that isn't convex.</p>
Expand Down