K
K
Kirill Gorelov2018-03-13 15:05:12
PHP
Kirill Gorelov, 2018-03-13 15:05:12

Room constructor in we?

Guys, such a question. There is an Erisman wallpaper site on its page there is a room designer where you can change the wallpaper. And the wallpaper changes in different planes and independently of each other.
We need to do it in the likeness of the same, but we don’t know how it’s better and how it’s more correct.
Because there the image is generated on a third-party server, and not on the client side. And not with canvas.
If anyone knows how to do this or already have some ready-made developments, tell me, please?
The tags specifically indicated just such, because these are more privileged technologies.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2018-03-13
@sfi0zy

I would suggest (as an option) to do the following:
1. Make the walls normal divs, rotate them in the right direction using CSS transformations.
2. Items, everything that does not change - into a picture with a transparent background. Put a layer on top of the "walls".
3. "Wallpaper" is a background-image, you just need to figure out how to choose the size depending on the pictures you will use.
4*. If you want to save it later as a picture - you can google html-to-canvas, it's not difficult to save png.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question