BG
Spring
by gringer - uploaded on March 26, 2015, 4:27 pm
Quick spring created using R and the "pattern along path" generator in Inkscape. Here is the R code to generate the initial curve:
```
t <- seq(0,2*pi,length.out=1000);
svg("spring.svg");
plot(sin(t*10),t + cos(t*10), type = "l");
graphics.off();
```
Lines in the spring are due to difficulties in getting the join points set up properly. These could probably be fixed up with grey blocks over the lines.
- Tags
- R illustration mathematical spring
- Safe for Work?
- Yes
Remixes
No remixes yet — be the first.
Want to remix this clipart?
- Download the SVG
- Edit it in your favourite SVG editor
- Upload with Upload Remix (links automatically)
Sources
No catalog sources linked yet.
I found this clipart!
Related Finds — Openclipart spotted in the wild. Browse all · Atom
No Finds yet.
Log in to post a Found.
Comments
@Lazur
2015-03-26 20:43:35+00Nice idea, posting a spring in spring time.
Check this if you like, how markers can represent a gradient along the wire: https://openclipart.org/detail/216464/coil-spring-2
It is also possible to incorporate the diffuse shader filter but very messy -would need to split the spring at its turns
@rejon
2022-03-31 01:29:45+00Wow, cool. There is code in the description above that we need to find way to allow to render ok, #openclipart_issue
Log in to comment.