do you know what approach he used to create his live html editor?
However, what I'd like is exactly that, except something that allows you to edit .html/.css/.png files and see the results live inside the C++ program. Basically, I want to see how one could create an offline version of http://dabblet.com/ in C++.
Additionally, I want to experiment with making some AI that generates html and learns from what it's doing by "seeing" the results. I need something to convert html code to rendered pixel colours.
So that's what I want to do in my C++ project.
Goal: Convert input to output
Input: HTML5 page+relevant files (in my program's memory)
Output: an X*Y array of pixel colour values (in my program's memory) of what the webpage "looks" like
What are some recommendations on how I could get it done?
(I remember 10 years ago in the Visual Basic days, you had a way of adding an "Internet Explorer frame" object to your application, which would act as an in-app browser frame. You could adjust its parameters, like the page URL. If I could have something like that, except hidden, and just get the result of the rendering into memory, that'd be awesome.)