<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>simulation on Radu Angelescu</title>
    <link>https://raduangelescu.com/categories/simulation/</link>
    <description>Recent content in simulation on Radu Angelescu</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 03 Jan 2016 00:00:00 +0000</lastBuildDate><atom:link href="https://raduangelescu.com/categories/simulation/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Evolving the best driver using differential evolution</title>
      <link>https://raduangelescu.com/post/rdifferentialevolutiontopdowncar/</link>
      <pubDate>Sun, 03 Jan 2016 00:00:00 +0000</pubDate>
      
      <guid>https://raduangelescu.com/post/rdifferentialevolutiontopdowncar/</guid>
      <description>&lt;iframe width=&#34;560&#34; height=&#34;315&#34; src=&#34;https://www.youtube.com/embed/9Ak7UQNGSvs&#34; frameborder=&#34;0&#34; allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;Children (light blue) and parents(dark blue) run in the same generation simulation. The red car is the current best individual, the white ones are the old best individual (evaluated in the same generation).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Implementing a simple top down racing game ai controller</title>
      <link>https://raduangelescu.com/post/classictopdownracinggameai/</link>
      <pubDate>Tue, 29 Dec 2015 00:00:00 +0000</pubDate>
      
      <guid>https://raduangelescu.com/post/classictopdownracinggameai/</guid>
      <description>&lt;script&gt;
