Skip to content

Commit f188e92

Browse files
committed
Spruce up example
1 parent 3a10745 commit f188e92

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

examples/index.html

+12-4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
}
1717

1818
#overlay {
19+
font-size: 16px;
1920
position: absolute;
2021
top: 0;
2122
right: 0;
@@ -24,9 +25,11 @@
2425
padding: 16px;
2526
font-family: monospace;
2627
font-weight: bold;
28+
text-align: right;
2729
}
2830

2931
#explainer {
32+
font-size: 16px;
3033
position: absolute;
3134
bottom: 0;
3235
left: 0;
@@ -43,10 +46,15 @@
4346
<canvas id="canvas"></canvas>
4447
<div id="overlay"><a href="https://github.com/pboyer/nomial">Nomial source code ↗</a></div>
4548
<div id="explainer">
46-
Nomial is a TypeScript implementation of <b>High-Performance Polynomial Root Finding for Graphics (Yuksel
47-
2022)</b>. A common application for root finding in graphics and CAD is intersections. This example
48-
shows how Nomial can be used to find the intersection of 100 cubic (degree 3) bezier curves. Each pairwise
49-
intersection requires finding the root of one degree 9 and two degree 3 polynomials.
49+
<p>
50+
Nomial is a TypeScript implementation of <a
51+
href="http://www.cemyuksel.com/research/polynomials/">High-Performance
52+
Polynomial Root Finding for Graphics (Yuksel
53+
2022)</a>.
54+
</p>
55+
<p>This example shows how Nomial can be used to find the intersection of 100 cubic (degree 3) bezier curves.
56+
Intersecting each pair of beziers requires finding the roots of one degree 9 and two degree 3 polynomials.
57+
</p>
5058
</div>
5159
</body>
5260
<script>

0 commit comments

Comments
 (0)