As simple as it could possibly get...

My God...It's full of stars - Neon, Psychedelia, Colourspace, Trip-a-Tron and all flavours of VLM...
Post Reply
User avatar
gumboot
Baaaaaaa!
Baaaaaaa!
Posts: 7652
Joined: Sun Aug 26, 2007 3:42 am 0
Location: trumpstain!

As simple as it could possibly get...

Post by gumboot »

... and yet still highly amusing:

http://www.flashpedia.net/linesuperfollow.swf

Don't neglect the buttons at the bottom of the screen.
User avatar
Kelloggs
Baaaaa!
Baaaaa!
Posts: 1859
Joined: Wed Jun 22, 2005 11:38 pm 0
XBL Gamertag: TheAntiKelloggs
Location: Widnes or Altrincham. Take your pick.

Re: As simple as it could possibly get...

Post by Kelloggs »

Aha! Inertia!

(as I realised upon wondering why the blobs were orbiting the mouse... it's a thing on a spring!)
User avatar
piku
Sheepie Whore
Sheepie Whore
Posts: 20960
Joined: Wed Apr 24, 2002 10:44 am 0
Website: Http://Www.ncot.uk
Location: Wakefield
Contact:

Re: As simple as it could possibly get...

Post by piku »

That works really well if you whizz the mouse around quickly :)
return (0);
User avatar
gumboot
Baaaaaaa!
Baaaaaaa!
Posts: 7652
Joined: Sun Aug 26, 2007 3:42 am 0
Location: trumpstain!

Re: As simple as it could possibly get...

Post by gumboot »

Original link's dead. Google points to: http://gprime.net/game.php/linesuperfollow


But was looking for this thread because http://arstechnica.com/ had an advert on a similar theme (seems to be gone, now, and people with lo-tech browsers posted a lot of hate about it). Too lazy to check the source, I found someone else had and it points back to:

http://codepen.io/nikrowell/pen/BNdaKV

Again, still too lazy to read the source, even with it right there in front of me on my screen, I figured that the way I'd do that would be to record mouse position history and to apply an asymmetric, steep low-pass or band-pass filter, maybe with some extra gain above DC, to that data before re-plotting it. Extra-extra gain to separate the individual filaments.

But it looked a bit like later samples were filtered differently from older samples, giving that decay back to flatness and stability. Rather than running various filters (although that shouldn't necessarily cost more than a single FIR) I'd probably lerp between filtered and unfiltered.

But on a quick scan through the source it looks like a trivial IIR with overshoot expressed in a funny way.
Post Reply