ASKSAGE: Sage Q&A Forum  RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 29 Sep 2012 02:34:48 +0200spline representation of a spiralhttps://ask.sagemath.org/question/9351/splinerepresentationofaspiral/Hello all, I'm new to this forum. :)
I'm trying to represent a spiral as a spline and was wondering how I could do it. My spiral has very specific properties which may make the representation easier (or not?)
At the bottom of this post is a representation of Euclidean 2D space with numbers ranging from 1 to C (hex numbers). These are the points, numbered in order, that the spiral must go through. Each + is separated by 4 (i.e. these are 1/4th divisions) for convenience and is to scale.
Does anyone have any idea how I would represent this using a spline? Your help is much appreciated.
Maxx
<pre>
+ + + + + + + + +


A
+ + + + + + + + +


6
+ + + + + + + + +


2
+ + + + + + + + +



+B+7+3+159+



+ + + + + + + + +


4
+ + + + + + + + +


8
+ + + + + + + + +


C
+ + + + + + + + +
</pre>Wed, 26 Sep 2012 12:45:58 +0200https://ask.sagemath.org/question/9351/splinerepresentationofaspiral/Answer by benjaminfjones for <p>Hello all, I'm new to this forum. :)</p>
<p>I'm trying to represent a spiral as a spline and was wondering how I could do it. My spiral has very specific properties which may make the representation easier (or not?)</p>
<p>At the bottom of this post is a representation of Euclidean 2D space with numbers ranging from 1 to C (hex numbers). These are the points, numbered in order, that the spiral must go through. Each + is separated by 4 (i.e. these are 1/4th divisions) for convenience and is to scale.</p>
<p>Does anyone have any idea how I would represent this using a spline? Your help is much appreciated. </p>
<p>Maxx</p>
<pre>+ + + + + + + + +


A
+ + + + + + + + +


6
+ + + + + + + + +


2
+ + + + + + + + +



+B+7+3+159+



+ + + + + + + + +


4
+ + + + + + + + +


8
+ + + + + + + + +


C
+ + + + + + + + +
</pre>
https://ask.sagemath.org/question/9351/splinerepresentationofaspiral/?answer=14078#postid14078Why do you want a spline? Why not a parametric curve? You could cook up a simple parametric curve that passed through those points by modifying a wellknown curve like $x(t) = t*cos(t), y(t) = t*sin(t)$.Sat, 29 Sep 2012 02:34:48 +0200https://ask.sagemath.org/question/9351/splinerepresentationofaspiral/?answer=14078#postid14078