<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mandelbrot on MICRoCLUB</title>
    <link>https://nichub.github.io/microclub/tags/mandelbrot/</link>
    <description>Recent content in Mandelbrot on MICRoCLUB</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>fr-CH</language>
    <copyright>© 2026 Microclub</copyright>
    <lastBuildDate>Fri, 09 Oct 2026 17:59:59 +0200</lastBuildDate><atom:link href="https://nichub.github.io/microclub/tags/mandelbrot/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Désobfuscation du Mandelbrot en Python</title>
      <link>https://nichub.github.io/microclub/2012/10/07/un-tres-beau-programme/</link>
      <pubDate>Sun, 07 Oct 2012 15:29:55 +0200</pubDate>
      
      <guid>https://nichub.github.io/microclub/2012/10/07/un-tres-beau-programme/</guid>
      <description>&lt;p&gt;L’autre jour, j’ai découvert un &lt;a href=&#34;http://preshing.com/20110926/high-resolution-mandelbrot-in-obfuscated-python&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;magnifique programme en Python&lt;/a&gt; &lt;a href=&#34;http://fr.wikipedia.org/wiki/Code_imp%C3%A9n%C3%A9trable&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;obfusqué&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;p&gt;[code lang= »python »]_ = (&lt;br&gt;&#xA;255,&lt;br&gt;&#xA;lambda&lt;br&gt;&#xA;V ,B,c&lt;br&gt;&#xA;:c and Y(V*V+B,B, c&lt;br&gt;&#xA;-1)if(abs(V)&amp;lt;6)else&lt;br&gt;&#xA;( 2+c-4*abs(V)**-0.4)/i&lt;br&gt;&#xA;) ;v, x=1500,1000;C=range(v*x&lt;br&gt;&#xA;);import struct;P=struct.pack;M,\\&#xA;j =&amp;rsquo;&amp;lt;QIIHHHH’,open(‘M.bmp’,’wb’).write&lt;br&gt;&#xA;for X in j(‘BM’+P(M,v*x*3+26,26,12,v,x,1,24))or C:&lt;br&gt;&#xA;i ,Y=_;j(P(‘BBB’,*(lambda T:(T*80+T**9&lt;br&gt;&#xA;*i-950*T **99,T*70-880*T**18+701*&lt;br&gt;&#xA;T **9 ,T*i**(1-T**45*2)))(sum(&lt;br&gt;&#xA;[ Y(0,(A%3/3.+X%v+(X/v+&lt;br&gt;&#xA;A/3/3.-x/2)/1j)*2.5&lt;br&gt;&#xA;/x -2.7,i)**2 for \\&#xA;A in C&lt;br&gt;&#xA;[:9]])&lt;br&gt;&#xA;/9)&lt;br&gt;&#xA;) )[/code]&lt;/p&gt;&#xA;&lt;p&gt;Il produit en une vingtaine de minutes cette image de l’ &lt;a href=&#34;http://fr.wikipedia.org/wiki/Ensemble_de_Mandelbrot&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Ensemble de Mandelbrot&lt;/a&gt;:&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
