T
T
TANK_IST2017-08-10 11:19:26
JavaScript
TANK_IST, 2017-08-10 11:19:26

How to create such an image generator?

You need to create an image generator on canvas that will output something like this:
NQXGM.jpg
let's say there is a background and two types of stones. I will draw the shapes of the stones by hand.
How to create a generator so that the stones are of different sizes and so that they do not lie on top of each other?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
trushka, 2017-08-11
@trushka

Let the stones have a background stroke, then when applied, only a part of the stone from the previous layer will be visible, that is, it will look like it has a recess in which the stone overlapping it lay down. In addition, the stroke can be made uneven for greater realism.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question