Skip to content

Instantly share code, notes, and snippets.

View CSchank's full-sized avatar
💭
Icon courtesy of Icograms.com

Christopher William Schankula CSchank

💭
Icon courtesy of Icograms.com
View GitHub Profile
@CSchank
CSchank / Hearts.elm
Last active May 19, 2020 14:45
Many different hearts in Elm, using functions!!
myShapes model = [
{-
This code is for a picture of a playing card.
The card is a 6 of hearts.
-}
text "Example 1" |> centered |> filled black |> move(0,55)
, heart red orange |> move (0, 40)
, heart yellow blue |> move (20,40)
, heart green pink |> move (40,40)
, heart purple red |> move (60,40)
@CSchank
CSchank / Blank.elm
Last active January 28, 2024 21:40
-- Copy to macoutreach.rocks animation slot
myShapes model =
[
myFunction 5 -- replace 5 with different number for different depth
]
myFunction n =
if n <= 0 then
group []