lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

70
active users

#lsystem

4 posts4 participants1 post today
Alexandre B A Villares<p>Code at: <a href="https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_04_05" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/villares/sketch-a-d</span><span class="invisible">ay/tree/main/2025/sketch_2025_04_05</span></a><br>More sketch-a-day: <a href="https://abav.lugaralgum.com/sketch-a-day" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">abav.lugaralgum.com/sketch-a-d</span><span class="invisible">ay</span></a><br>If you like this, support my work: <br><a href="https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">paypal.com/donate/?hosted_butt</span><span class="invisible">on_id=5B4MZ78C9J724</span></a><br><a href="https://liberapay.com/Villares" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">liberapay.com/Villares</span><span class="invisible"></span></a><br><a href="https://wise.com/pay/me/alexandrev562" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">wise.com/pay/me/alexandrev562</span><span class="invisible"></span></a><br><a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://pynews.com.br/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreativeCoding</span></a></p>
Alexandre B A Villares<p>Code at: <a href="https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_04_03" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/villares/sketch-a-d</span><span class="invisible">ay/tree/main/2025/sketch_2025_04_03</span></a><br>More sketch-a-day: <a href="https://abav.lugaralgum.com/sketch-a-day" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">abav.lugaralgum.com/sketch-a-d</span><span class="invisible">ay</span></a><br>If you like this, support my work: <br><a href="https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">paypal.com/donate/?hosted_butt</span><span class="invisible">on_id=5B4MZ78C9J724</span></a><br><a href="https://liberapay.com/Villares" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">liberapay.com/Villares</span><span class="invisible"></span></a><br><a href="https://wise.com/pay/me/alexandrev562" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">wise.com/pay/me/alexandrev562</span><span class="invisible"></span></a></p><p><a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://pynews.com.br/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreativeCoding</span></a></p>
Alexandre B A Villares 🐍<p><span class="h-card" translate="no"><a href="https://social.wake.st/@liaizon" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>liaizon</span></a></span> thank you!</p><p>If you are curious, I added some references about L-Systems to this post: <a href="https://github.com/py5coding/py5generator/discussions/555" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/py5coding/py5genera</span><span class="invisible">tor/discussions/555</span></a></p><p><a href="https://ciberlandia.pt/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://ciberlandia.pt/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreativeCoding</span></a> <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://ciberlandia.pt/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://ciberlandia.pt/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a></p>
Alexandre B A Villares<p><a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> Code at: <a href="https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_04_02" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/villares/sketch-a-d</span><span class="invisible">ay/tree/main/2025/sketch_2025_04_02</span></a><br>More sketch-a-day: <a href="https://abav.lugaralgum.com/sketch-a-day" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">abav.lugaralgum.com/sketch-a-d</span><span class="invisible">ay</span></a><br>If you like this, support my work: <br><a href="https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">paypal.com/donate/?hosted_butt</span><span class="invisible">on_id=5B4MZ78C9J724</span></a><br><a href="https://liberapay.com/Villares" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">liberapay.com/Villares</span><span class="invisible"></span></a><br><a href="https://wise.com/pay/me/alexandrev562" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">wise.com/pay/me/alexandrev562</span><span class="invisible"></span></a> <a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://pynews.com.br/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreativeCoding</span></a></p>
Karsten Schmidt<p><span class="h-card" translate="no"><a href="https://merveilles.town/@neauoire" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>neauoire</span></a></span> <span class="h-card" translate="no"><a href="https://hci.social/@chrisamaphone" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>chrisamaphone</span></a></span> Have you ever played around with L-Systems (I bet you did :)? It seems there's a lot of conceptual overlap here, even though they don't offer much in terms of control flow or Turing completeness. I just think they generally still remain somewhat under exposed/explored (beyond the traditional Turtle graphics applications). If you attach different kinds of interpreters, they can be pushed pretty far... In the past I have used them for genetic programming, text &amp; code generation, music composition, and even basic stack machines (where the L-System acts as an iterative macro expansion stage)...</p><p>A couple of FizzBuzz examples (incl. a super basic Forth-like VM) using <a href="https://thi.ng/lsys" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">thi.ng/lsys</span><span class="invisible"></span></a>...</p><p><a href="https://gist.github.com/postspectacular/7d0ae7d90e0eafb69e60fb97e2838221" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/postspectacula</span><span class="invisible">r/7d0ae7d90e0eafb69e60fb97e2838221</span></a></p><p><a href="https://mastodon.thi.ng/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://mastodon.thi.ng/tags/Generative" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Generative</span></a> <a href="https://mastodon.thi.ng/tags/RuleBased" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RuleBased</span></a> <a href="https://mastodon.thi.ng/tags/RewritingSystems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RewritingSystems</span></a> <a href="https://mastodon.thi.ng/tags/Forth" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Forth</span></a></p>
Alexandre B A Villares<p>I love to play/create an <a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a>, check discussion at <a href="https://github.com/py5coding/py5generator/discussions/555" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/py5coding/py5genera</span><span class="invisible">tor/discussions/555</span></a> Code at: <a href="https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_11_11" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/villares/sketch-a-d</span><span class="invisible">ay/tree/main/2024/sketch_2024_11_11</span></a><br>More sketch-a-day: <a href="https://abav.lugaralgum.com/sketch-a-day" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">abav.lugaralgum.com/sketch-a-d</span><span class="invisible">ay</span></a><br>I really need your support to keep going, if you can, donate any amount at: <a href="https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">paypal.com/donate/?hosted_butt</span><span class="invisible">on_id=5B4MZ78C9J724</span></a> <a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://pynews.com.br/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreativeCoding</span></a></p>
Alexandre B A Villares 🐍<p>Na moral, um <a href="https://ciberlandia.pt/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> em 35 linhas é elegante demais, Processing + Python == &lt;3</p>
Alexandre B A Villares<p>regras = {<br> 'X': 'F+[![X]-X!]-F[-FX]+X',<br> 'F': 'FGF',<br> }<br>axioma = 'X'<br>iteracoes = 6<br>angulo = 25</p><p><a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a></p>
Alexandre B A Villares 🐍<p>Foi massa hoje fazer <a href="https://ciberlandia.pt/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> com <a href="https://ciberlandia.pt/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> (<a href="https://ciberlandia.pt/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> + <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>) do zero no <a href="https://ciberlandia.pt/tags/Sesc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sesc</span></a>. Dá para acompanhar mais ou menos a sequência que fizemos, e ver o código em <a href="https://hackmd.io/@villares/sesc-simula-bio" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackmd.io/@villares/sesc-simul</span><span class="invisible">a-bio</span></a></p><p>cc <span class="h-card" translate="no"><a href="https://pynews.com.br/@ericof" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ericof</span></a></span></p>
Alexandre B A Villares 🐍<p>Quem estiver em <a href="https://ciberlandia.pt/tags/S%C3%A3oPaulo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SãoPaulo</span></a> 14/11, e tiver o privilégio de um par de horas livres à tarde 14h30, vou dar uma atividade com <a href="https://ciberlandia.pt/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://ciberlandia.pt/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> + <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> lá no <a href="https://ciberlandia.pt/tags/SescAvPaulista" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SescAvPaulista</span></a>. 14/11 vai ser <a href="https://ciberlandia.pt/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> :)</p><p><a href="https://www.sescsp.org.br/programacao/simulacoes-biologicas-em-programacao/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">sescsp.org.br/programacao/simu</span><span class="invisible">lacoes-biologicas-em-programacao/</span></a></p>
Alexandre B A Villares<p>axiom = 'X'<br>rules = {<br> 'X': '[-X][+X][+FX]-FXB',<br> 'F': 'FF',<br> } <br>angle = 25 # degrees<br>iterations = 6<br># F -&gt; forward step<br># B -&gt; blue circle<br><a href="https://github.com/villares/sketch-a-day/blob/main/2023/sketch_2023_10_07/sketch_2023_10_07.py" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/villares/sketch-a-d</span><span class="invisible">ay/blob/main/2023/sketch_2023_10_07/sketch_2023_10_07.py</span></a><br><a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a></p>
Alexandre B A Villares<p><a href="https://github.com/villares/sketch-a-day/blob/main/2023/sketch_2023_10_04/sketch_2023_10_04.py" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/villares/sketch-a-d</span><span class="invisible">ay/blob/main/2023/sketch_2023_10_04/sketch_2023_10_04.py</span></a> <a href="https://pynews.com.br/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://pynews.com.br/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://pynews.com.br/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://pynews.com.br/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://pynews.com.br/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CreativeCoding</span></a></p>
Alexandre B A Villares 🐍<p>So, if your <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> team needs some <a href="https://ciberlandia.pt/tags/TeamBuilding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TeamBuilding</span></a> "creative" activities, and your firm has a budget for that, you can call me to teach some terrible coding stuff, like how to create plant-like self-similar shapes with <a href="https://ciberlandia.pt/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> (<a href="https://en.wikipedia.org/wiki/L-system" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">en.wikipedia.org/wiki/L-system</span><span class="invisible"></span></a>). Or maybe some <a href="https://ciberlandia.pt/tags/PerlinNoise" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PerlinNoise</span></a> textures? There is no better way of spending corporate money than contracting me to show dubious graphics code that is almost impossible to test! Don't waste this opportunity!</p>
Alexandre B A Villares 🐍<p>sketch_2022_01_09 <a href="https://ciberlandia.pt/tags/Processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Processing</span></a> <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://ciberlandia.pt/tags/py5" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>py5</span></a> <a href="https://ciberlandia.pt/tags/LSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LSystem</span></a> <a href="https://ciberlandia.pt/tags/genuary" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>genuary</span></a> <a href="https://ciberlandia.pt/tags/genuary9" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>genuary9</span></a></p>