Hacker News new | ask | show | jobs
by saadshamim 2148 days ago
out of technical curiosity, how do you render the video? is the whole thing like a canvas element?
1 comments

Combination of several rendering techniques.

The idea is as long as you have all the information the user wants in in each layer. Then you can do a lot of things with this understanding.

The major pieces of information you need to collect while working on a 2D plane are these.

- The x,y coords - The width and height - A path to the asset - additional properties like colors and opacity

From having this critical information stored nicely means you can email it to a graphic designer and have them decode it and follow the "map".

You can send it to a client side process and have it interpret the information.

You can send it to a server and have it interpret the information.

You can do a one shot kill and build a system that pieces them together using one approach.

You can send each layer to a different process. You can create a specialized technique for each layer type.

The key is collecting the information. The actual rendering can be done in many ways. FFMPEG, canvas, screen shots, send it to a human lol. Using OS commands, etc.

"send it to a human" lol that made me chuckle!

Thanks for explaining this in detail, Michael! Really great work here!

Haha it's all about communication. Glad you got a chuckle.