Re: Animate drawing of a ruled surface?
- To: mathgroup at smc.vnet.net
- Subject: [mg122920] Re: Animate drawing of a ruled surface?
- From: "Oleksandr Rasputinov" <oleksandr_rasputinov at hmamail.com>
- Date: Wed, 16 Nov 2011 04:45:41 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j9tg85$n8r$1@smc.vnet.net>
On Tue, 15 Nov 2011 10:51:49 -0000, Dmichael <pwaslo at yahoo.com> wrote:
> Hi,
>
> I want to animate the drawing of a ruled surface.
>
> So, for example, say I want to animate the drawing of a helix.
>
> I create the surface with this command:
>
> ParametricPlot3D[{u*Cos[v], u*Sin[v], (1/2)*v}, {u, -1, 1}, {v, 0, 2
> \[Pi]}]
>
> Then I want an animation of the surface being drawn as the line sweeps
> out the surface. So I try this which shows the line but doesn't animate
> the drawing of the surface.
>
> Animate[ParametricPlot3D[{u*Cos[v], u*Sin[v], (1/2)*v}, {u, -4, 4},
> PlotRange -> 6], {v, 0, 4 \[Pi]}]
>
> Any ideas? Thanks!
>
How about
Animate[
ParametricPlot3D[
{u*Cos[v], u*Sin[v], (1/2)*v},
{u, -1, 1}, {v, 0, vmax},
PlotRange -> {{-1, 1}, {-1, 1}, {0, Pi}},
PerformanceGoal -> "Quality"
],
{vmax, 0, 2 Pi}
]
?