<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: molecular dynamics animator</title>
	<link>http://ask.metafilter.com/63402/molecular-dynamics-animator/</link>
	<description>Comments on Ask MetaFilter post molecular dynamics animator</description>
	<pubDate>Fri, 25 May 2007 13:02:44 -0800</pubDate>
	<lastBuildDate>Fri, 25 May 2007 13:02:44 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: molecular dynamics animator</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator</link>	
		<description>Help me find software to animate my molecular dynamics simulation &lt;br /&gt;&lt;br /&gt; For my research, I&apos;ve been trying to learn about &lt;a href=&quot;http://en.wikipedia.org/wiki/Molecular_dynamics#Major_software_for_MD_simulations&quot;&gt;molecular dynamics&lt;/a&gt; simulations.  I&apos;ve been trying to learn by writing up a simple MD algorithm from scratch in Java.  I only have a limited knowledge of computer programming, so my simulation is probably far from the most elegant, efficient, or functional program.  Nevertheless, I have managed to write a program that calculates the forces, trajectories, and velocities for a group of N particles.  The program also exports the simulation output into a .txt file.  There is no graphical interface, and I don&apos;t really want to program one.&lt;br&gt;
&lt;br&gt;
I&apos;m looking for some software that will do the animation for me.  The form of the output is a list (N long) of x and y coordinates.  There are as many of these lists as there are time steps in the simulation.  So, for example, for 10 particles with 20 time steps, the output file would be 20 10x2 arrays.  This output can be formatted or modified slightly.  I&apos;m looking for a simple program that will read those coordinates from the output file and animate them with respect to time.  Free and easy to use are what I&apos;m looking for.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.63402</guid>
		<pubDate>Fri, 25 May 2007 12:31:18 -0800</pubDate>
		<dc:creator>SBMike</dc:creator>
		
			<category>simulation</category>
		
			<category>animation</category>
		
			<category>coordinates</category>
		
			<category>moleculardynamics</category>
		
			<category>graphics</category>
		
	</item> <item>
		<title>By: chrisamiller</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954236</link>	
		<description>&lt;a href=&quot;http://www.ks.uiuc.edu/Research/vmd/&quot;&gt;VMD&lt;/a&gt; is one of the most popular visualization tools, and I think it does animations.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954236</guid>
		<pubDate>Fri, 25 May 2007 13:02:44 -0800</pubDate>
		<dc:creator>chrisamiller</dc:creator>
	</item><item>
		<title>By: Blazecock Pileon</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954280</link>	
		<description>You&apos;ll probably need to convert your data into something that can be rendered into an image. Nonetheless, &lt;a href=&quot;http://www.umass.edu/microbio/rasmol/othersof.htm&quot;&gt;this page&lt;/a&gt; may help you out.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954280</guid>
		<pubDate>Fri, 25 May 2007 13:54:52 -0800</pubDate>
		<dc:creator>Blazecock Pileon</dc:creator>
	</item><item>
		<title>By: Blazecock Pileon</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954282</link>	
		<description>Once you have images for each frame, you can use &lt;a href=&quot;http://www.apple.com/quicktime/pro/&quot;&gt;QuickTime Pro&lt;/a&gt; to render a movie from a set of frames.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954282</guid>
		<pubDate>Fri, 25 May 2007 13:56:04 -0800</pubDate>
		<dc:creator>Blazecock Pileon</dc:creator>
	</item><item>
		<title>By: callmejay</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954290</link>	
		<description>(Caveat: not 100% sure I understand what you&apos;re looking for.  The following describes a package used for all kinds of graphs using x,y coordinates.)&lt;br&gt;
