These are chat archives for e2d/e2d

Jul 2017
Alex Nault
Jul 23 2017 16:52

@jtenner Alright! What I would really love to see with e2d, is the use of the React philosophy, where it makes a diff from the previous state/props and re-renders only the parts that change.

Lets say you ask e2d to draw 3 circles. Next cycle, you ask it to draw 4 circles. Now e2d would only draw the new circle considering the 3 others are exactly the same as before. Maybe that would be possible using some cache system (offscreen canvas which would the equivalent of shadow DOM for React)?

This would close the canvas' gap from imperative to declarative :)