[NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson
I've created several animations using MetaPost/ConTeXt, and I have also
created a webpage with these animations.  The URL to the page is

http://www.tlhiv.org/animations/

Feedback is appreciated, and if there is a particular animation that you
would like to see included, let me know and I will attempt to code them up
in MetaPost, provide the source code, and include them on the webpage.

Troy Henderson
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Otared Kavian
Dear Troy,

I just looked up your animations webpage: congratulations for the beautiful 
work you have done, and thanks for sharing.
I played a little bit with the hypocycloid source file you sent some time ago 
and found it useful for other situations as well.
Would it be possible to have the source files of the other examples you show on 
the webpage
http://www.tlhiv.org/animations/

Also, if I may suggest something, an animation like the one for Riemann sums 
would be very intersting for illustrating the Lebesgue integrals in order to 
show to students what is going on.

Best wishes for the New Year, and best regards: OK

On 28 déc. 2012, at 20:41, Troy Henderson thend...@gmail.com wrote:

 I've created several animations using MetaPost/ConTeXt, and I have also 
 created a webpage with these animations.  The URL to the page is
 
 http://www.tlhiv.org/animations/
 
 Feedback is appreciated, and if there is a particular animation that you 
 would like to see included, let me know and I will attempt to code them up in 
 MetaPost, provide the source code, and include them on the webpage.
 
 Troy Henderson
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Hans Hagen

On 12/28/2012 8:41 PM, Troy Henderson wrote:

I've created several animations using MetaPost/ConTeXt, and I have also
created a webpage with these animations.  The URL to the page is

http://www.tlhiv.org/animations/

Feedback is appreciated, and if there is a particular animation that you
would like to see included, let me know and I will attempt to code them
up in MetaPost, provide the source code, and include them on the webpage.


There are some animated gifs at:

http://en.wikipedia.org/wiki/B%C3%A9zier_curve

such curves are typical for mp so maybe they qualify.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Rogers, Michael K

On 12/28/2012 8:41 PM, Troy Henderson wrote:
 I've created several animations using MetaPost/ConTeXt, and I have also
 created a webpage with these animations.  The URL to the page is

 http://www.tlhiv.org/animations/

 Feedback is appreciated, and if there is a particular animation that you
 would like to see included, let me know and I will attempt to code them
 up in MetaPost, provide the source code, and include them on the webpage.

Neat.  MP - Flash seems to work well.

One thing, which you may know, gear teeth do not normally have rectangular 
profiles.  Nowadays, they are usually involutes of a circle and formerly were 
usually cycloids (so the gears don't slip against each other when they turn).  
I don't have a reference, but google turned up 
http://www.cadquest.com/books/pdf/gears.pdf, which shows how to draw involute 
gears.

Are you using the animations, or some frames perhaps, in a ConTeXt document?  I 
usually use Mathematica for such animations, but it and its ilk are expensive, 
although there are other alternatives.  As I'm still learning MP/Lua/ConTeXt, 
I'm just interested in the ways others use the system.

Thanks for sharing.

Michael



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson

  One thing, which you may know, gear teeth do not normally have
 rectangular profiles.


This must be what Hans was talking about.


 Are you using the animations, or some frames perhaps, in a ConTeXt
 document?


Well, actually I'm using ConTeXt/MetaPost to generate each frame of the
animation automagically.  The webpage will soon allow for downloading the
source for each ConTeXt document.  This generates a multi-page PDF where
each page of the PDF is a frame of the animation.  SWFtools (specifically,
pdf2swf) can then be used to convert the PDF to SWF.

Troy
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Rogers, Michael K
On Dec 28, 2012, at 3:49 PM, Troy Henderson 
thend...@gmail.commailto:thend...@gmail.com wrote:

One thing, which you may know, gear teeth do not normally have rectangular 
profiles.

This must be what Hans was talking about.

I thought Hans was talking about the animations of the construction of Bezier 
curves, which are pretty cool.

Thanks again for the response.



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson
Are the gears more correct now?

Troy
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Otared Kavian
Dear Troy,

The gears are much better now. However, have a look at 
http://fr.wikipedia.org/wiki/Fichier:Involute_wheel.gif
and
http://fr.wikipedia.org/wiki/Engrenage

The animation for Gibbs is also very nice: thanks for sharing!
I tried the TeX file for your Gibbs phenomena animation: I could not get the 
same pictures as you show on your webpage. I get only one page out of 8, and 
the log file says several times:
unknown path q
! Improper `clip'.
to be read again 

Best regards: OK

On 29 déc. 2012, at 03:55, Troy Henderson thend...@gmail.com wrote:

 Are the gears more correct now?
 
 Troy
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Troy Henderson

 I tried the TeX file for your Gibbs phenomena animation: I could not get
 the same pictures as you show on your webpage.


I built the TeX file with ConTeXt.  I am using the ConTeXt that comes with
TeX Live 2012.

 context gibbs.tex

Troy
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___