&lt;br&gt;
I recently used &lt;a href=&quot;http://www.jfree.org/jfreechart/&quot;&gt;JFreeChart&lt;/a&gt; with not too much difficulty and good-looking results.  (I am a pro programmer, but it includes some samples that should be relatively easy to work with.)  To make it animated, simply create a loop that sleeps for x milliseconds (using Thread.sleep()) each iteration and then redraws the graph with that instant&apos;s data.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954290</guid>
		<pubDate>Fri, 25 May 2007 14:07:49 -0800</pubDate>
		<dc:creator>callmejay</dc:creator>
	</item><item>
		<title>By: milinar</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954303</link>	
		<description>You could do this with some work in any 3d-animation package&apos;s scripting language. Particularly Maya&apos;s MEL or Houdini&apos;s HScript. The learning curve will be much higher, but team up with an artist and your results could be pretty spectacular.&lt;br&gt;
&lt;br&gt;
Not really your criteria, but something to think about.&lt;br&gt;
&lt;br&gt;
This is a total shot in the dark, but I would look around for scripting language binding (i.e. perl/python/ruby) for something like renderman or OpenGL.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954303</guid>
		<pubDate>Fri, 25 May 2007 14:27:40 -0800</pubDate>
		<dc:creator>milinar</dc:creator>
	</item><item>
		<title>By: JMOZ</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954342</link>	
		<description>UCSB has a site-license for Mathematica. I&apos;ve done something somewhat similar to this in the past, so I know it can be done. &lt;br&gt;
&lt;br&gt;
The general technique is to make a loop to load the data and do a ListPlot (formatting the points to look nice). You can then collapse the cell all these plots are in and it will animate. I don&apos;t recall how to export that, but perhaps that will help nonetheless?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954342</guid>
		<pubDate>Fri, 25 May 2007 15:18:14 -0800</pubDate>
		<dc:creator>JMOZ</dc:creator>
	</item><item>
		<title>By: Loto</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954354</link>	
		<description>Mathematica will do this, and relatively painlessly.  The easiest way I found (when I did a Brownian motion simulation) was to create a graph for each event (in my case, N particles with random x,y, and z movements)  and then save it to a graphics array.  &lt;br&gt;
&lt;br&gt;
The animation function will then animate the graphics array, and you can export it as a QuickTime file by just right clicking the animation (at least in the Mac version, I&apos;m sure the Windows and Linux versions have something very similar.)&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://library.wolfram.com/infocenter/MathSource/6215/&quot;&gt;Here&lt;/a&gt; is a link on reading data from a file.  If you want, I can toss my notebook file online and you can see how I handled the graphing.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954354</guid>
		<pubDate>Fri, 25 May 2007 15:28:50 -0800</pubDate>
		<dc:creator>Loto</dc:creator>
	</item><item>
		<title>By: paradroid</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954361</link>	
		<description>you could transform your output into a &lt;a href=&quot;http://www.povray.org/&quot;&gt;POV-Ray&lt;/a&gt; animation reasonably easily, and it is freely available.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954361</guid>
		<pubDate>Fri, 25 May 2007 15:38:33 -0800</pubDate>
		<dc:creator>paradroid</dc:creator>
	</item><item>
		<title>By: demiurge</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954475</link>	
		<description>If you&apos;ve already written the dynamics code in Java, consider writing another program to do the animation in Java with OpenGL.  It&apos;s not too hard if you already know Java, and there&apos;s a great deal of information on using OpenGL out there.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954475</guid>
		<pubDate>Fri, 25 May 2007 20:22:30 -0800</pubDate>
		<dc:creator>demiurge</dc:creator>
	</item><item>
		<title>By: pombe</title>
		<link>http://ask.metafilter.com/63402/molecular-dynamics-animator#954487</link>	
		<description>It sounds like you&apos;re working in 2D, but if you wanted to move to 3D you could write your data in the &lt;a href=&quot;http://www.pdb.org/pdb/static.do?p=file_formats/pdb/index.html&quot;&gt;PDB format&lt;/a&gt; and take advantage of the various tools for displaying pdb files.  VMD (previously mentioned) will read them, as will programs like &lt;a href=&quot;http://pymol.sourceforge.net/&quot;&gt;PyMOL&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.63402-954487</guid>
		<pubDate>Fri, 25 May 2007 20:36:37 -0800</pubDate>
		<dc:creator>pombe</dc:creator>
	</item>
	</channel>
</rss>
