I have scrolling text in Mathematica 6.0.1, using Animate:
Animate[Dynamic@
Row[RotateLeft[{C, a, l, c, u, l, u, s, " ", III, ",", " ", P, g, " ", 109,
" "}, cc]], {cc, 0, 33, 1}, AnimationDirection -> Forward,
AnimationRepetitions -> 2]
How can I make the scrolling letters to be red, and bold? I tried Style[ ], but without success.
Thanks,
Bill
PS. Win XP on a pc.
Animate[Dynamic@Row[
RotateLeft[
Style[#, Bold, Red] & /@
Characters["Calculus III, Pg 109 "],
cc]],
{cc, 0, 33, 1},
AnimationDirection -> Forward,
AnimationRepetitions -> 2]
Animate[Dynamic@Row[
RotateLeft[
Thread[
Style[Characters["Calculus III, Pg 109 "],
Bold, Red]],
cc]],
{cc, 0, 33, 1},
AnimationDirection -> Forward,
AnimationRepetitions -> 2]
Bob Hanlon
---- Bill <WDWNO...@aol.com> wrote:
=============
Animate[Dynamic@
Style[Row[
RotateLeft[{C, a, l, c, u, l, u, s, " ", III, ",", " ", P, g, " ",
109, " "}, cc]], 16, Red, Bold], {cc, 0, 33, 1},
AnimationDirection -> Forward,
AnimationRepetitions -> 2]
David Park
djm...@comcast.net
http://home.comcast.net/~djmpark/
cc = 0
Dynamic@Style[
Row[RotateLeft[{C, a, l, c, u, l, u, s, " ", III, ",", " ", P, g,
" ", 109, " ", " ", " "}, cc]], 16, Red, Bold]
Do[cc = i; Pause[.1], {i, 100}]
$Version
7.0 for Mac OS X x86 (64-bit) (February 19, 2009)
Animate[Row[
RotateLeft[
Thread[
Style[
Characters["Calculus III, Pg 109 "],
Bold, Red]],
cc]],
{{cc, 0, ""}, 0, 33, 1},
AnimationDirection -> Forward,
AnimationRepetitions -> 2.01,
Paneled -> False,
AnimatorElements -> None]
Bob Hanlon
---- wdwno...@aol.com wrote:
=============
Hi Bob:
Thanks.
Is there a way to get rid of the animate panel, and just display the
scrolling text?
Thanks again,
Bill
Thanks to everyone who assisted me with the scrolling text problem.
How might the code be modified to show the text stopped for approximately 3 seconds in the beginning,
then scroll the text for 2 repetitions, then stop, displaying the text without scrolling?
Thanks,
Bill
Mathematica 6.0.1 on a pc with Win XP.