ajhsu / blog

The external storage of my brain.
3 stars 0 forks source link

Canvas #98

Open ajhsu opened 2 years ago

ajhsu commented 2 years ago

Random notes

<canvas id="stockGraph" width="150" height="150">
  current stock price: $3.15 + 0.15
</canvas>

<canvas id="clock" width="150" height="150">
  <img src="images/clock.png" width="150" height="150" alt=""/>
</canvas>
ajhsu commented 2 years ago

(Probably) Two way to deal with blurry lines

  1. Shift for a half pixel to align the screen pixels.
  2. Upscale to 2x resolution (like Retina Display), but it will also make the line even thinner.