Re: Manipulate is sluggish?
- To: mathgroup at smc.vnet.net
- Subject: [mg83634] Re: Manipulate is sluggish?
- From: Tom Burton <news at brahea.com>
- Date: Mon, 26 Nov 2007 03:49:58 -0500 (EST)
I learned a bit more since my first post on this subject:
1. No need to revert to version 5 for speed. ListAnimate seems to
reproduce the features and speed of the older version.
ListAnimate[Flatten[Table[GraphicsGrid[Table[c=xx/12;m=yy/12;Graphics
[{CMYKColor[c,m,y,k],Disk[{xx,yy},1,{0,\[Pi]}],RGBColor@@cmyk2rgb
[c,m,y,k],Disk[{xx,yy},1,{\[Pi],2\[Pi]}]},ContentSelectable->False],
{xx,0,12,2},{yy,0,12,2}]],{y,0.0,1,1/6},{k,0.0,1,1/6}]]]
2. One slider is as sluggish and shy as two.
Manipulate[With[{k=0},
GraphicsGrid[Table[c=xx/12;m=yy/12;Graphics[{CMYKColor[c,m,y,k],Disk
[{xx,yy},1,{0,\[Pi]}],RGBColor@@cmyk2rgb[c,m,y,k],Disk[{xx,yy},1,{\
[Pi],2\[Pi]}]},ContentSelectable->False],{xx,0,12,2},{yy,0,12,2}]]],
{y,0.0,1,1/6}]
3. Animate is as sluggish and shy as Manipulate
Animate[GraphicsGrid[Table[c=xx/12;m=yy/12;Graphics[{CMYKColor
[c,m,y,k],Disk[{xx,yy},1,{0,\[Pi]}],RGBColor@@cmyk2rgb[c,m,y,k],Disk
[{xx,yy},1,{\[Pi],2\[Pi]}]},ContentSelectable->False],{xx,0,12,2},{yy,
0,12,2}]],{y,0.0,1,1/6},{k,0.0,1,1/6}]
Animate[With[{k=0},
GraphicsGrid[Table[c=xx/12;m=yy/12;Graphics[{CMYKColor[c,m,y,k],Disk
[{xx,yy},1,{0,\[Pi]}],RGBColor@@cmyk2rgb[c,m,y,k],Disk[{xx,yy},1,{\
[Pi],2\[Pi]}]},ContentSelectable->False],{xx,0,12,2},{yy,0,12,2}]]
],{y,0.0,1,1/6}]
Tom
When responding, please replace news with my first initial and full
last name, as one word.
Tom Burton