- Forked from:
- nitoyon's Perfect Shuffle Visualization
forked from: Perfect Shuffle Visualization
------------------------------------------------------
Perfect Shuffle Visualization
------------------------------------------------------
How many times does it requires for 15 cards to
go back to where one started?
inspired by:
http://d.hatena.ne.jp/nishiohirokazu/20100107/1262835414
------------------------------------------------------------
The Perfect Shuffle resets order when ...
cards = (1<<(n>>1))-((n&1)<<1);
steps = (n&~1)>>(n&1);
Press left or right arrow to change the n value.
------------------------------------------------------------
- forked:2
- favorite:27
- lines:54
- license : MIT License
- modified : 2010-01-09 11:41:05
Press left or right arrow key to change the n value
- by
keim_at_Si
- at 2010/01/09 11:22:37
hi_noon
:
きれい
bkzen
:
きれい
cat2151
:
うつくすぃ


