Live data from Hacker News

Animated Factorisation Diagrams

datapointed.net

61–70 of 76 posts

Re: Animated Factorisation Diagrams

#61
post #14

Really nice. What rendering engine or library do you use?

This looks homegrown. The source code [1] is fairly readable. New dots seem to enter the world in the position of the last dot placed but below them. Position and size seem to follow a simple linear movement between frames. I wonder though, why is this done with canvas instead of SVG. Just to cut down on the number of DOM elements? [1] http://www.datapointed.net/media/2012/10/factor_min.js

I don't know why an experiment like this would be minified. It would be much more interesting with well-commented source.

Re: Animated Factorisation Diagrams

#62

I was disappointed to see it end (at 10000). :(

I capped it at 10000 to prevent someone from accidentally leaving it on fast-forward and wedging their browser. Try this if you want to go farther: http://www.datapointed.net/visualizations/math/factorization...

Awesome! Now I would love to be able to zoom in... any plans on adding this?

Re: Animated Factorisation Diagrams

#63

Earlier quoted context omitted.

Dare you to make a circle with 2 dots.

Draw a circle that intersects both dots. Done. Before you say that it should be just a line, let me say that it doesn't break the rules that say you can "draw" a circle with 100 or 12 or 7 dots. The dots don't form a circle but rather fall on the line of a circle your mind draws. Since there is nothing truly between the dots, the "true" shape could jut out and form a corner or any other shape, just like it could be a…

The original post used the term "formed," and I used "make," both with the intent of using only dots to create a circle. I would say you have "included" two dots in your circle, with this new line being the main element. With all due respect.
Post reply on HN