Assessment2021 09Medium

From ProgZoo
Jump to navigation Jump to search



1) Check Stripe

  • 294 by 336

Input


Output

function drawFlag(ctx)
{
}  

2) Stripes

  • 102 by 300
  • 7 stripes
  • 2 pixel white border
  • each stripe is 28 pixels

Input


Output

function drawFlag(ctx)
{
}  

3) Squares

  • 100 by 300
  • Squares are 50 by 50
  • Cross has thickness 6

Input


Output

function drawFlag(ctx)
{
}  

4) Shield Border

  • 294 by 294

Input


Output

function drawFlag(ctx)
{
}