garote: (Default)
[personal profile] garote
This morning in the shower I came up with this question for interviewing a web developer: "How many ways can you come up with, to draw a circle in a web browser?"

Here's my list:
  1. Declare a canvas element and draw a circle on it using JavaScript.
  2. Construct one artificially in HTML from scaled table segments.
  3. Use inline SVG code to describe a circle inside a div.
  4. Embed an object - Java, Flash, video, etc - and draw a circle using that.
  5. Print a unicode character of a circle, really really large.
  6. Reference an image of a circle, in HTML or in an associated stylesheet.
Any I missed?

Profile

garote: (Default)
garote

January 2026

S M T W T F S
    123
45678910
11121314151617
1819202122 2324
25 262728293031

Most Popular Tags

Page Summary

Page generated Feb. 5th, 2026 09:04 pm