Answer the question
In order to leave comments, you need to log in
Are there sites with ready-made snippets and plugins for web development?
I am looking for a database of ready-made elements or scripts for performing certain effects on the site, for example, as on the site:
https://pcvector.net/
Please tell me similar valuable resources from which you can decide on the name of different effects, with their execution in demo mode and the code of these effects or modules.
Answer the question
In order to leave comments, you need to log in
nxt = [((0, 0, 0),)]
while nxt:
cur, nxt = nxt, []
for path in cur:
x, y, z = path[-1]
targets = [(a, b, c) for a, b, c in ((x + 3, y, z + 2),
(x, y + 3, z + 1),
(x + 1, y + 2, z))
if a * a + b * b + c * c < 125]
if targets:
for abc in targets:
nxt.append(path + (abc,))
else:
print(*[(u - a, v - b, w - c) for (a, b, c), (u, v, w)
in zip(path, path[1:])])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question