请问动画怎么调刷新率都很卡顿,有什么解决办法吗
mathematica吧
全部回复
仅看楼主
level 1
Sylvanashe 楼主
Animate[Show[
ParametricPlot3D[
RotationTransform[
t, {0, #[[1]], 0}][{Sin[\[Theta]], Cos[\[Theta]],
0} (E^Cos[\[Theta]] - 2 Cos[4 \[Theta]] +
Sin[\[Theta]/12]^5)], {\[Theta], 0, 2 \[Pi]}, Axes -> False,
Boxed -> False,
ColorFunction -> Function[{x, y, z, \[Theta]}, Hue[\[Theta]]],
RegionFunction ->
Function[{x, y, z, \[Theta]}, #[[2]][x, 0]]] & /@ {{-1,
Less}, {1, Greater}}], {t, -(\[Pi]/2), \[Pi]/2},
RefreshRate -> 10, DisplayAllSteps -> True, AnimationRate -> 1,
AnimationRunning -> False, AnimationDirection -> ForwardBackward]
2021年04月17日 15点04分 1
吧务
level 10
我不卡
2021年04月18日 07点04分 2
解决了,先Evaluate再plot就可以了
2021年04月18日 10点04分
1