changeset 8:21bff3258a62

index.html: add desc
author Jordi Gutiérrez Hermoso <jordi@ecometrica.com>
date Sun, 26 Aug 2018 11:38:24 -0400
parents 35975411a2a1
children aa71bd1d4058
files index.html
diffstat 1 files changed, 18 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/index.html
+++ b/index.html
@@ -52,12 +52,18 @@
          border: 1px black solid;
      }
 
+     #blurb {
+         padding: 2em;
+     }
+
     </style>
     <script src="d3.v3.min.js"></script>
     <script src="d3.slider.js"></script>
 
 </head>
 <body>
+    <h1>X-splines</h1>
+
     <form>
         <input name="approximateButton"
                type="button"
@@ -80,8 +86,18 @@
     </form>
     <div id="splines"></div>
     <div id="slider"></div>
+    <script src="splines.js"></script>
 
-
+    <div id="blurb">
+    <p>
+        Click to add more spline nodes. Backspace key deletes them. The red spline is an x-spline, as <a href="http://wiki.povray.org/uploaded/5/5e/LeForgeronXSplines-10.1.1.44.5770.pdf">defined by Blanc & Schlick (1995)</a>. At each node of the x-spline, you can move the slider to alternate between approximating, sharply interpolating or smoothly interpolating at that node. There are also buttons to make the entire x-spline approximating, sharp, or interpolating. 
+    </p>
 
-    <script src="splines.js"></script>
+    <p>
+        The blue spline is the <a href="https://github.com/d3/d3-shape/blob/master/README.md#curves">standard SVG splines</a>, as made available by D3.js. The approximating x-spline is very close to the basis spline and the interpolating x-spline is very close to the cardinal spline, with the added benefit that the x-spline gives a continuum of approximation between basis and cardinal splines.
+    </p>
+
+    <p>
+        <a href="talk.pdf">Here you can see my slides</a> for a talk I gave on this subject at <a href="https://www.meetup.com/Papers-We-Love-Montreal/events/253274851/">Papers We Love in Montreal</a>.
+    </p>
 </body>