Skip to content

Instantly share code, notes, and snippets.

diff --git a/examples/crate.elm b/examples/crate.elm
index a94c4c1..756f8c5 100644
--- a/examples/crate.elm
+++ b/examples/crate.elm
@@ -53,8 +53,8 @@ main =
-- MESHES
-crate : Drawable { pos:Vec3, coord:Vec3 }
-crate =
@roovo
roovo / CanvasTexture.elm
Created April 11, 2017 16:07
elm: stuff wot I did to get text from canvas into webGL
module CanvasTexture exposing (canvasTexture)
-- imports are weird for Native modules
-- You import them as you would normal modules
-- but you can't alias them nor expose stuff from them
import Task exposing (Task)
import WebGL exposing (Error, Texture)
import Native.CanvasTexture
-- this will be our function which returns a number plus one
@roovo
roovo / gist:3ede89946b6a8203851a41cca9003ff7
Last active September 8, 2018 18:11
Verifying my Blockstack ID is secured with the address 1GS2wVjHQKE8YZKqMQL5A4N1xfdBksSR76 https://explorer.blockstack.org/address/1GS2wVjHQKE8YZKqMQL5A4N1xfdBksSR76
Verifying my Blockstack ID is secured with the address 1GS2wVjHQKE8YZKqMQL5A4N1xfdBksSR76 https://explorer.blockstack.org/address/1GS2wVjHQKE8YZKqMQL5A4N1xfdBksSR76
module InfiniteScroll
exposing
( Model
, Msg(..)
, init
, subscriptions
, timeout
, offset
, direction
, loadMoreCmd
module Main exposing (main)
import Browser
import Element exposing (Element)
import Html exposing (Html)
import Html.Attributes
main : Program () () msg
main =
module Page.Helper.Dropdown exposing (Dropdown, Msg(..), init, isDroppedDown, itemHasBeenClicked, update)
-- TYPES
type Dropdown
= Internal { show : Bool, itemClicked : Bool }
init : Dropdown