<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Art on nobe4</title><link>https://nobe4.fr/tags/art/</link><description>Recent content in Art on nobe4</description><generator>Hugo</generator><language>en-us</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA&lt;/a&gt;</copyright><lastBuildDate>Sat, 27 Jun 2026 12:13:35 +0200</lastBuildDate><atom:link href="https://nobe4.fr/tags/art/index.xml" rel="self" type="application/rss+xml"/><item><title>Great Flag Unification</title><link>https://nobe4.fr/posts/great-flag-unification/</link><pubDate>Wed, 26 Nov 2025 00:00:00 +0000</pubDate><guid>https://nobe4.fr/posts/great-flag-unification/</guid><description>&lt;p&gt;If there&amp;rsquo;s something I like, it&amp;rsquo;s simplicity. If there&amp;rsquo;s something that&amp;rsquo;s not
simple, it&amp;rsquo;s the flags of the world. In this post I try to redesign flags in a
simplified way, using only 4 basic shapes: rectangles, circles,
half-circles, and triangles.&lt;/p&gt;
&lt;p&gt;Each flag operates on a 12 ×12 grid, which works surprisingly well for most
flags.&lt;/p&gt;
&lt;p&gt;The idea is to create a simpler, more consistent sets of flags. Any symbolic
shapes (e.g. stars, words, etc) are removed. Consistency of shapes is favored
over individuality of each flag, for instance, most circles are only one of 2
sizes.&lt;/p&gt;</description></item><item><title>Pure Data Sequencer</title><link>https://nobe4.fr/posts/pure-data-sequencer/</link><pubDate>Thu, 26 Oct 2017 00:00:00 +0000</pubDate><guid>https://nobe4.fr/posts/pure-data-sequencer/</guid><description>&lt;p&gt;In this post I&amp;rsquo;d like to present a patch I made for Pure Data, namely a sequencer.&lt;/p&gt;
&lt;h1 id="pure-what"&gt;Pure What?&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;Pure Data (Pd) is a visual programming language developed by Miller Puckette
in the 1990s for creating interactive computer music and multimedia works. -
&lt;a href="https://en.wikipedia.org/wiki/Pure_Data"&gt;Wikipedia&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Coming from a text-based programming experience, it&amp;rsquo;s a &lt;em&gt;connect box with
lines&lt;/em&gt; type of programming game. Although I am relatively new to this
technology, I can already tell that it&amp;rsquo;s a lot of fun to play with!&lt;/p&gt;</description></item><item><title>Cube</title><link>https://nobe4.fr/posts/cube/</link><pubDate>Mon, 16 Oct 2017 00:00:00 +0000</pubDate><guid>https://nobe4.fr/posts/cube/</guid><description>&lt;p&gt;This blog post presents the little toy I made while exploring the HTML5&amp;rsquo;s
canvas and a cube&amp;rsquo;s visualisation with changing perspectives.&lt;/p&gt;
&lt;p&gt;You can see the result here: &lt;a href="https://nobe4.fr/cube/"&gt;Cube&lt;/a&gt;.&lt;/p&gt;
&lt;h1 id="preparing-the-canvas-and-brushes"&gt;Preparing the canvas and brushes&lt;/h1&gt;
&lt;p&gt;Let start with the canvas wrapper, the non-cube side of the project.&lt;/p&gt;
&lt;p&gt;After getting the canvas and its context, we set fixed sizes for various
elements of the page:&lt;/p&gt;




	&lt;div class=" highlight-wrapper" data-lang="javascript"&gt;
		&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-javascript" data-lang="javascript"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;canvas&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;canvas&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;ctx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getContext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;2d&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;HEIGHT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;height&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;WIDTH&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;width&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;pointSize&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;debug&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;step&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
	&lt;/div&gt;

&lt;p&gt;Next, a few different functions to clear/display stuff on the canvas:&lt;/p&gt;</description></item><item><title>Golfed Dragon's Curve</title><link>https://nobe4.fr/posts/golfed-dragons-curve/</link><pubDate>Sun, 26 Jun 2016 00:00:00 +0000</pubDate><guid>https://nobe4.fr/posts/golfed-dragons-curve/</guid><description>&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Dragon_curve"&gt;Little dragon&amp;rsquo;s curve.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I got bored on a rainy Sunday and I thought I would try to mix mathematic and JavaScript.&lt;/p&gt;
&lt;p&gt;I love fractals and I saw neat golfed examples of what you can do with the canvas (e.g. &lt;a href="http://www.p01.org/128b_dragon_punch/"&gt;this 128 bytes dragon&amp;rsquo;s curve&lt;/a&gt;), so I tried to create a simple dragon&amp;rsquo;s curve generation visualisation.&lt;/p&gt;
&lt;p&gt;My attempt displays splittings of the initial segment as it gradually turns into a curve.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Here is the full code. To make it work, you need a fixed-size canvas whose id is &lt;code&gt;a&lt;/code&gt; (demo at the end).&lt;/p&gt;</description></item></channel></rss>