G
G
GineTik2021-08-03 15:12:31
JavaScript
GineTik, 2021-08-03 15:12:31

Arrange rhombuses in the right coordinates, focusing on virtual coordinates?

I have a collection of diamonds that have coordinates like {x: 0, y: 0} or {x: 3, y: -2} and so on.

The dimensions (diagonals) of the rhombus are 130 by 84.

here is an example of what I want
610932165f521269286706.png
(rhombuses should be adjacent to each other, I drew it this way for convenience) I

tried for several days but it didn’t work out
, I would be grateful for any answer!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-08-03
@GineTik

This is called isometry. You can watch these videos:

  • Isometric - part 1
  • Isometric - part 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question