<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Html5 on Marcello Barnaba</title>
    <link>https://sindro.me/tags/html5/</link>
    <description>Recent content in Html5 on Marcello Barnaba</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 09 Aug 2009 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sindro.me/tags/html5/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Canvas Speedometer: an HTML5 gauge in a Flash world</title>
      <link>https://sindro.me/posts/2009-08-09-canvas-speedometer/</link>
      <pubDate>Sun, 09 Aug 2009 00:00:00 +0000</pubDate>
      <guid>https://sindro.me/posts/2009-08-09-canvas-speedometer/</guid>
      <description>&lt;div class=&#34;retrospective&#34;&gt;&#xA;  &lt;span class=&#34;retrospective-icon&#34;&gt;&amp;#x1f50d;&lt;/span&gt;&#xA;  &lt;div class=&#34;retrospective-body&#34;&gt;&#xA;    &lt;em&gt;2026 retrospective&lt;/em&gt;&lt;br&gt;&#xA;    HTML5 Canvas won. Flash was officially killed by Adobe in December 2020. This little speedometer still renders perfectly in every modern browser — but nobody hand-rolls gauge widgets anymore. D3.js, Chart.js, or even pure CSS can do this with a fraction of the effort. Still, 52 stars and 17 forks on GitHub — not bad for a weekend project from 2009. And my friend who wrote the original? He was basically Claude before Claude was a thing — shipping production code at machine speed while the rest of us were still reading the docs.&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; element is the new shiny thing. Safari and Firefox support it, Chrome just shipped, and Internet Explorer&amp;hellip; well, let&amp;rsquo;s not talk about Internet Explorer. Flash is how you do anything graphical on the web. A friend of mine — one of the most brilliant engineers I know, the kind of person who implements a filesystem overnight and a kernel in a week — shares with me a speedometer gauge widget he wrote as public domain code. It&amp;rsquo;s cool, but a bit crude. So I take it, refactor the whole thing into proper object-oriented JavaScript, add theming support, work around Firefox&amp;rsquo;s quirks, and write documentation.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
