Using HTML, SVG, and JavaScript to approximate a Juneteenth Flag

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • In this video we look at an HTML page with an empty SVG (scalable vector graphics) element that is populated using JavaScript. The blue region is simply a SVG rect (rectangle). The curved portion of the red region was made with a Bezier cubic path element. The remainder of the red region is another rect element. The "nova" or "new star" was a polygon element with 24 vertices and no fill. The five-pointed star was a polygon element with 10 vertices and a white fill. The data was an SVG text element that was transformed -- rotated -90 degrees and translated to the middle right side of the flag.

Комментарии • 1

  • @thomasblum9803
    @thomasblum9803  2 месяца назад

    www1.lasalle.edu/~blum/c343wks/JuneTeenthFlag.html