Y
Y
yury_borisov2015-11-24 13:58:48
Programming
yury_borisov, 2015-11-24 13:58:48

What's the algorithm?

Hello everyone, tell me what kind of algorithm is here
fdea35d35a264009a1f089b32fc55334.jpg
. I want to do something similar, only with one battery and not with several, and the wires are not only straight
. How is it better to randomly scatter the elements? and what is the best way to check, that is, if the wire goes from the battery to the light bulb, it burns otherwise, no, tell me

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Lander, 2015-11-24
@usdglander

Wave
upd: I think the query "Wave algorithm" in Google will give an impetus to thought.

A
Andrew, 2015-11-24
@OLS

flood routing?

D
dtestyk, 2015-11-24
@dtestyk

Alternatively, you can try filling with color on the canvas.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question