From: Bruce S. <Bru...@nc...> - 2009-05-20 05:18:10
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> In the Documentation section of vpython.org the FAQ portion talks about how to capture images from VPython.<br> <br> However, you might consider simply putting a button on a PowerPoint page to run your VPython program live, which would also give you the option to rotate and zoom. This is what I do when giving PowerPoint presentations that involve VPython visualizations.<br> <br> Bruce Sherwood<br> <br> JC D wrote: <blockquote cite="mid:576...@we..." type="cite"> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top"> <div class="Section1"> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;">Hi group,<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">I am a very beginner with python and vpython. I want to use vpython in order to plot a 3D arrow.<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">I have a routine that computes the x,y,z coordinates of the vector for each time step.<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">Now I want to draw an image of the vector for each time step and export it as gif or another picture format that I could use for an animation in a power point presentation.<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">I already plotted the vectors but all together in one image. <o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">Can someone help me out?<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">Thank you!<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt;" lang="EN-GB">JCD<o:p></o:p></span></font></p> </div> </td> </tr> </tbody> </table> <br> <br> </blockquote> </body> </html> |