<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
<br>
when I was briefly fighting with springs last year, I used the attached<br>
files to visualise the spring behaviour. It runs the spring with<br>
hardcoded values, dumps data into a text file, and renders it with<br>
gnuplot. Usage:<br>
<br>
$ sh spring.c<br>
<br>
But before using, one should make sure the spring code copied there<br>
is up-to-date with weston.<br>
<br>
By tweaking <a href="http://plot.gp" target="_blank">plot.gp</a> to draw a reference curve and current curve, and<br>
copying data.txt to another name, you can compare how changing<br>
parameters affects the behaviour.<br></blockquote><div><br>
Interesting, thanks pq. I've been using compiz wobbly as a visualization to see how such a spring model behaves.<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Btw. could you do with a single spring instead of x and y springs? I<br>
assume you want to interpolate a straight path? Separate x,y springs<br>
will probably make some curves, don't know if that's intentional.<br></blockquote></div><br>Probably would make things better, though I'm sure how this would work exactly.<br>