Sorting algorithms visualized using the Blender Python API
github.com
github.com
Do not use GIFs like this. Use a proper video codec.
(I’ve actually flagged this submission, because 120MB is far, far more than anyone reasonable would expect to be downloaded automatically by visiting a page, and expensive for some people—there have been multiple occasions for me in the past few years when it would have literally cost me around $10 to load the page.)
All our carriers said they wouldn't introduce roaming fee's pre-Brexit, then did to the surprise of no-one but the Brexiteers.
So that page would have cost me roughly $2k to load if there were no automatic limit :)
Not a defense, but worth noting in the interest of full advice here that Github's README preview (what's showing here) does not support embedded videos, which is why GIFs are a popular choice.
That said, a good workaround for this is simply putting something like:
[](path/to/video/file/or/youtube/link)
This has the double advantage of not hitting your gpu/cpu on load (especially good for mobile) since there's no autoplay.they should advertise that more obviously via the ui, but I guess that kind of feature discoverability has never been github's style
So you no longer need to host images externally, in an issue, or in an assets directory in the repo. I wish this were more well known.
- mjpeg
- apng
- WebP Animation
(Incidentally: why are you mentioning Chrome? All mainstream browsers support these.)
Little things like code completion, a weird run window, errors that aren't caught until running, etc., can be annoying.
Also, thanks to you folks who posted other links to further interesting related research paths. Love Hacker News because of you folks who do that sorta thing. :)
T-minus 5 seconds until someone writes a Blender backend for Matplotlib or a Blender plotting library...
In hindsight it makes sense, people make whole animated films with blender, but it never occured to me to import MP4s into the timeline.
However animation speed is not to be corelated with sorting performance. Bubble sort is lightning fast compared to merge sort if you judge by animation :) Luckily they have array access and comparison count listed.
I know I saw a video from around that time, but I couldn't find one online.
I don't know that people are reimplementing these in practice all that often rather than using std library but writing and comparing them was part of my earliest CS education at least.