This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (Html, Attribute) | |
import Html.Attributes | |
import Html.Events | |
import Signal exposing (Address) | |
import Json.Decode exposing (Decoder, (:=)) | |
import Time | |
import List |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (Html) | |
import Html.Attributes | |
import Html.Events | |
import Mouse | |
import Signal exposing (Signal, Address) | |
import StartApp | |
import Json.Decode exposing ((:=)) | |
import List |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (Html) | |
import Html.Attributes exposing (style) | |
import Color exposing (Color) | |
(=>) = (,) | |
toRgbaString color = | |
let {red, green, blue, alpha} = Color.toRgb color | |
in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (Html) | |
import Html.Attributes exposing (style) | |
import Color exposing (Color) | |
import Mouse | |
(=>) = (,) | |
toRgbaString color = | |
let {red, green, blue, alpha} = Color.toRgb color | |
in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html | |
import Html.Attributes exposing (style) | |
import Html.Events exposing (on) | |
import Signal exposing (mailbox) | |
import Json.Decode exposing (Decoder, (:=), int) | |
positionDecoder = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Signal exposing (Signal) | |
import Html exposing (Html) | |
import Time | |
import Random exposing (Generator) | |
import Json.Decode exposing (Decoder) | |
import Json.Encode exposing (Value) | |
type alias Encoder a = a -> Value | |
mock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Signal | |
import Time | |
import List | |
import Graphics.Element exposing (show) | |
import Graphics.Collage as Collage | |
import Color | |
import Random | |
initial = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (Html) | |
import Html.Events exposing (onClick) | |
import Signal exposing (Signal, Address, Mailbox) | |
import Json.Decode as Decode exposing (Decoder, (:=)) | |
import Json.Encode as Encode exposing (Value) | |
import List | |
-------------------------------------------- | |
-- Example : | |
initial = 0 |