davedawkins / fable.react.drawingcanvas Goto Github PK
View Code? Open in Web Editor NEWA Fable React wrapper for the HTML canvas element that makes it easy to create drawings and graphics
A Fable React wrapper for the HTML canvas element that makes it easy to create drawings and graphics
This means a breaking change.
See README.md for API coverage.
Compare with https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D to classification of the API members.
This issue can be closed when all API members are support that are:
This just gets me to focus on a solid core for the next milestone.
Getter methods are possibly going to need Bind() to implemented.
open Fable.React.DrawingCanvas
open Fable.React.DrawingCanvas.Builder
div [] [
drawingcanvas {
Redraw = Drawing (drawing {
resize 400.00 400.0
translate 200.0 200.0
lineWidth 6.0
beginPath
arc 0.0 0.0 195.0 0.0 (2.0 * Math.PI) false
stroke
} // The closing parenthesis should be here
Props = [ ]
}) // instead of here
]
Hi @davedawkins, awesome stuff you got here ๐ I was wondering if you have plans on publishing a nuget package from it, that would be nice so that people could start playing with it more ๐
U3<_>
is usually used internally in the library code when you cannot overload functions (which you actually can). It would be great if it was hidden away from the public API, for example the public usage here:
strokeStyle (U3.Case1 "#440000")
would simply become
strokeStyle "#440000"
CE methods can now take overloads, so it should be possible
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.