Live data from Hacker News

Rainbow Sort Visualisations

ljs.io

51–53 of 53 posts

Re: Rainbow Sort Visualisations

#51
post #37

Earlier quoted context omitted.

I looked through the code, I see why quicksort is such a blur now, and I don't see an obvious way to fix it. Since you are in a sense, benchmarking these algorithms. One way to do it might be to allow the user to set the timeout in your defer function. Setting the timeout to 1 second lets the user observe each run of your algorithms. You can see the partitioning behaviour a bit better like that. Side note: this code…

Yes, but it should use two spaces for indentation, not a tab; according to coffeescript guidelines.

Where I work we use tabs; has carried over to my personal projects some. Personally I prefer spaces ;-)

Re: Rainbow Sort Visualisations

#52
post #32
post #30

Earlier quoted context omitted.

I'm more interested in the visual aesthetic, but I've built a few sculptures[1] visualizing algorithms. It's something I'm hoping to expand on when I have more time and resources. I'd write a bit more about them, but I'm on my phone getting ready for work. [1] http://wollw.github.io/Cellular-Polymaton http://m.youtube.com/watch?v=N_smOznDDJs http://m.youtube.com/watch?v=vbtvAQLDcrs

Wow nice, love your work!

Thanks.

I guess I should expand on my previous comment...

Despite what that github page says about not having any reason for making these sculptures, I'm currently thinking of them as a way to highlight the kinds of concepts and technology that our computer-saturated world relies on to operate. Of course the obvious audience is people who already have an understanding of computer science, but by making them aesthetically pleasing I hope to expose people who aren't interested in algorithms to some of the algorithms that influence or make up the technology they rely on. They're intended to be shown in a gallery space, but now that I have space to show in they're more than 500 miles away from me; hopefully I'll put a show together later this year.

Post reply on HN