-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|542|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Graphical Effects


 
spinal
Created : 05 October 2007
Edited : 05 October 2007
Language : Blitz

String



Here is a good old piece of string, I follows the mouse pointer.

The theory behind it, is you calculate the angle between each node (starting at the mouse pointer) and drawing a line at that angle at a set length and continue on until the end of the tail.



 

Comments


Friday, 05 October 2007, 06:44
Nolan
Neat!
Friday, 05 October 2007, 07:24
Phoenix
That's very nice!
Friday, 05 October 2007, 08:45
Paul
Cool

Couldn't resist to play around with it


Friday, 05 October 2007, 12:26
JL235
Nice. Space Snake did something similar.
Friday, 05 October 2007, 14:29
Phoenix
Didn't notice it was posted as a showcase. I've moved it to the snippet section.
Friday, 05 October 2007, 17:08
spinal
Thanks Phoenix!
Friday, 05 October 2007, 19:51
blanko1324
Ah, so cool!