Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6452 > unrolled thread

Animate drawing of a ruled surface?

Started byDmichael <pwaslo@yahoo.com>
First post2011-11-15 10:51 +0000
Last post2011-11-16 09:50 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Animate drawing of a ruled surface? Dmichael <pwaslo@yahoo.com> - 2011-11-15 10:51 +0000
    Re: Animate drawing of a ruled surface? "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-11-16 09:50 +0000

#6452 — Animate drawing of a ruled surface?

FromDmichael <pwaslo@yahoo.com>
Date2011-11-15 10:51 +0000
SubjectAnimate drawing of a ruled surface?
Message-ID<j9tg85$n8r$1@smc.vnet.net>
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!

[toc] | [next] | [standalone]


#6474

From"Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Date2011-11-16 09:50 +0000
Message-ID<ja010m$644$1@smc.vnet.net>
In reply to#6452
On Tue, 15 Nov 2011 10:51:49 -0000, Dmichael <pwaslo@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}
]

?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web