-
The standard wisdom on making shapes with holes in them using HTML canvas seems to be to draw the outer shape in one direction, then to draw the inner shape in the other direction. Once both shapes h…
-
I have created a module which provides on-demand access to `requestAnimationFrame()` timing. It is similar to the `Tick` functionality included in elm-effects, but includes a significant optimization.…
-
I was pondering how to add tests for `Collage`, and came up with the idea of using [node-canvas](https://github.com/Automattic/node-canvas) to render a data-url and comparing it to a known url.
This …
-
## The big picture of what I'm trying to do
Hi! As shown in the gif below, I'd like to have a "grayed out overlay" effect over several elements of the layout (and making them disabled). I a…
-
When looking at simple examples like
http://elm-lang.org/edit/examples/Reactive/TextField.elm
The main source of mystery mights come from the lifting operators (
-
One of our major objectives is to create a curriculum and complete set of training materials derived from the process of building new sites for our program. We'd like to provide hands on training in a…
-
Given:
``` elm
type alias Named a = { a | name : String }
withName : a -> Named a
withName a = { a | name = "isovector" }
```
the compiler responds
```
The type annotation for `withName` does not …
-
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D.arc
Currently, circles are rendered as a 50-gon, which is (just barely) perceptibly pointy.
-
This is based on @Apanatshka's [comment on the Optional Commas proposal](https://github.com/elm-lang/elm-compiler/issues/978#issuecomment-118437011). It essentially says that commas in Elm should work…
-
Hi,
I'm trying to write an Elm program that reads the current time and then sends the current time in a Http request.
I'm a bit confused on how to do this, since `Time.every Time.second` is a `Signal…