Comments (3)
from elm-canvas.
Yay, that seems to work great.
1: Thank you!
2: thanks for being so polite despite my completely borking that being described right in the front page of the docs. 😅
3: I wonder how Ellie makes it work then? Did you make a deal with the Ellie folks to get your component script into the output or something? :B
4: Since you mention "Elm’s choices regarding interoperability", does using this strategy with the web component lead to Elm functions having side effects? EG: do the canvas commands in your module communicate with the outside world (including the canvas) only through a watershed of return values that terminate at TEA (and maybe web component takes over during TEA's watch which would be ideal), and do we maintain the guarantee that every call to a function in your module with input set X always produces an identical output set Y?
from elm-canvas.
3: I wonder how Ellie makes it work then? Did you make a deal with the Ellie folks to get your component script into the output or something? :B
Ellie has a pane for the HTML of the page, in which I set up the web component script in the example from the docs.
4: Since you mention "Elm’s choices regarding interoperability", does using this strategy with the web component lead to Elm functions having side effects? EG: do the canvas commands in your module communicate with the outside world (including the canvas) only through a watershed of return values that terminate at TEA (and maybe web component takes over during TEA's watch which would be ideal), and do we maintain the guarantee that every call to a function in your module with input set X always produces an identical output set Y?
This library behaves exactly like the HTML one, so when running the functions there is no implicit side effects, until the HTML gets handled by the Elm runtime 👍
from elm-canvas.
Related Issues (20)
- Improve transform docs
- Improve arc docs
- Document the canvas coordinate system
- Add making textures from DOM images HOT 1
- Canvases get blank on deleting one of them from a List HOT 2
- DOM images textures break in Firefox HOT 6
- High CPU load with many canvases HOT 7
- Sampling Canvas Data (getImageData) HOT 3
- Text Color Support HOT 1
- Use `Result` rather than `Maybe` for texture loading HOT 1
- Use elm-geometry types? HOT 1
- Support for "groups" or similar batching of settings to multiple `Renderable` HOT 4
- Runtime crash with `arc` function and negative radius
- Regression: text without fill or stroke is rendered with both fill and stroke
- Not working HOT 3
- Unexpected scene HOT 1
- Question about filter HOT 1
- Please support `roundRect` HOT 2
- Margin bug: canvas and elm-canvas don't share the same height HOT 4
- closePath operation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elm-canvas.