<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>#quicktime-player posts — Ben Crowder</title>
    <link>https://bencrowder.net/blog/tag/quicktime-player/</link>
    <atom:link href="https://bencrowder.net/blog/tag/quicktime-player/feed/" rel="self" />
    <description>Feed for blog posts tagged with #quicktime-player.</description>
    <lastBuildDate>Fri, 17 Apr 2026 23:19:59 GMT</lastBuildDate>
    <language>en-US</language>
    <generator>https://bencrowder.net/</generator>

    <item>
      <title>Asteroids</title>
      <link>https://bencrowder.net/blog/2015/asteroids/</link>
      <guid isPermaLink="true">https://bencrowder.net/blog/2015/asteroids/</guid>
      <pubDate>Fri, 09 Oct 2015 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Ben Crowder]]></dc:creator>
      <description><![CDATA[<p>Earlier this week I wrote a small Asteroids clone in JavaScript:</p>
<figure><a href="https://bencrowder.net/coding/asteroids/"><img src="https://cdn.bencrowder.net/images/projects/asteroids/asteroids.gif" alt="Video of the game" /></a></figure>
<p>Instructions and the link to the game are on the <a href="https://bencrowder.net/coding/asteroids/">project page</a>.</p>
<p>FYI, here’s how I made the animated GIF: I used Quicktime Player to record a portion of the screen, then used ImageMagick to convert the .mov file to a series of PNGs:</p>
<pre><code>convert asteroids.mov png/asteroids_%03d.png
</code></pre>
<p>I deleted the extra frames at beginning and end that I didn’t care about (unpausing the game, figuring out how to turn the recording off), then used ImageMagick again to make the GIF:</p>
<pre><code>convert -delay 1x30 png/*.png -layers optimize +dither -colors 32 asteroids.gif
</code></pre><hr class="feed-extra" style="margin-top: 48pt;" /><p class="feed-extra feed-mail"><a href="mailto:ben.crowder@gmail.com?subject=Re%3A%20Asteroids">Reply via email</a></p>]]></description>
    </item>
    
  </channel>
</rss>
