jmn / haskmas

:christmas_tree: happy haskmas!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

haskmas

A haskell-themed tree decoration written in haskell. Happy Haskmas!

Build status Build status

Haskmas in 2D and 3D

(In online viewer in GitHub) Haskmas in 3D

Original Haskmass logo courtesty of Lyndon.

usage/installation

or

> stack build
> stack exec -- haskmas

Help

> stack exec -- haskmas --help
Haskmas generates the Haskmas logo of arbitrary size.

Usage: haskmas [-v|--version] [-n|--size N] [-c|--classic]

Available options:
  -h,--help                Show this help text
  -v,--version             Display the version.
  -n,--size N              The number of components of tree to generate.
  -c,--classic             Output the "classic" tree (size will be ignored).

At the moment this outputs haskmas.scad, which you can feed into OpenSCAD to get a rendering; from here you can export to STL.

I'm not using ImplicitCADs STL output because it's a bit inefficient at the moment.

  • Print on a 3D printer
  • Put it somewhere

Haskmas tree decoration

About

:christmas_tree: happy haskmas!

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%