Diamond of rectangles in javascript with for loops

后端 未结 0 405
一生所求
一生所求 2021-01-18 06:32

I want to make grid of rectangles in diamond shape in javascript with for loops on canvas.I have done it in python out of stars:

#prints top triangle
for i in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题