You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose or discuss the possibility of adding an extension interface to Mithril.js. The goal is to allow Mithril's auto-redraw system to drive arbitrary game development frameworks like Three.js or Pixi.js.
Ideally, I want to define objects within a canvas just like standard Mithril components: m("sprite", { ...frameworkProps })
These objects should be updated/rendered into the canvas automatically when Mithril's redraw cycle triggers. This would effectively give Mithril capabilities similar to "SVG + JS" but for WebGL contexts, allowing for a fully declarative approach to scene graph management.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose or discuss the possibility of adding an extension interface to Mithril.js. The goal is to allow Mithril's auto-redraw system to drive arbitrary game development frameworks like Three.js or Pixi.js.
Ideally, I want to define objects within a canvas just like standard Mithril components: m("sprite", { ...frameworkProps })
These objects should be updated/rendered into the canvas automatically when Mithril's redraw cycle triggers. This would effectively give Mithril capabilities similar to "SVG + JS" but for WebGL contexts, allowing for a fully declarative approach to scene graph management.
Beta Was this translation helpful? Give feedback.
All reactions