<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>woodencode</title>
        <link>https://paragraph.com/@woodencode</link>
        <description>i am a carpenter who like to play with codes...</description>
        <lastBuildDate>Thu, 21 May 2026 06:38:36 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>woodencode</title>
            <url>https://storage.googleapis.com/papyrus_images/7597f66de32864ae57f2ff8f5075ccf09f61a8bb7add8681b86796ccb4926135.jpg</url>
            <link>https://paragraph.com/@woodencode</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[p5.Vector]]></title>
            <link>https://paragraph.com/@woodencode/p5-vector</link>
            <guid>hUlji2hBNq31Es5ZMy3H</guid>
            <pubDate>Tue, 25 Jan 2022 03:23:33 GMT</pubDate>
            <description><![CDATA[vectors, vectors, vectors! like a wood cutting directions or not. syntaxnew p5.Vector([x], [y], [z]); add a => (3, 4) b => (2, -1) a + b => (5, 3)class Woodencode { constructor(x, y) { this.a = createVector(3, 4); this.b = createVector(2, 1); } update() { // a.add(b); this.a.add(this.b); }]]></description>
            <content:encoded><![CDATA[<figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/126e4ebb4fe8bbf79640c321885ef0abb08b62c0e55315bbb8b7a36e7033184d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>vectors, vectors, vectors! like a wood cutting directions or not.</p><p>syntax</p><pre data-type="codeBlock" text="new p5.Vector([x], [y], [z]);
"><code>new p5.Vector(<span class="hljs-section">[x]</span>, <span class="hljs-section">[y]</span>, <span class="hljs-section">[z]</span>)<span class="hljs-comment">;</span>
</code></pre><p><strong><em>add</em></strong></p><p>a =&gt; (3, 4)</p><p>b =&gt; (2, -1)</p><p>a + b =&gt; (5, 3)</p><pre data-type="codeBlock" text="class Woodencode {
  constructor(x, y) {
    this.a = createVector(3, 4);
    this.b = createVector(2, 1);
  }
  
  update() {
    // a.add(b); 
    this.a.add(this.b);
  }
"><code>class Woodencode {
  <span class="hljs-function"><span class="hljs-keyword">constructor</span>(<span class="hljs-params">x, y</span>) </span>{
    <span class="hljs-built_in">this</span>.a <span class="hljs-operator">=</span> createVector(<span class="hljs-number">3</span>, <span class="hljs-number">4</span>);
    <span class="hljs-built_in">this</span>.b <span class="hljs-operator">=</span> createVector(<span class="hljs-number">2</span>, <span class="hljs-number">1</span>);
  }
  
  update() {
    <span class="hljs-comment">// a.add(b); </span>
    <span class="hljs-built_in">this</span>.a.add(<span class="hljs-built_in">this</span>.b);
  }
</code></pre>]]></content:encoded>
            <author>woodencode@newsletter.paragraph.com (woodencode)</author>
        </item>
        <item>
            <title><![CDATA[let's see]]></title>
            <link>https://paragraph.com/@woodencode/let-s-see</link>
            <guid>hqZavhZTBnEdo0oFG1Ik</guid>
            <pubDate>Mon, 24 Jan 2022 22:41:53 GMT</pubDate>
            <description><![CDATA[i have some question marks about p5.js. that is why i want to fix that first of all and go back to javascript lessons again. i try to make a post about that journey. let’s see how this mirror works first. Hello world!]]></description>
            <content:encoded><![CDATA[<p>i have some question marks about p5.js. that is why i want to fix that first of all and go back to javascript lessons again. i try to make a post about that journey. let’s see how this mirror works first.</p><p>Hello world!</p>]]></content:encoded>
            <author>woodencode@newsletter.paragraph.com (woodencode)</author>
        </item>
    </channel>
</rss>