var videoPlayer;
var currentVideoIndex = 0;
var videos = [&#34;basicai1.mp4&#34;,&#34;basicai2.mp4&#34;,&#34;basicai3.mp4&#34;,&#34;basicai4.mp4&#34;,&#34;basicai5.mp4&#34;,&#34;basicai6.mp4&#34;];
function PlayNext()
{

    videoPlayer.src = &#34;/mp4/&#34;+videos[currentVideoIndex];
    videoPlayer.play();
    currentVideoIndex++;
    if(currentVideoIndex &gt;= videos.length)
      currentVideoIndex = 0;
}

document.addEventListener(&#34;DOMContentLoaded&#34;, function(event) 
{ 
  videoPlayer = document.getElementById(&#34;playerClassicAI&#34;);
  PlayNext();
})

&lt;/script&gt;
&lt;video onended=&#34;javascript:PlayNext()&#34; onClick=&#34;javascript:PlayNext()&#34; width=&#34;640&#34; height=&#34;480&#34; id = &#34;playerClassicAI&#34;  poster=&#34;/mp4/placeholderai.gif&#34; autobuffer autoplay  &gt;
  &lt;source src=&#34;https://raduangelescu.com/mp4/basicai1.mp4&#34; type=&#34;video/mp4&#34;&gt;
HTML5 Video is required for this video.
&lt;/video&gt;
&lt;p&gt;We have the &lt;a href=&#34;https://raduangelescu.com/post/racetrackproceduralgeneration/&#34;&gt;procedural track&lt;/a&gt; , we have the &lt;a href=&#34;https://raduangelescu.com/post/classictopdownracinggameai/&#34;&gt;ghysics car model&lt;/a&gt;, let&amp;rsquo;s make a simple top down racing AI!
&lt;em&gt;Above you can see me play with the basic AI (I am the red one that always ends up hitting the wall :) )&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Top down racing car physics model using box2D</title>
      <link>https://raduangelescu.com/post/topdownracingcarphysicsmodelbox2d/</link>
      <pubDate>Mon, 28 Dec 2015 00:00:00 +0000</pubDate>
      
      <guid>https://raduangelescu.com/post/topdownracingcarphysicsmodelbox2d/</guid>
      <description>&lt;script&gt;
var videoPlayer;
var currentVideoIndex = 0;
var videos = [&#34;carmodel.mp4&#34;];
function PlayNext()
{

    videoPlayer.src = window.location.origin + &#34;/mp4/carmodel.mp4&#34;;
    videoPlayer.play();
}
function GetSrc()
{
	return window.location.origin + &#34;/mp4/carmodel.mp4&#34;;
}
document.addEventListener(&#34;DOMContentLoaded&#34;, function(event) 
{ 
  videoPlayer = document.getElementById(&#34;player1&#34;);
  PlayNext();
})

&lt;/script&gt;
&lt;video onended=&#34;javascript:PlayNext()&#34; onClick=&#34;javascript:PlayNext()&#34; width=&#34;640&#34; height=&#34;480&#34; id = &#34;player1&#34;  poster=&#34;/mp4/placeholder2.gif&#34; autobuffer autoplay &gt;
  &lt;source onload=&#34;this.onload=null; this.src=GetSrc();&#34; type=&#34;video/mp4&#34;&gt;
HTML5 Video is required for this video.
&lt;/video&gt;
&lt;p&gt;Today&amp;rsquo;s article is about implementing a simple, easy configurable car model with the &lt;a href=&#34;http://box2d.org/&#34;&gt;Box2D physics library&lt;/a&gt;. See above video of me playing with the new model.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Chip 8 Emulator in Javascript</title>
      <link>https://raduangelescu.com/post/chip8emulatorjavascript/</link>
      <pubDate>Sun, 20 Dec 2015 00:00:00 +0000</pubDate>
      
      <guid>https://raduangelescu.com/post/chip8emulatorjavascript/</guid>
      <description>&lt;style&gt;
/* Scrollbar styles */
div.img {
    margin: 5px;
    border: 0.5px solid #CCC;
    float: left;
    width: 100px;
    opacity: 0.5;
}

div.img:hover {
    opacity: 1.0;
}

div.img img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

.lb-v-dummy { width: 100%; display: block; height: 1px; }
.lb-h-dummy { height: 100%; display: block; width: 1px; }
.lb-clear { clear: both; }
.lb-wrap { z-index: 0; overflow: auto; position: relative; }
.lb-v-scrollbar { z-index: 1; position: absolute; right: 2px; top: 2px; width: 7px; height: 100%; background: #cfcfcf; opacity: 0.3; -ms-filter:&#34;progid:DXImageTransform.Microsoft.Alpha(Opacity=40)&#34;; border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
.lb-h-scrollbar { z-index: 1; position: absolute; bottom: 2px; left: 2px; width: 100%; height: 7px; background: #cfcfcf; opacity: 0.3; -ms-filter:&#34;progid:DXImageTransform.Microsoft.Alpha(Opacity=40)&#34;; border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
.lb-v-scrollbar-slider { position: absolute; width: 7px; height: 50px; left: 0; top: 0; background: #000; -ms-filter:&#34;progid:DXImageTransform.Microsoft.Alpha(Opacity=100)&#34;; border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
.lb-h-scrollbar-slider { position: absolute; height: 7px; width: 50px; left: 0; top: 0; background: #000; -ms-filter:&#34;progid:DXImageTransform.Microsoft.Alpha(Opacity=100)&#34;; border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }

&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;This weeks short and sweet project is actually a &lt;a href=&#34;https://en.wikipedia.org/wiki/CHIP-8&#34;&gt;CHIP-8&lt;/a&gt; emulator. Check it out !&lt;/p&gt;
&lt;p&gt;Play with it by clicking &lt;a href=&#34;#emulator&#34;&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;See how I programmed it by clicking &lt;a href=&#34;#code&#34;&gt;here&lt;/a&gt; (or just scroll :) ).&lt;/p&gt;
&lt;p&gt;Check the github code &lt;a href=&#34;https://github.com/raduangelescu/Chip8Emulator&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Differential Evolution</title>
      <link>https://raduangelescu.com/post/differentialevolution/</link>
      <pubDate>Mon, 14 Dec 2015 00:00:00 +0000</pubDate>
      
      <guid>https://raduangelescu.com/post/differentialevolution/</guid>
      <description>&lt;p&gt;This weekend I was looking into &lt;a href=&#34;http://d3js.org/&#34;&gt;d3js&lt;/a&gt;. I saw a lot of cool &lt;a href=&#34;https://github.com/mbostock/d3/wiki/Gallery&#34;&gt;visualizations on the web&lt;/a&gt; that used d3js and was actively searching for something good for rendering data in javascript.&lt;/p&gt;
&lt;p&gt;I started learning the basics and while doing this I said to myself I should actually do something to express an algorithm, not just random art.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Differential Evolution Visualization</title>
      <link>https://raduangelescu.com/post/differentialevolutionviz/</link>
      <pubDate>Mon, 14 Dec 2015 00:00:00 +0000</pubDate>
      
      <guid>https://raduangelescu.com/post/differentialevolutionviz/</guid>
      <description>&lt;p&gt;&lt;a name=&#34;vis_part&#34;&gt;&lt;/a&gt;
See the Differential Evolution process of getting the coefficients of our quartic polynomial right!&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
