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


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

Re: Animate cannot be combined?

Started byBob Hanlon <hanlonr357@gmail.com>
First post2013-11-19 07:14 +0000
Last post2013-11-19 07:14 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Animate cannot be combined? Bob Hanlon <hanlonr357@gmail.com> - 2013-11-19 07:14 +0000

#16247 — Re: Animate cannot be combined?

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-11-19 07:14 +0000
SubjectRe: Animate cannot be combined?
Message-ID<l6f352$t82$1@smc.vnet.net>
Animate[
 Module[{h = 0.5, dt = 0.8,
   HypPar, EndCircs},
  HypPar[u_] = Line[{
     {Cos[u], Sin[u], 0},
     {Cos[u + dt], Sin[u + dt], h}}];
  EndCircs = ParametricPlot3D[{
     {Cos[v + 1.5], Sin[v + 1.5], 0},
     {Cos[v], Sin[v], h}},
    {v, 0, 2 Pi}];
  Show[
   EndCircs,
   Graphics3D[{Thick, HypPar[u]}],
   Axes -> False,
   PlotRange ->
    {{-1.02, 1.02}, {-1.02, 1.02}, {-1.02, 1.02}}]],
 {u, 0, 2 Pi, .1},
 AnimationRunning -> True]



Bob Hanlon




On Sun, Nov 17, 2013 at 6:22 PM, Narasimham <mathma18@gmail.com> wrote:

> It appears an Animate-d graph can no more combine with an unanimated graph
> object.In following example,where skew lines join two points on two
> displaced circles as Hypar (one-sheet) generators, how to Show the static
> and dynamic components together?
>
> If juxtaposed Show succeeds, how to further leave permanent traces of
> generators?
>
> h = 0.5; dt = 0.8;
> HypPar[u_] =
>   Line[{{Cos[u], Sin[u], 0}, { Cos[u + dt], Sin[u + dt], h }}];
> Genrtr = Animate[
>   Graphics3D[HypPar[u], Axes -> False,
>    PlotRange -> {{-1.02, 1.02}, {-1.02, 1.02}, {-1.02, 1.02}},
>    AspectRatio -> 1], {u, 0, 2 Pi, .1}, AnimationRunning -> True]
> EndCircs =
>  ParametricPlot3D[{{ Cos[u + 1.5], Sin[u + 1.5] , 0}, {Cos[u], Sin[u],
>      h}}, {u, 0, 2 Pi}]
> Show[Genrtr, EndCircs]
>
> I hope you see the aim, viz.to visualize it the way we go about
> constructing a mechanical assembly.
>
> Regards
> Narasimham
>
>

[toc] | [standalone]


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


csiph-web