Assessment2021 09Medium: Difference between revisions

From ProgZoo
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<pre id='shellbody' data-qtp='canvas'></pre>
<pre id='shellbody' data-qtp='canvas' noscore=1></pre>


==Check Stripe==
==Check Stripe==

Revision as of 12:55, 14 September 2021




1) Check Stripe

  • 294 by 336

Input


Output

function drawFlag(ctx)
{
}  
function drawFlag(ctx)
{
}  

2) Stripes

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

Input


Output

function drawFlag(ctx)
{
}  
function drawFlag(ctx)
{
}  

3) Squares

  • 294 by 336
  • Squares are 50 by 50
  • Cross has thickness 6

Input


Output

function drawFlag(ctx)
{
}  
function drawFlag(ctx)
{
}  

4) Shield Border

  • 294 by 294

Input


Output

function drawFlag(ctx)
{
}  
function drawFlag(ctx)
{
}  
Served by: dill at 2025-06-24T08:22

Navigation menu