<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by schwwaaa on Medium]]></title>
        <description><![CDATA[Stories by schwwaaa on Medium]]></description>
        <link>https://medium.com/@schwwaaa?source=rss-9574a7c398eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*j_k01t01nrP7bBhZ-NOZFQ.png</url>
            <title>Stories by schwwaaa on Medium</title>
            <link>https://medium.com/@schwwaaa?source=rss-9574a7c398eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:09:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@schwwaaa/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why We Built Pynder for Scam Call Reports]]></title>
            <link>https://schwwaaa.medium.com/why-we-built-pynder-for-scam-call-reports-f54c0896ac6a?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f54c0896ac6a</guid>
            <category><![CDATA[call-center]]></category>
            <category><![CDATA[scam]]></category>
            <category><![CDATA[phone]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[crowdsourcing]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 22:11:29 GMT</pubDate>
            <atom:updated>2026-06-09T22:11:29.041Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*In5NP7vwQKLdDDKF8AceSA.png" /></figure><p>Most people have had the same experience.</p><p>A strange number calls.<br> It looks local.<br> It might even look familiar.<br> The caller claims to be a bank, a government agency, a delivery service, a relative, or a support team.</p><p>Something feels wrong.</p><p>So you search the number.</p><p>That is where the trap often begins.</p><p>Reverse lookup tools can tell you who owns a number, but scam calls are not that simple. Caller ID can be spoofed. A real number can be misused. A local-looking number can be fake.</p><p>That is why we built <strong>Pynder</strong>.</p><p><em>Pynder</em> is a public scam-call reporting project that crowdsources suspicious phone numbers and descriptions.</p><p>Website: <a href="https://pynder.net/">https://pynder.net/</a></p><h3>Reporting instead of guessing</h3><p><em>Pynder</em> starts with a simple idea:</p><p>If you receive a scam call, submit the number that called you and describe what happened.</p><p>That is it.</p><p>The form is intentionally small:</p><pre>From Number<br>Description<br>Submit</pre><p>The goal is not to turn curiosity into another lookup product.</p><p>The goal is to collect reports so scam-call patterns can become visible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XdZTdWHr57XW-4CYXnSEmw.png" /></figure><h3>Why crowdsourced reports matter</h3><p>One scam call is easy to dismiss.</p><p>A thousand similar reports are different.</p><p>Patterns can appear in the scripts people hear, the kinds of numbers being spoofed, the claims being made, the timing of calls, and the way callers pressure people.</p><p>Those patterns matter because scam calls are not just random annoyances.</p><p>They are organized attempts to confuse and exploit people.</p><p><em>Pynder</em> is built around the idea that public reports can help expose those patterns.</p><h3>The people most at risk</h3><p>Scam calls affect everyone, but they especially harm people who are more vulnerable.</p><p>Elderly people.<br> Infirm people.<br> People under stress.<br> People who can be pressured by fear or urgency.</p><p>A fake bank call or fake government call can create real harm.</p><p>That is why awareness matters.</p><p>A reporting system is not the whole solution, but it is part of the work: collect information, connect patterns, and help people understand what is happening.</p><h3>What Pynder collects</h3><p><em>Pynder</em> asks for the suspicious number and a description of the call.</p><p>The site states that it does not store personal data.</p><p>It also says that basic technical metadata such as IP address and browser information may be collected to prevent abuse, while personally identifying information is not stored.</p><p>That balance matters.</p><p>A public form needs protection against abuse, but it should not ask people for unnecessary personal information.</p><h3>What comes next</h3><p><em>Pynder</em> is just getting started, but the roadmap points toward a larger investigation toolkit.</p><p>The homepage lists three planned pieces:</p><p><strong>Pynderscope</strong> — open-source scam call tracking and visualization.<br> <strong>Case Files</strong> — deeper investigation tools for volunteer gumshoes.<br> <strong>Evidence Locker</strong> — a shared repository of findings.</p><p>That roadmap matters because reports are only the beginning.</p><p>The next step is making patterns easier to see, investigate, and share.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShL3JQVf0znipz_JXjUtCA.png" /></figure><h3>Final thought</h3><p><em>Pynder</em> exists because scam calls are not only a private inconvenience.</p><p>They are a public pattern.</p><p>The more reports people submit, the more visible those patterns can become.</p><p>If a strange number called you and it felt like a scam, report it.</p><p>Website: <a href="https://pynder.net/">https://pynder.net/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f54c0896ac6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Schwwaaa VideoSampler 10: A Browser-Based Video Sampler for Live Playback, Sequencing, and…]]></title>
            <link>https://schwwaaa.medium.com/the-schwwaaa-videosampler-10-a-browser-based-video-sampler-for-live-playback-sequencing-and-e0dbd00b0077?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0dbd00b0077</guid>
            <category><![CDATA[video-production]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 02:44:20 GMT</pubDate>
            <atom:updated>2026-06-09T02:56:42.243Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Schwwaaa VideoSampler 10: A Browser-Based Video Sampler for Live Playback, Sequencing, and Experimentation</h3><h3>Load a local video, create cue points, assign them to keyboard pads, trigger them live, record performances, and save everything as JSON.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*WKgY97Qp0KLH4O8BHCY4gw.png" /></figure><p>The entire application runs in a browser and currently exists as a single self-contained HTML file.</p><p>No installation.</p><p>No server.</p><p>No media uploads.</p><p>Just open the file and start working.</p><p>Try it now: <a href="https://schwwaaa.github.io/VideoSampler10_VS10/">https://schwwaaa.github.io/VideoSampler10_VS10/</a><br>Github: <a href="https://github.com/schwwaaa/VideoSampler10_VS10">https://github.com/schwwaaa/VideoSampler10_VS10</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlS6lrYNmvOk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlS6lrYNmvOk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlS6lrYNmvOk%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d37a6cc02d3aa973698abe87dc7e5c8/href">https://medium.com/media/4d37a6cc02d3aa973698abe87dc7e5c8/href</a></iframe><h3>From Video File to Playable Pads</h3><p>The basic workflow starts by loading a video from your local machine.</p><p>Once loaded, VS10 allows you to place markers throughout the clip. Each marker contains:</p><ul><li>A start time</li><li>A playback duration</li><li>A label</li><li>A keyboard pad assignment</li></ul><p>Markers become playable cue points that can be triggered at any time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WDhG00-ttbeV-5fFeniSSA.png" /><figcaption>Markers on the timeline</figcaption></figure><p>Each marker can be assigned to one of ten pads:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PElguXJYKtbYjmGeXTAs4w.png" /></figure><p>Pressing a pad key immediately jumps playback to the assigned marker and begins playing the cue.</p><p>This makes it possible to move around a video instantly without scrubbing through a timeline.</p><h3>Auto-Slice Any Video</h3><p>For quick experimentation, VS10 includes an Auto-Slice 10 function.</p><p>The feature divides the loaded video into ten equal segments and automatically assigns each segment to a pad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*DhTfu1iEjExzsFsYS-gCAw.png" /><figcaption>Marker Selection Menu</figcaption></figure><p>A long interview, movie clip, VHS capture, screen recording, or found-footage video can become playable in seconds.</p><p>Rather than manually creating markers, users can immediately begin exploring the source material and discovering interesting combinations of clips and transitions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MuAFw3m8dp-wEdfSTT6l-w.png" /></figure><h3>Live Cue Playback</h3><p>Once markers are assigned, VS10 can be used as a live playback system.</p><p>Triggering a pad immediately jumps to its assigned cue.</p><p>Optional playback modes include:</p><ul><li>Stop at cue end</li><li>Loop selected cue</li></ul><p>These modes make it possible to use VS10 as:</p><ul><li>A visual performance tool</li><li>A remixing environment</li><li>A quick review system for long videos</li></ul><p>Because playback is immediate, it encourages experimentation rather than precise editing.</p><h3>Recording Jam Sessions</h3><p>One of the more interesting features in VS10 is real-time jam recording.</p><p>While recording is active, every pad trigger and timing event is captured.</p><p>After recording, the performance can be played back immediately and saved as JSON</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*vVlmv75RMNF-Ft0Md-mvvg.png" /><figcaption>The Jamzone</figcaption></figure><h3>Saving Projects</h3><p>VS10 supports exporting complete project data as JSON.</p><p>Project files contain:</p><ul><li>Marker definitions</li><li>Sequence data</li><li>Recorded jam sequences</li><li>Raw jam events</li></ul><p>This allows projects to be archived, shared, or loaded back into the application later.</p><p>Recorded performances can also be exported separately, making it possible to save individual jam sessions without exporting the entire project.</p><h3>Why a Single HTML File?</h3><p>The current version of VS10 intentionally keeps everything inside a single HTML document.</p><p>The interface, styles, and application logic all live in one file.</p><p>Opening the application is as simple as opening you favorite web browser.</p><h3>Future Possibilities</h3><p>What are your thoughts? How can we make it better? Contact us! We can’t wait to hear from you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0dbd00b0077" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why we Built a Local Audio Mastering Tool for Experimental Music]]></title>
            <link>https://schwwaaa.medium.com/why-we-built-a-local-audio-mastering-tool-for-experimental-music-a4828181cf93?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4828181cf93</guid>
            <category><![CDATA[mastering]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[ffmpeg]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Sun, 07 Jun 2026 03:34:45 GMT</pubDate>
            <atom:updated>2026-06-07T03:36:01.037Z</atom:updated>
            <content:encoded><![CDATA[<p>A Rust and FFmpeg mastering workflow for experimental audio, built around presets, visual review, and repeatable process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*8mqPfKZc584ON5VZtUZsjw.png" /></figure><p>A lot of music tools assume you already know where the work is going.</p><p>Streaming. Broadcast. Club playback. Film delivery. Archive.</p><p>Those are real destinations, but they do not always describe the way experimental music is made. Some pieces are too quiet on purpose. Some are dense walls of noise. Some have extreme dynamics. Some are closer to video art, installation work, or private sketches than commercial releases.</p><p>When the material does not fit a normal category, the tooling can start to feel strange.</p><p>You are still expected to master it, normalize it, limit it, export it, and make it “ready.” But ready for what? And according to whose standard?</p><p>That question is what led us to build <em>mastacraf</em>.</p><p><em>mastacraf</em> is a command-line audio mastering pipeline built in Rust and powered by FFmpeg. It is not meant to replace listening. It is not meant to make taste decisions. It is not meant to make every track louder.</p><p>It is meant to make the process visible.</p><ul><li><strong>*Project:**</strong> <a href="https://github.com/schwwaaa/mastacraf">https://github.com/schwwaaa/mastacraf</a></li><li><strong>**Docs:**</strong> <a href="https://schwwaaa.github.io/mastacraf/">https://schwwaaa.github.io/mastacraf/</a></li><li><strong>***Bandcamp:***</strong> <a href="https://cskonopka.bandcamp.com/album/friend">https://cskonopka.bandcamp.com/album/friend</a></li></ul><h3><strong>The problem with black-box finishing</strong></h3><p>Mastering can become a strange final ritual.</p><p>You finish a piece, open a chain of tools, adjust a few things, export a file, and hope the result translates.</p><p>That may be fine when the goal is a conventional release, but for experimental music I often want something else.</p><p>We want to know what happened.</p><p>What was the loudness before processing? How much did it change? Did the limiter touch only a few peaks, or did it reshape the whole file? Did the loudness range collapse? Did the stereo image have a phase issue before mastering even began?</p><p>Those questions matter because experimental material can break assumptions.</p><p>A harsh noise piece and a quiet drone should not be treated the same way. A film cue and an archive master should not necessarily land at the same loudness target. A piece with intentionally strange dynamics should not be forced into a generic box because a tool has a default preset.</p><p>So we wanted a workflow that started with measurement instead of guessing.</p><h3><strong>A mastering tool that does not pretend to have taste</strong></h3><p>The main idea behind <em>mastacraf</em> is simple:</p><p>The tool should not decide the aesthetic.</p><p>The preset should describe the decision.</p><p>That means <em>mastacraf</em> does not try to make a track “better” automatically. It runs a defined process. You choose the target. You choose the preset. You decide whether compression belongs there. You decide whether the goal is streaming, film, archive, noise, or something else entirely.</p><p>The command line part is not the point because command lines are inherently better. The command line is useful because it keeps the workflow direct.</p><p>A file goes in. The tool analyzes it. A preset is applied. Visuals are created. A report is written.</p><p>That is enough.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HLmmABc7BKqPgNwJMJLV9g.png" /></figure><h3><strong>Why this matters for experimental music</strong></h3><p>Experimental music often lives between categories.</p><p>It can be too dynamic for one target and too dense for another. It can contain sub-bass that is part of the composition, or high-frequency material that would look “wrong” to a generic analyzer. It can be deliberately uncomfortable, unstable, or asymmetric.</p><p>A good tool for that kind of material should not hide what it is doing.</p><p><em>mastacraf</em> measures loudness, true peak, loudness range, RMS, crest factor, DC offset, phase correlation, spectral balance, and related values. Those numbers are not the goal. They are context.</p><p>They help you decide whether the master is doing what you intended.</p><p>That is the important distinction. Measurement is not there to replace listening. Measurement is there to make listening more informed.</p><h3><strong>The pipeline</strong></h3><p>The workflow is intentionally linear:</p><p>analyze → visualize → process → visualize again → report</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8koDGUOUTWpbLERwuo33gQ.jpeg" /></figure><p>The audio processing is handled by FFmpeg. Rust provides the structure around it: the CLI, preset loading, pipeline orchestration, output folders, and reports.</p><p>For each track, <em>mastacraf</em> can generate the mastered audio, pre/post waveform images, pre/post spectrograms, comparison images, diff images, and a JSON report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gkWTOPYuzR1OOI3TDX6bog.png" /><figcaption>compare_spectrogram</figcaption></figure><p>The report is one of the most important parts.</p><p>It records what the input measured, what the output measured, what preset was used, what changed, and the exact FFmpeg filter chain that produced the file.</p><p>That means a master is no longer just a file sitting in a folder.</p><p>It has a trace.</p><h3><strong>Presets as memory</strong></h3><p>We like presets because they can become a form of memory.</p><p>Not memory in the vague sense of “I think I used this chain last time,” but memory as a readable file.</p><p>A preset can say:</p><p>This is for a film cue.</p><p>This is for harsh noise.</p><p>This is for a quiet archive master.</p><p>This is for a release where I want more headroom.</p><p>This is for material that should stay dynamic.</p><p>The preset does not have to be universal. It can be specific. That is the point.</p><p>For artists working across different formats, that matters. The tool should not assume every output has the same destination.</p><h3><strong>The role of visuals</strong></h3><p>One of the things we wanted from <em>mastacraf</em> was visual review.</p><p>Not because images can tell you whether something sounds good, but because they can show whether the process behaved unexpectedly.</p><p>A waveform comparison can show if the envelope changed too much. A spectrogram comparison can show whether the processing affected certain regions more than others. A diff image can point to the moments where the file changed most.</p><p>For abstract audio, that kind of review is helpful.</p><p>Sometimes the piece itself is already strange. Having a visual before/after record gives another way to understand the transformation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTL6dHRXTjGpL_3r2k9QOA.png" /><figcaption>diff_spectrogram</figcaption></figure><h3><strong>Small tools are worth building</strong></h3><p><em>mastacraf</em> is not a giant application.</p><p>That is part of why we like it.</p><p>It is a small local tool built around a specific workflow problem. It uses Rust where Rust is useful. It uses FFmpeg where FFmpeg is already powerful. It uses TOML presets because they are readable. It writes JSON reports because the process should be inspectable.</p><p>This kind of tool does not need to become a platform.</p><p>It just needs to make a messy part of the workflow clearer.</p><p>A lot of creative work has these hidden friction points. Not every one of them needs a startup-sized product. Some of them need a small tool that does the job and gets out of the way.</p><h3><strong>What I learned from building it</strong></h3><p>The biggest lesson is that automation is most useful when it does not erase the human decision.</p><p>We do not want a mastering tool that pretends to know what my work should sound like.</p><p>We want a tool that helps me make a decision, apply it consistently, and understand the result.</p><p>That is the difference between automation as replacement and automation as documentation.</p><p><em>mastacraf</em> lives in the second category.</p><p>It helps me ask:</p><p>What did I start with?</p><p>What target did I choose?</p><p>What changed?</p><p>Can I repeat this later?</p><p>Does the result still sound like the piece?</p><p>Those are the questions I care about.</p><h3><strong>Final thought</strong></h3><p>Experimental music does not always need more complicated tools.</p><p>Sometimes it needs more transparent ones.</p><p><em>mastacraf</em> is my attempt to make audio mastering more visible, more repeatable, and more personal to the material being mastered.</p><p>It is not a black box.</p><p>It is a process you can read.</p><p><strong>**Project:**</strong> <a href="https://github.com/schwwaaa/mastacraf">https://github.com/schwwaaa/mastacraf</a><br><strong>**Docs:**</strong> <a href="https://schwwaaa.github.io/mastacraf/">https://schwwaaa.github.io/mastacraf/</a><br><strong>**Bandcamp:** </strong><a href="https://cskonopka.bandcamp.com/album/friend">https://cskonopka.bandcamp.com/album/friend</a></p><p>It is a process you can read.</p><p>Project: <a href="https://github.com/schwwaaa/mastacraf?utm_source=chatgpt.com">https://github.com/schwwaaa/mastacraf</a><br> Docs: <a href="https://schwwaaa.github.io/mastacraf/?utm_source=chatgpt.com">https://schwwaaa.github.io/mastacraf/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4828181cf93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Serverless M3U Playlist Builder for DIY Broadcasting]]></title>
            <link>https://schwwaaa.medium.com/build-a-no-server-m3u-playlist-builder-for-diy-broadcasting-978d195f106f?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/978d195f106f</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[open-broadcast-software]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Sun, 07 Jun 2026 00:28:40 GMT</pubDate>
            <atom:updated>2026-06-11T01:17:02.603Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ULPcKqxVG04FxUt0.png" /></figure><h3>The tiny file format that turns into a workflow problem</h3><p>An .m3u playlist is one of those formats that seems almost too simple to need a tool.</p><p>At its core, it is just a text file. A media player reads the file, follows the paths or URLs inside it, and plays the items in order. That is why it works well with tools like VLC and OBS. It is portable, human-readable, and easy to inspect.</p><p>But simple formats can still create messy workflows.</p><p>Once you start building a real programming block, the playlist stops being just a list of videos. It becomes a schedule. You may have local files, remote URLs, commercials, bumpers, intros, station IDs, interstitials, and longer pieces of content. You may also have collaborators who understand the programming but do not want to edit text files, fix file paths, or think about metadata syntax.</p><p>That was the problem behind <strong>Drop Zone Ops</strong>.</p><p>Drop Zone Ops is a client-side M3U playlist builder for DIY broadcasters. It runs in the browser, requires no server, and exports playlists that can be loaded into VLC or OBS.</p><p>Live project: <a href="https://schwwaaa.github.io/drop-zone-ops/">https://schwwaaa.github.io/drop-zone-ops/</a></p><p>Repo: <a href="https://github.com/schwwaaa/drop-zone-ops">https://github.com/schwwaaa/drop-zone-ops</a></p><p>The goal was not to build a full broadcast automation platform. The goal was smaller and more practical: make playlist assembly feel visual, understandable, and portable.</p><h3>Why I wanted this to be no-server</h3><p>A lot of software gets bigger than the problem it is trying to solve.</p><p>For this project, I wanted the opposite. I wanted something that could be opened, used, exported, and shared without setting up a backend, user accounts, database tables, authentication, or a hosted service.</p><p>That constraint mattered because the output is just a playlist file. The user does not need a platform. They need a clean .m3u file that works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/0*FIvLYkHCVJ86uxpv.png" /></figure><p>A no-server browser app gives the workflow a few advantages:</p><ul><li>It is easy to try.</li><li>It can run locally.</li><li>It does not require installation.</li><li>It does not need a command-line workflow.</li><li>It produces a file that can be inspected and archived.</li><li>It stays focused on the handoff to VLC or OBS.</li></ul><p>There are obvious limits. This is not a multi-user scheduler. It is not a broadcast traffic system. It is not meant to replace OBS.</p><p>It sits before those tools.</p><p>It helps create the playlist.</p><h3>The basic workflow</h3><p>The core workflow is intentionally simple:</p><ol><li>Open Drop Zone Ops in a browser.</li><li>Add local files or remote URLs.</li><li>Set a base path if the playlist needs local file paths.</li><li>Reorder items visually.</li><li>Tag media as content, commercials, bumpers, or interstitials.</li><li>Import structured data from CSV or JSON when needed.</li><li>Export a clean .m3u playlist.</li><li>Load the result into VLC or OBS.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mC7JlBQtIIfMW0f_.png" /></figure><p>This is the part that matters most to me: the interface makes the playlist understandable before export.</p><p>Instead of staring at text, the user can see the order of items, the role of each clip, and the structure of the block.</p><h3>Local paths and remote URLs are not the same thing</h3><p>One of the first workflow issues was path handling.</p><p>A playlist can include local files:</p><pre>/Users/yourname/Videos/show/episode-01.mp4</pre><p>or Windows paths:</p><pre>C:\Users\yourname\Videos\show\episode-01.mp4</pre><p>It can also include remote URLs:</p><pre>https://example.com/video/ad-spot.mp4</pre><p>Those should not be treated the same way.</p><p>If someone is building a playlist for a machine running OBS, local media often needs to resolve from that machine’s folder structure. Drop Zone Ops lets the user set a local base path so exported playlist entries can point to the correct media location.</p><p>Remote URLs, on the other hand, should pass through untouched. If the item is already an HTTP or HTTPS URL, the tool should not try to modify it.</p><p>That split makes the tool more useful in actual DIY broadcast situations, where a single playlist may contain both local prepared content and remote hosted media.</p><h3>Tags turn a playlist into a broadcast block</h3><p>A raw playlist answers one question:</p><blockquote><em>What plays next?</em></blockquote><p>A broadcast block usually needs to answer more than that.</p><p>It helps to know whether an item is main content, a commercial, a bumper, or a transition. Drop Zone Ops supports simple tags for that reason:</p><ul><li>content</li><li>commercial</li><li>bumper</li><li>interstitial</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/0*6ZDe7BOiinL6O1ak.png" /></figure><p>This is not a complicated feature, but it changes how the playlist feels. The list becomes easier to scan. The structure becomes easier to explain. The exported file still stays simple, but the preparation process becomes more organized.</p><p>For small broadcasts, that is often enough.</p><h3>Importing playlists from CSV and JSON</h3><p>Not every playlist starts with drag-and-drop.</p><p>Sometimes the schedule already exists in a spreadsheet. Sometimes another script generated the data. Sometimes a producer or collaborator already planned the block somewhere else.</p><p>So Drop Zone Ops supports CSV and JSON imports.</p><p>A CSV playlist can look like this:</p><pre>path,name,duration,tag,group<br>/Users/yourname/Videos/episode-01.mp4,Episode 01,22:30,content,block-1<br>https://example.com/ad.mp4,Sponsor Ad,0:30,commercial,ad-break-1</pre><p>The same idea can be represented in JSON:</p><pre>[<br>  {<br>    &quot;path&quot;: &quot;/Users/yourname/Videos/episode-01.mp4&quot;,<br>    &quot;name&quot;: &quot;Episode 01&quot;,<br>    &quot;duration&quot;: &quot;22:30&quot;,<br>    &quot;tag&quot;: &quot;content&quot;,<br>    &quot;group&quot;: &quot;block-1&quot;<br>  },<br>  {<br>    &quot;path&quot;: &quot;https://example.com/ad.mp4&quot;,<br>    &quot;name&quot;: &quot;Sponsor Ad&quot;,<br>    &quot;duration&quot;: &quot;0:30&quot;,<br>    &quot;tag&quot;: &quot;commercial&quot;,<br>    &quot;group&quot;: &quot;ad-break-1&quot;<br>  }<br>]</pre><p>This makes the tool useful as both a manual editor and a final formatting step after another planning process.</p><p>That is an important design pattern for small tools: they do not have to own the whole workflow. Sometimes they are most useful when they sit between existing pieces.</p><h3>Commercial injection without a full traffic system</h3><p>The most broadcast-specific feature is the commercial injection workflow.</p><p>Instead of manually placing every ad, bumper, and break, Drop Zone Ops can use a commercial library and a set of rules to generate a more structured playlist.</p><p>The basic idea is:</p><ol><li>Build or import the main content playlist.</li><li>Define a commercial library.</li><li>Choose when breaks should happen.</li><li>Choose how commercials should be selected.</li><li>Add optional bumpers before or after breaks.</li><li>Preview the merged playlist.</li><li>Inject the result into the main playlist.</li><li>Export the final .m3u.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G68WUlz0NfQGPmzc.png" /></figure><p>The selection modes are intentionally direct:</p><ul><li>random picks ads randomly from the library.</li><li>sequential cycles through ads in order.</li><li>specific uses exact clips from the template.</li></ul><p>This is not meant to be enterprise broadcast scheduling. It is a lightweight rule system for small programming blocks.</p><p>For example: after every two content items, insert two commercials and a return bumper.</p><p>That kind of repeatable structure can save a lot of manual playlist editing.</p><h3>The exported M3U is still plain text</h3><p>The final output is not magic. It is still an .m3u file.</p><p>A simplified version looks like this:</p><pre>#EXTM3U<br>#EXTINF:1350 group-title=&quot;block-1&quot; tvg-type=&quot;content&quot;,Episode 01<br>/Users/yourname/Videos/episode-01.mp4<br>#EXTINF:30 group-title=&quot;ad-break-1&quot; tvg-type=&quot;commercial&quot;,Sponsor Ad<br>https://example.com/ad.mp4<br>#EXTINF:8 group-title=&quot;ad-break-1&quot; tvg-type=&quot;bumper&quot;,Return Bumper<br>/Users/yourname/Videos/return-bumper.mp4</pre><p>The value of the tool is that the user does not have to maintain that format by hand.</p><p>They can focus on the programming: what plays, in what order, and what role each item serves. The tool handles the playlist formatting.</p><h3>Using the playlist in OBS or VLC</h3><p>Once the playlist is exported, it can be opened directly in VLC.</p><p>For OBS, the playlist can be loaded through a VLC Video Source. That makes Drop Zone Ops a preparation tool rather than a playback tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NHAePTmg_Cysno3d.png" /></figure><p>That separation is important.</p><p>OBS is already good at live production. VLC is already good at playback. Drop Zone Ops is focused on the step before that: building the playlist cleanly enough that the handoff is less fragile.</p><h3>The broader lesson: small tools still matter</h3><p>This project reminded me that not every useful tool needs to become a platform.</p><p>Some tools are valuable because they remove one annoying step from a larger process.</p><p>Drop Zone Ops exists because M3U playlists are simple, but the workflow around them can be messy. It gives that workflow a small visual interface, keeps the output portable, and avoids adding a server where one is not needed.</p><p>That is the kind of software I like: narrow, practical, and easy to explain.</p><p>It does one thing, then gets out of the way.</p><h3>Try it</h3><p>Live project: <a href="https://schwwaaa.github.io/drop-zone-ops/">https://schwwaaa.github.io/drop-zone-ops/</a></p><p>Repo: <a href="https://github.com/schwwaaa/drop-zone-ops">https://github.com/schwwaaa/drop-zone-ops</a></p><p>The README includes more detail on local base paths, file imports, CSV/JSON formats, commercial injection templates, and OBS/VLC usage.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=978d195f106f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Formation of an Idea]]></title>
            <link>https://schwwaaa.medium.com/formation-of-an-idea-c0776313dac0?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0776313dac0</guid>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[avalanche]]></category>
            <category><![CDATA[generative-art]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[emotions]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Thu, 22 Jun 2023 03:44:29 GMT</pubDate>
            <atom:updated>2025-07-09T15:37:33.414Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9ZKiBhzjB57oxsPnq8QcA.png" /></figure><p><em>Formation of an Idea</em> is an intimate collaboration with a computer by projecting emotions through a distilled phrase and visualizing the discussions complexity.</p><h3>Background</h3><p>I’m a software/hardware developer and a video artist that likes to create tech that doesn’t exist with the goal of empowering others. Like to create uncomfortable confusion that makes you question your understanding of even the most basic concepts. Often, to provoke questions, humans actively avoid or try to obfuscate, even reshape their memory to do so. It is important to question our own perspectives yet, humans try to overwrite a memory based on experiences forcefully. Emotions become multi-dimensional nodes, each with their own experience imprinted. They can connect to real-time experiences, amplifying scenarios based on the initial experience. Understanding how to address these chain reactions is an important skill that can help provide answers to thematic questions in life.</p><h3>TL;DR</h3><p>Collaborate with a computer on an intimate level by projecting emotions through a distilled phrase. Ideally receiving an emotionally complex graphical response that visualizes the complexity of our discussion.</p><h3>Statement</h3><p>Can an AI algorithm understand the emotional nuance of a sentence?</p><h3>Prompt</h3><p><em>Prompt: </em>“Formation of an Idea”</p><h3>Tools</h3><ul><li><a href="https://softology.pro/voc.htm">Visions of Chaos</a></li></ul><h3>Algorithm</h3><p>Deforum Stable Diffusion v0.3</p><h3>Intent</h3><ul><li>Deliberately removed “The” from the sentence, altering the search with incorrect grammar.</li><li>Majority of search results from known platforms are marketing content, therefore creating a bias towards that type of content.</li><li>Limit the creative resources by finding words that return images with an individual context, limiting creative resources.</li><li>Provide an abstract context that can be interpreted in a variety ways.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0776313dac0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making a GET request with Axios hosted on the Bitcoin blockchain]]></title>
            <link>https://schwwaaa.medium.com/making-a-get-request-with-axios-hosted-on-the-bitcoin-blockchain-5068f34b5b4e?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5068f34b5b4e</guid>
            <category><![CDATA[axios]]></category>
            <category><![CDATA[bitcoin-ordinals]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 21:27:46 GMT</pubDate>
            <atom:updated>2023-06-19T21:27:46.429Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*AUgYBoUuohbidh6p" /></figure><h3>Background</h3><p>I’m a software/hardware developer and a video artist that likes to create tech that doesn’t exist with the goal of empowering others. Doing my best to find tools that are available to everyone. I’ve Bitcoin Ordinal inscribed with the <a href="https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0">minified Axios version 1.4.0</a> library, making it available as a CDN on the Bitcoin blockchain. Here, I want to create a website that executes a HTTP GET request using the JavaScript library hosted on the Bitcoin blockchain.</p><h3>References</h3><ul><li><a href="https://github.com/vondas-network/btc-axios/tree/main">Github</a></li><li><a href="https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0">Axios Ordinal URL</a></li></ul><h3>Why does this matter?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/0*AKdunnpBHeHbLCZX.png" /><figcaption><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview">Mozilla — HTTP Overview</a></figcaption></figure><ul><li>HTTP is a <a href="https://developer.mozilla.org/en-US/docs/Glossary/Protocol">protocol</a> for fetching resources such as HTML documents &amp; media. It is the foundation of any data exchange on the Web and it is a client-server protocol, which means requests are initiated by the recipient, usually the Web browser. (<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview">Mozilla</a>)</li><li>HTTP was invented alongside HTML to create the first interactive, text-based web browser: the original World Wide Web. Today, the protocol remains one of the primary means of using the Internet. (<a href="https://www.extrahop.com/resources/protocols/http/">ExtraHop</a>)</li><li>Without HTTP (Hypertext Transfer Protocol), the World Wide Web as we know it today would not exist. HTTP is the protocol that enables the transfer of data over the internet, allowing users to access websites and other online resources. (<a href="https://www.freecodecamp.org/news/what-is-http/">freeCodeCamp</a>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*_aZEXetHNUQ_tXgq" /></figure><p>Ok, enough background, let’s cook.</p><h3><strong>Putting together a GET request</strong></h3><p>Start with a new HTML5 file.</p><pre>&lt;html&gt;<br><br>&lt;!-- empty --&gt;<br><br>&lt;/html&gt;</pre><p>Next, add the <em>head </em>element to the file.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    ...<br>  &lt;/head&gt;<br>&lt;/html&gt;</pre><p>Add the title of the example and add the route to the <em>axios </em>Bitcoin Ordinal NFT.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;My first Bitcoin HTTP/HTTPS request&lt;/title&gt;<br>    &lt;script src=&quot;https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0&quot;&gt;&lt;/script&gt;<br>  &lt;/head&gt;<br>&lt;/html&gt;</pre><p>Create a <em>body </em>tag below the <em>head </em>element.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;My first Bitcoin HTTP/HTTPS request&lt;/title&gt;<br>    &lt;script src=&quot;https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0&quot;&gt;&lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    ...<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>We want to trigger our GET request, let’s add a button. Don’t forget to check the browser inspector for the response data.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;My first Bitcoin HTTP/HTTPS request&lt;/title&gt;<br>    &lt;script src=&quot;https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0&quot;&gt;&lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;p&gt;Click to make GET request&lt;/p&gt;<br>    &lt;p&gt;Check browser inspector for data&lt;/p&gt;<br>    &lt;button id=&quot;myButton&quot;&gt;Click me!&lt;/button&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>Let’s add the JavaScript. A button listener waits for the user to press the button within the webpage or client.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;My first Bitcoin HTTP/HTTPS request&lt;/title&gt;<br>    &lt;script src=&quot;https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0&quot;&gt;&lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;p&gt;Click to make GET request&lt;/p&gt;<br>    &lt;p&gt;Check browser inspector for data&lt;/p&gt;<br>    &lt;button id=&quot;myButton&quot;&gt;Click me!&lt;/button&gt;<br>  &lt;/body&gt;<br>  &lt;script&gt;<br>      const button = document.getElementById(&#39;myButton&#39;);<br>      button.addEventListener(&#39;click&#39;, function(e) {<br>        ...<br>      });<br>  &lt;/script&gt;<br>&lt;/html&gt;</pre><p>That event will trigger the <em>axios.get </em>and the data response can be viewed using the browser’s inspector tool.</p><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;My first Bitcoin HTTP/HTTPS request&lt;/title&gt;<br>    &lt;script src=&quot;https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0&quot;&gt;&lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;p&gt;Click to make GET request&lt;/p&gt;<br>    &lt;p&gt;Check browser inspector for data&lt;/p&gt;<br>    &lt;button id=&quot;myButton&quot;&gt;Click me!&lt;/button&gt;<br>  &lt;/body&gt;<br>  &lt;script&gt;<br>      const button = document.getElementById(&#39;myButton&#39;);<br>      button.addEventListener(&#39;click&#39;, function(e) {<br>        axios.get(&#39;https://jsonplaceholder.typicode.com/posts/1&#39;)<br>            .then(function(response) {<br>                console.log(response.data);<br>            })<br>            .catch(function(error) {<br>                console.log(error);<br>            });<br>      });<br>  &lt;/script&gt;<br>&lt;/html&gt;</pre><p>It will look something like this …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KcHOQE1J7PW4tHj5Fxv9tA.png" /></figure><p>Done!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/0*eio3ijxtQypZToUJ" /><figcaption>breakfast is success</figcaption></figure><h3>Final thoughts</h3><p>This is the first time a HTTP/HTTPS protocol, such as Axios, to be inscribed onto the Bitcoin blockchain. You can access the Bitcoin version of Axios by calling the Ordinal <a href="https://ordinals.com/content/6b81993428a217a341ffd68f3b3aa3664b2cfc674d57aad0d3b6daa0f125b821i0">URL</a> using the <em>&lt;script&gt; </em>tag. It’s a transitional time for web protocols and this pushes the perception of what can be done with blockchain technology. It’s your turn, change the world.</p><h3>Developer Notes</h3><p><em>06/19/23: </em>I used a “button” example because of my observation of how websites were loading the <em>&lt;iframe&gt; </em>tag as a gallery in marketplaces. Each time a tag loaded, it was a new instance. So let’s say you made a webpage that executed a HTTP request at load time. This could overload your web browser and freeze it.</p><h3>FAQ</h3><p>Here is primer if you are unfamiliar with concepts mentioned above.</p><p><em>Bitcoin Ordinals:</em> The new <a href="https://github.com/casey/ord/blob/master/bip.mediawiki">Ordinals protocol</a> allows people who operate Bitcoin nodes to <em>inscribe</em> each sat with data, creating something called an Ordinal. That data inscribed on Bitcoin can include <a href="https://nftnow.com/guides/how-to-access-read-and-understand-ethereum-smart-contracts/">smart contracts</a>, which in turn enables NFTs. In rough terms, Ordinals are NFTs you can mint directly onto the Bitcoin blockchain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5068f34b5b4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inscribing a JavaScript file onto the Bitcoin blockchain with LooksOrdinal]]></title>
            <link>https://schwwaaa.medium.com/inscribing-a-javascript-file-onto-the-bitcoin-blockchain-with-looksordinal-1baf0e8f7d31?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1baf0e8f7d31</guid>
            <category><![CDATA[ordinals-nft]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Sun, 18 Jun 2023 17:31:37 GMT</pubDate>
            <atom:updated>2024-07-23T22:18:33.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*aJ95aQ9uUnzLYFwI" /></figure><h3>Background</h3><p>I’m a software/hardware developer and a video artist that likes to create tech that doesn’t exist with the goal of empowering others. In another <a href="https://medium.com/@gg.the.garbage.man.gg/inscribing-the-first-webgl-html5-bitcoin-ordinal-a70534af4da1">article</a>, I showed how to mint a 1:1 WebGL Bitcoin Ordinal. I wanted to extract part of it and create a reference for inscribing a <em>JavaScript file.</em></p><h3>Inscribing the a file</h3><p>Create a simple JavaScript file. The goal of the file is to print messages so I can verify the functionality of Bitcoin as a CDN for recursion projects. Save the file as <em>app.js.</em></p><pre>console.log(&quot;it&#39;s a test&quot;)<br>console.log(&quot;don&#39;t you know it&quot;)<br>console.log(&quot;that you may have wasted money&quot;)<br>console.log(&quot;but it&#39;s ok&quot;)<br>console.log(&quot;because you figured it out&quot;)</pre><p>Go to <a href="https://looksordinal.com/"><em>looksordinal</em></a>. It is a cost-effective site for self-custodial bulk inscriptions. The website looks like the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*WtdWGpsTVC1Qy47a.png" /></figure><p>Add your <em>Ordinal </em>address to the <em>Receiving Address </em>section. Don’t forget that your Ordinal address is different than your BTC recipient address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*JR85arZpfFOaYt0Y.png" /></figure><p>Choose the file you would like to inscribe. Here, the file is <em>app.js.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*ov1s_PuDK78N-5Ga.png" /></figure><p>Select the <em>freerate</em>. I’d suggest <em>Mid</em> because if you choose <em>Min,</em> you risk waiting a long time for the inscription to complete. Don’t forget to tip your dev!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*37ruAwfHsVFv9I7U.png" /></figure><p>Click <em>Estimate Fees </em>to see the cost of the inscription. Then the press the <em>inscribe </em>button<em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*4QRewbYF6pSlQKlx.png" /></figure><p>The page will transition to the payment process. Scan the QR code with your preferred Bitcoin app and send the payment to the address provided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*088ZxCOGHyV_1zWvuaTrmQ.png" /></figure><p>Once the payment is received, the inscription process begins. Click the transaction link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*3gHSr7BKrTE4fufS.png" /></figure><p>Track the progress of your inscription by using <a href="https://mempool.space/">mempool.space</a>. When it’s finished inscribing, check it out on <a href="https://www.ord.io/11577172">Ord.io</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*Np8NqoxqHirw2y0S3HKRPg.png" /></figure><p>Done!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*cQL_4MiNRPPm-iuP" /></figure><h3>Let’s connect!</h3><ul><li><a href="https://github.com/vondas-network/">Github</a></li></ul><h3>FAQ</h3><p>Here is primer if you are unfamiliar with concepts mentioned above.</p><p><em>Bitcoin Ordinals:</em> The new <a href="https://github.com/casey/ord/blob/master/bip.mediawiki">Ordinals protocol</a> allows people who operate Bitcoin nodes to <em>inscribe</em> each sat with data, creating something called an Ordinal. That data inscribed on Bitcoin can include <a href="https://nftnow.com/guides/how-to-access-read-and-understand-ethereum-smart-contracts/">smart contracts</a>, which in turn enables NFTs. In rough terms, Ordinals are NFTs you can mint directly onto the Bitcoin blockchain.</p><h3>References</h3><ul><li><a href="https://github.com/casey/ord/blob/master/bip.mediawiki">Ordinals protocol</a></li><li><a href="https://nftnow.com/guides/bitcoin-nfts-ordinals-inscriptions-explained-finding-buying-more/">Bitcoin NFTs? Ordinals Inscriptions Explained (Finding, Buying, &amp; More)</a></li><li><a href="https://www.bitstamp.net/learn/blockchain/what-are-bitcoin-ordinals/">What are Bitcoin Ordinals?</a></li><li><a href="https://www.xverse.app/">Xverse wallet</a></li><li><a href="https://thebitcoinmanual.com/articles/types-btc-public-keys/">What Are The Types Of Bitcoin Public Keys?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1baf0e8f7d31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inscribing the first 1:1 WebGL + HTML5 Bitcoin Ordinal]]></title>
            <link>https://schwwaaa.medium.com/inscribing-the-first-webgl-html5-bitcoin-ordinal-a70534af4da1?source=rss-9574a7c398eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a70534af4da1</guid>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[ordinals-nft]]></category>
            <category><![CDATA[visual-design]]></category>
            <category><![CDATA[webgl]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[schwwaaa]]></dc:creator>
            <pubDate>Thu, 15 Jun 2023 00:48:03 GMT</pubDate>
            <atom:updated>2024-07-29T21:11:57.139Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*-P9khEsSnn9BHZjNUgxlqg.png" /></figure><h3>Background</h3><p>I’m a software/hardware developer and a video artist that likes to create tech that doesn’t exist with the goal of empowering others. Doing my best to find tools that are available to everyone. I have two goals for this project. First, I want to create a single HTML5 website that renders WebGL <em>fragment shaders </em>without external libraries. Second, <em>inscribe </em>the project<em> </em>onto the Bitcoin blockchain as an Ordinal NFT.</p><ul><li><a href="https://github.com/cskonopka/WebGL-Ordinals/tree/main">Github</a> (individual inscription links here)</li><li><a href="https://magiceden.io/ordinals/marketplace/webglo">Magic Eden</a></li></ul><h3>Why is this important?</h3><ul><li>OpenGL allows for high-fidelity graphics by working directly with the GPU. WebGL is the web version of OpenGL. If you’ve used a computer in the past 30 years, you’ve experienced <a href="https://experiments.withgoogle.com/webgl-water-simulation">OpenGL graphics</a>. For example, <a href="https://en.wikipedia.org/wiki/Three.js">Three.js</a> is a user-friendly wrapper for WebGL.</li><li>Empower others to push the limits of graphical possibilities on the Bitcoin blockchain.</li><li>The size of a shader is small, which makes it great for inscribing. Technically, there is no size limitation to shaders that I know of.</li><li>No external dependencies. HTML5 + Javascript is all you need.</li><li>A HTML5 + WebGL website example inscription hasn’t happened yet.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/0*_WhA1C13CbK8W7cc" /></figure><h3>HTML5 Template</h3><p>To start, I needed a working example which demonstrated how to run a WebGL example within a HTML5 file. The key was finding one that loads a <em>fragment shader. </em>Luckily, I found a working an <a href="https://wolftype.github.io/200c/about/">example</a> from Pablo Colapinto that runs locally without any external dependencies. This example is pasted below.</p><pre>&lt;html&gt;<br>&lt;script type=&quot;text/javascript&quot;&gt;<br><br>var GL;<br>var shaderId;<br>var vertexBuffer;<br>var indexBuffer;<br>var timer = 0;<br><br>function initWebGL(){<br>    // Get Canvas Element<br>    var canvas = document.getElementById(&quot;glcanvas&quot;);<br>    // Get A WebGL Context<br>    GL = canvas.getContext(&quot;webgl&quot;) || canvas.getContext(&quot;experimental-webgl&quot;);<br>    // Test for Success<br>    if (!GL) {<br>      alert(&quot;Unable to initialize WebGL. Your browser may not support it.&quot;);<br>    }<br>    // Set clear color to red, fully opaque<br>    GL.clearColor(1.0, 0.0, 0.0, 1.0);<br>    // Clear Screen<br>    GL.clear(GL.COLOR_BUFFER_BIT| GL.DEPTH_BUFFER_BIT);<br><br>    initShaderProgram();<br>    initBuffers();<br>}<br><br>function initShaderProgram(){<br><br>    //Create Program and Shaders<br>    shaderId = GL.createProgram();<br>    var vertId = GL.createShader(GL.VERTEX_SHADER);<br>    var fragId = GL.createShader(GL.FRAGMENT_SHADER);<br><br>    //Load Shader Source (source text are in scripts below)<br>    var vert = document.getElementById(&quot;vertScript&quot;).text;<br>    var frag = document.getElementById(&quot;fragScript&quot;).text;<br><br>    GL.shaderSource(vertId, vert);<br>    GL.shaderSource(fragId, frag);<br><br>    //Compile Shaders<br>    GL.compileShader(vertId);<br>    GL.compileShader(fragId);<br><br>    //Check Vertex Shader Compile Status<br>    if (!GL.getShaderParameter(vertId, GL.COMPILE_STATUS)) {  <br>        alert(&quot;Vertex Shader Compiler Error: &quot; + GL.getShaderInfoLog(id));  <br>        GL.deleteShader(vertId);<br>        return null;  <br>    }<br><br>    //Check Fragment Shader Compile Status<br>    if (!GL.getShaderParameter(fragId, GL.COMPILE_STATUS)) {  <br>        alert(&quot;Fragment Shader Compiler Error: &quot; + GL.getShaderInfoLog(id));  <br>        GL.deleteShader(fragId);<br>        return null;  <br>    }<br><br>    //Attach and Link Shaders<br>    GL.attachShader(shaderId, vertId);<br>    GL.attachShader(shaderId, fragId);<br>    GL.linkProgram(shaderId);<br><br>    //Check Shader Program Link Status<br>    if (!GL.getProgramParameter(shaderId, GL.LINK_STATUS)) {<br>      alert(&quot;Shader Linking Error: &quot; + GL.getProgramInfoLog(shader));<br>    }     <br><br>}<br><br>function initBuffers(){<br><br>    //Some Vertex Data<br>    var vertices = new Float32Array( [<br>      -1.0, -1.0, 0.0,<br>      -1.0,  1.0, 0.0,<br>       1.0,  1.0, 0.0,<br>       1.0, -1.0, 0.0<br>    ]);<br>    //Create A Buffer<br>    vertexBuffer = GL.createBuffer();<br>    //Bind it to Array Buffer<br>    GL.bindBuffer(GL.ARRAY_BUFFER, vertexBuffer);<br>    //Allocate Space on GPU<br>    GL.bufferData(GL.ARRAY_BUFFER, vertices.byteLength, GL.STATIC_DRAW);<br>    //Copy Data Over, passing in offset<br>    GL.bufferSubData(GL.ARRAY_BUFFER, 0, vertices );<br><br>    //Some Index Data<br>    var indices = new Uint16Array([ 0,1,3,2 ]);<br>    //Create A Buffer<br>    indexBuffer = GL.createBuffer();<br>    //Bind it to Element Array Buffer<br>    GL.bindBuffer(GL.ELEMENT_ARRAY_BUFFER, indexBuffer);<br>    //Allocate Space on GPU<br>    GL.bufferData(GL.ELEMENT_ARRAY_BUFFER, indices.byteLength, GL.STATIC_DRAW);<br>    //Copy Data Over, passing in offset<br>    GL.bufferSubData(GL.ELEMENT_ARRAY_BUFFER, 0, indices );<br><br>}<br><br>//ANIMATION FUNCTION (to be passed a callback)  see also http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/<br>window.requestAnimFrame = ( function() {<br>   <br>    //Find best option given current browser<br>    return  window.requestAnimationFrame || <br>            window.webkitRequestAnimationFrame ||  <br>            window.mozRequestAnimationFrame || <br>            window.oRequestAnimationFrame || <br>            window.msRequestAnimationFrame ||<br>    <br>    // if none of the above, use non-native timeout method<br>    function(callback) {<br>      window.setTimeout(callback, 1000 / 60);<br>    };<br>  <br>  } ) (); <br><br>function animationLoop(){<br>    // feedback loop requests new frame<br>    requestAnimFrame( animationLoop );<br>    // render function is defined below<br>    render(); <br>}<br><br>function render(){<br>    timer+=.1;<br><br>    //Bind Shader<br>    GL.useProgram(shaderId);   <br>    //Update uniform variable on shader<br>    var uID = GL.getUniformLocation(shaderId, &quot;uTime&quot;);<br>    GL.uniform1f(uID, timer);<br>    //Enable Position Attribute<br>    var attId = GL.getAttribLocation(shaderId, &quot;position&quot;);<br>    GL.enableVertexAttribArray(attId);<br>    //Bind Vertex Buffer<br>    GL.bindBuffer(GL.ARRAY_BUFFER, vertexBuffer);<br>    ///Point to Attribute (loc, size, datatype, normalize, stride, offset)<br>    GL.vertexAttribPointer( attId, 3, GL.FLOAT, false, 0, 0);<br>    //Bind Index Buffer<br>    GL.bindBuffer(GL.ELEMENT_ARRAY_BUFFER, indexBuffer);<br>    //Draw!      --( mode, number_of_elements, data type, offset )<br>    GL.drawElements(GL.TRIANGLE_STRIP, 4, GL.UNSIGNED_SHORT, 0);<br>}<br><br>function start(){<br>    initWebGL();<br>    animationLoop();<br>}<br><br>&lt;/script&gt;<br><br>&lt;!-- VERTEX SHADER SOURCE --&gt;<br>&lt;script id=&quot;vertScript&quot; type=&quot;text/glsl&quot;&gt;<br><br>  #ifdef GL_ES<br>  precision lowp float;<br>  #endif<br><br>  attribute vec3 position; <br><br>  void main(void) {<br>    gl_Position = vec4(position,1.0);<br>  }<br><br>&lt;/script&gt;<br><br>&lt;!-- FRAGMENT SHADER SOURCE --&gt;<br><br>&lt;script id=&quot;fragScript&quot; type=&quot;text/glsl&quot;&gt;<br>&lt;!-- ADD GLSL SHADER CODE HERE --&gt;<br>  #ifdef GL_ES<br>  precision lowp float;<br>  #endif<br><br>  #define PI 3.14159265359<br><br>  uniform float uTime;<br><br>  void main(void) {<br><br>    //divide pixel location by canvas width and height<br>    //to get values are now between 0.0 and 1.0<br>    vec2 st = gl_FragCoord.xy/vec2(640,480);<br>    //some fun functions for picking colors<br>    float r = sin(uTime+8.*PI*st.x);<br>    float g = fract( sin(3.*PI*st.y) );   <br>    float b = sin(uTime+PI*st.x*st.y);<br>    vec3 color = vec3(r,b,g);<br>    gl_FragColor = vec4(color,1.0);<br>  }<br>&lt;/script&gt;<br><br>&lt;body onload = start() &gt;<br>&lt;canvas id=&quot;glcanvas&quot; width=640 height=480 style = &quot;margin:auto; display:block&quot;&gt; <br> Oops, browser has no &lt;code&gt; canvas &lt;/code&gt; tag support <br>&lt;/canvas&gt;<br>&lt;/body&gt;<br><br>&lt;/html&gt; </pre><p>I look for the <em>Fragment Shader</em> section and removed the code from inside the <em>&lt;script&gt; </em>tag. Below is what it should look like once you remove the code from the template.</p><pre>...<br>&lt;!-- FRAGMENT SHADER SOURCE --&gt;<br>&lt;script id=&quot;fragScript&quot; type=&quot;text/glsl&quot;&gt;<br>&lt;!-- ADD GLSL SHADER CODE HERE --&gt;<br>&lt;/script&gt;<br>...</pre><p>Then, I pasted my GLSL shader, or <em>Fragment Shader</em>, into the area where it says <em>Add GLSL Shader Code here.</em></p><pre>&lt;!-- FRAGMENT SHADER SOURCE --&gt;<br>&lt;script id=&quot;fragScript&quot; type=&quot;text/glsl&quot;&gt;<br>&lt;!-- ADD GLSL SHADER CODE HERE --&gt;<br>    #ifdef GL_ES<br>    precision mediump float;<br>    #endif<br>    <br>    #define PI 3.14159265359<br>    <br>    uniform vec2 uResolution;<br>    uniform vec2 uMouse;<br>    uniform float uTime;<br>    <br>    float plot(vec2 st, float pct){<br>      return  smoothstep( pct-0.02, pct, st.y) -<br>              smoothstep( pct, pct+0.02, st.y);<br>    }<br>    <br>    void main() {<br>        vec2 st = gl_FragCoord.xy/vec2(640,480);<br>        st -= 0.5; <br>        st *= 12.0;<br>        float pct2 = 0.0;<br>        pct2 = distance(st,vec2(0.5));<br>    <br>        float y3 = sin(cos((st.y)*(0.10)))-sin(st.x+st.y*02.2);<br>        float y = smoothstep(1.2-(sin(((y3)))*(cos(st.y/-9.2))),0.5,st.x) - smoothstep(0.5,0.1,(st.x*0.2))+(sin(st.x-(uTime*.0412)));<br>        float y2 = smoothstep(04.91,02.5,st.y+st.x) - smoothstep(0.481,0.918,st.y);<br>        vec3 colorA = vec3(y*y2)-(y3-(0.14))*(sin(st.x-(uTime*.02412)));<br>        colorA = (1.0)*colorA*vec3(.020+(sin(((y3+y)))+(cos(pct2*-0.2))),0.120,(0.10+(sin(y3))));<br>    <br>        float y4 = cos(cos((st.x)*(0.13)*sin(0.23)));<br>        float y5 = smoothstep(0.2,0.25,0.3) - smoothstep(0.25,0.31,(st.y*0.12));<br>        float y6 = smoothstep(0.9+(st.x*0.012),0.1915,st.y+cos(st.y)) - smoothstep(0.641,0.8191,(st.x+st.y)*0.2);<br>        vec3 colorB = vec3(y4+y5)-(y3*(0.913))*(sin(st.x+(uTime*.031592)));<br>        colorB = (1.0)*colorB*vec3(.920,0.95030,(0.20-y6))*(sin(st.y-(uTime*.032412)));<br>    <br>        vec2 bl = step(vec2(0.5),st);<br>        float pct = bl.x * bl.y;<br>        vec3 colorMix = vec3(0.0);<br>        colorMix = mix(colorA*0.432, colorB+0.3892, 0.983*(sin(((y6+y2)))*(cos(pct2/-2.2))));<br>    <br>        gl_FragColor = vec4(colorMix,1.0);<br>    }<br>&lt;/script&gt;</pre><p>Save the file as a new <em>index.html. </em>Check to see if the shader rasters correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5bwlsi6n0Pz912brWPGGA.png" /></figure><p>We’ve tested it locally, and it runs as expected. Code is <a href="https://gist.github.com/cskonopka/6f00d256ad42413ce6e3c28d8410aef0">here</a> if you are curious. It’s time to inscribe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*e-hfNozMvxhQ4Q3d" /></figure><h3>Inscribing the HTML file</h3><p>Go to <a href="https://looksordinal.com/"><em>looksordinal</em></a>. It is a cost-effective site for self-custodial bulk inscriptions. The website looks like the image below.</p><figure><img alt="looksordinal.com" src="https://cdn-images-1.medium.com/max/894/1*gLEiaEzNXRz4a_0imbQFYg.png" /></figure><p>Add your <em>Ordinal </em>address to the <em>Receiving Address </em>section. Don’t forget that your Ordinal address is different than your BTC recipient address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*FfQR-ZWPv9X8WK8ULjMulw.png" /></figure><p>Choose the file you would like to inscribe. Here, it’s <em>index.html.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*0Eg3VhdVsUUPo4FD4-NV3g.png" /></figure><p>Select the <em>freerate</em>. I’d suggest <em>Mid</em> because if you choose <em>Min,</em> you risk waiting a long time for the inscription to complete. Don’t forget to tip your dev!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*PrZAhiOAoThTGevLkH1kPg.png" /></figure><p>Click <em>Estimate Fees </em>to see the cost of the inscription. Then the press the <em>inscribe </em>button<em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*V0HFcKhZbPuYiPgV2XckNg.png" /></figure><p>The page will transition to the payment process. Scan the QR code with your preferred Bitcoin app and send the payment to the address provided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*088ZxCOGHyV_1zWvuaTrmQ.png" /></figure><p>Once the payment is received, the inscription process begins. Click the transaction link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CdJzyJaNmLAGjjVoNKor0Q.png" /></figure><p>Track the progress of your inscription by using <a href="https://mempool.space/">mempool.space</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P_Sa3nR0pu83TvjPHPj3dg.png" /></figure><p>When it’s finished inscribing, check it out on <a href="https://magiceden.io/ordinals/item-details/5518d36079b3cc854dba0bd6497ec078fbaa996ebd53e908150c845d6a56a463i0">Magic Eden</a> or <a href="https://gamma.io/ordinals/collections/webgl-ordinals">Gamma.io</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*NY9BEwhxqvumO8tY" /></figure><h3>Final thoughts</h3><p>This is the first time a WebGL compatible HTML5 webpage has been inscribed to the Bitcoin blockchain. It is a massive moment for decentralized graphics and pushes the perception of how a blockchain can be used. It’s your turn, change the world.</p><h3>FAQ</h3><p>Here is primer if you are unfamiliar with concepts mentioned above.</p><p><em>Bitcoin Ordinals:</em> The new <a href="https://github.com/casey/ord/blob/master/bip.mediawiki">Ordinals protocol</a> allows people who operate Bitcoin nodes to <em>inscribe</em> each sat with data, creating something called an Ordinal. That data inscribed on Bitcoin can include <a href="https://nftnow.com/guides/how-to-access-read-and-understand-ethereum-smart-contracts/">smart contracts</a>, which in turn enables NFTs. In rough terms, Ordinals are NFTs you can mint directly onto the Bitcoin blockchain.</p><p><em>WebGL:</em> WebGL is a JavaScript API for rendering interactive 2D and 3D graphics within any compatible web browser without the use of plug-ins. WebGL is fully integrated with other web standards, allowing GPU-accelerated usage of physics and image processing and effects as part of the web page canvas.</p><p><em>GLSL Shaders:</em> Shaders use GLSL (OpenGL Shading Language), a special OpenGL Shading Language with syntax similar to C. GLSL is executed directly by the graphics pipeline. There are several kinds of shaders, but two are commonly used to create graphics on the web: Vertex Shaders and Fragment (Pixel) Shaders. Applications using OpenGL include computer games, virtual reality, augmented reality, 3D animation, CAD and other visual simulations.</p><p><em>OpenGL: </em>OpenGL (Open Graphics Library) is a cross-language, multi-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.</p><h3>References</h3><ul><li><a href="https://github.com/casey/ord/blob/master/bip.mediawiki">Ordinals protocol</a></li><li><a href="https://nftnow.com/guides/bitcoin-nfts-ordinals-inscriptions-explained-finding-buying-more/">Bitcoin NFTs? Ordinals Inscriptions Explained (Finding, Buying, &amp; More)</a></li><li><a href="https://www.bitstamp.net/learn/blockchain/what-are-bitcoin-ordinals/">What are Bitcoin Ordinals?</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Games/Techniques/3D_on_the_web/GLSL_Shaders">GLSL Shaders</a></li><li><a href="https://en.wikipedia.org/wiki/OpenGL">OpenGL</a></li><li><a href="https://www.youtube.com/watch?v=f-9LEoYYvE4">What is WebGL?</a></li><li><a href="https://thebookofshaders.com/01/">What is a fragment shader?</a></li><li><a href="https://www.xverse.app/">Xverse wallet</a></li><li><a href="https://thebitcoinmanual.com/articles/types-btc-public-keys/">What Are The Types Of Bitcoin Public Keys?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a70534af4da1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>