Message #142

From: Don Hatch <hatch@plunk.org>
Subject: rotation speed
Date: Tue, 03 May 2005 16:10:04 -0700

On Tue, May 03, 2005 at 04:02:48PM +0200, Remigiusz Durka wrote:

> (Applet looks better than linux verison..Moves in linux are too FAST! And sometimes I don’t see what’s going on ;) )

Most computers have gotten much faster since this program was written :-)

To slow down the linux version, use the
-nframes90, -nframes120, -nframes180 command line options,
or the M4D_NFRAMES_90, M4D_NFRAMES_120, M4D_NFRAMES_180 environment
variables, or the nframes90, nframes120, nframes180 X resources.
(It looks to like the env variables take precedence over the command
line options, which is a little strange… so if you are
experimenting with the command line options, make sure
you have the env variables turned off.)

The defaults are currently 5,7,11 respectively.
But that’s now about 20 times too slow on my computer.
So to make it go at a more reasonable speed for solving, I can say:
magiccube4d -nframes90 90 -nframes120 120 -nframes180 180
Or to really see what’s going on:
magiccube4d -nframes90 300 -nframes120 400 -nframes180 600

(Note, the defaults 5,7,11 were chosen as 6,8,12 rounded down to odd numbers
since the even numbers are prone to showing a "bad" frame
during twists of the 4x4x4x4 and larger puzzles; this
is irrelevant when you increase the numbers a lot, since you’re going to
see a lot of these bad frames no matter what you do so there’s no point
in worrying about it any more; just pick any three numbers
in the ratio 3:4:6)

Don


Don Hatch
hatch@plunk.org
http://www.plunk.org/~hatch/