<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Svg on bramp.net</title>
    <link>https://blog.bramp.net/</link>
    <description>Recent content in Svg on bramp.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-GB</language>
    <lastBuildDate>Sun, 08 Apr 2018 21:46:21 -0700</lastBuildDate>
    <atom:link href="https://blog.bramp.net/tags/svg/" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Marvel Cinematic Universe Timeline</title>
      <link>https://blog.bramp.net/post/2018/04/08/the-mcu/</link>
      <pubDate>Sun, 08 Apr 2018 21:46:21 -0700</pubDate>
      
      <guid>https://blog.bramp.net/post/2018/04/08/the-mcu/</guid>
      <description><p>In the run up to the <a href="https://www.imdb.com/title/tt4154756/">third Avengers movie</a>, I was wondering which characters have appeared together, and when. With dozens of characters across eighteen <a href="https://en.wikipedia.org/wiki/Marvel_Cinematic_Universe">Marvel Cinematic Universe</a> (MCU) movies, this will make Avengers Infinity War one huge mashup. In the style of the <a href="https://xkcd.com/657/">XKCD narrative diagrams</a>, I plotted out the journey each character has taken across the numerous movies. I also got carried away and created a similar (yet smaller) diagram for the <a href="https://en.wikipedia.org/wiki/List_of_Marvel_Cinematic_Universe_television_series#Netflix_series">Netflix Marvel shows</a>.</p>
<br />
<p><strong>Marvel Cinematic Universe - Iron Man (2008) though Avengers: Infinity War (2018)</strong></p>
<div class="text-center">
<a href="https://projects.bramp.net/mcu/film.html">
  <img src="film.png" width=770 height=344 alt="Marvel Cinematic Universe - Character Timeline"></img>
  <p>click to open an interactive version</p>
</a>
</div>
<br/>
<p><strong>Marvel Cinematic Universe - Netflix Shows</strong></p>
<div class="text-center">
<a href="https://projects.bramp.net/mcu/netflix.html">
  <img src="netflix.png" width=770 height=411 alt="Marvel Netflix Shows - Character Timeline"></img>
  <p>click to open an interactive version</p>
</a>
</div>
<p>I would like to thank the contributors to <a href="http://marvel-movies.wikia.com/">marvel-movies.wikia.com</a> where I got all the information. As well as <a href="https://twitter.com/drzax">Simon Elvery</a> who created the <a href="https://github.com/abcnews/d3-layout-narrative">d3-layout-narrative</a> module for <a href="https://d3js.org/">d3.js</a> that made these diagrams easier to create. Check back in future when I write up an article on how I created these diagrams. As always, I welcome feedback, you may contact me at <a href="https://twitter.com/TheBramp">@TheBramp</a>.</p>
</description>
    </item>
    
    <item>
      <title>Draw UML Sequence Diagrams with Javascript</title>
      <link>https://blog.bramp.net/post/2013/03/23/draw-uml-sequence-diagrams-with-javascript/</link>
      <pubDate>Sat, 23 Mar 2013 00:00:00 +0000</pubDate>
      
      <guid>https://blog.bramp.net/post/2013/03/23/draw-uml-sequence-diagrams-with-javascript/</guid>
      <description><p>I’m happy to announce one of my projects, <a href="https://bramp.github.io/js-sequence-diagrams/">js-sequence-diagrams</a>. This uses Javascript to draw UML sequence diagrams in SVG format. Here is an example:</p>
<div class="text-center">
    <a href="https://bramp.github.io/js-sequence-diagrams/">
		<img src="sample-with-editor.png" alt="js-sequence-diagram example" width="865" height="333" />
	</a>
</div>
<p>You can alter the diagram in real time, and I even have a simple jQuery plugin to make this easy to use on your own sites.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="ni">&amp;lt;</span>script src=&#34;sequence-diagram-min.js&#34;<span class="ni">&amp;gt;&amp;lt;</span>/script<span class="ni">&amp;gt;</span>
</span></span><span class="line"><span class="cl"><span class="ni">&amp;lt;</span>div class=&#34;diagram&#34;<span class="ni">&amp;gt;</span>A-<span class="ni">&amp;gt;</span>B: Message<span class="ni">&amp;lt;</span>/div<span class="ni">&amp;gt;</span>
</span></span><span class="line"><span class="cl"><span class="ni">&amp;lt;</span>script<span class="ni">&amp;gt;</span>
</span></span><span class="line"><span class="cl">$(&#34;.diagram&#34;).sequenceDiagram({theme: <span class="ni">&amp;#39;</span>hand<span class="ni">&amp;#39;</span>});
</span></span><span class="line"><span class="cl"><span class="ni">&amp;lt;</span>/script<span class="ni">&amp;gt;</span>
</span></span></code></pre></div></description>
    </item>
    
  </channel>
</rss>
