Microsoft MakeCode

Custom images on Makecode

Hi, I was just fiddling around MakeCode and yeah,
I was wondering how to create custom images on Makecode.

Just making a pixel or a square or a circle whenever I want to in the screen would help me.

After that, I can create anything I want to.

I’ve been looking and reading documentation but I can’t find a way to make it work, so…
Any suggestions?

On EV3?

Yeah, on EV3!

Something like this?

let im = image.create(screen.width, screen.height)
im.drawRect(0, 0, 20, 20, 1)
brick.showImage(im)