The LambdaDesigner package

[ Tags: bsd3, library, touchdesigner ] [ Propose Tags ]

TouchDesigner nodes written as functions in Haskell and sent to TouchDesigner as json.

[Skip to Readme]


Dependencies aeson, base (>=4.7 && <5), bytestring, bytestring-trie, containers (>=0.5), hosc, lens, lens-aeson, matrix, text, transformers (>=0.5), vector (>=0.11) [details]
License BSD3
Copyright 2017 Ulysses Popple
Author Ulysses Popple
Category TouchDesigner
Home page
Source repository head: git clone
Uploaded Tue Dec 5 23:39:07 UTC 2017 by ulyssesp
Distributions NixOS:
Downloads 162 total (98 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-12-05 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for LambdaDesigner-

[back to package description]


A type-safe EDSL for TouchDesigner written in Haskell. Instead of connecting nodes by hand, use the power of algebraic data types to program TouchDesigner projects in Haskell.

Getting Started


  • TouchDesigner ** With dictdiffer installed. You can pip install dictdiffer and then make sure TouchDesigner can see that module by following the TouchDesigner tutorial
  • Haskell (only tested with haskellstack)


Clone or download LambdaDesigner-sample.



This takes you through Main.hs. Note that you must be running LambdaDesigner.toe to see the results of running code. The first thing you need to do is grab a reference to the runner.

topRunner :: IO ( Tree TOP -> IO () )

main = do
  r <- topRunner

This will let us run a Tree TOP which will show up as an output connector on the lambda COMP in TouchDesigner. Lets see this happening by creating a movieFileIn top with the sample image.

main = do
  r <- topRunner
  r $ movieFileIn (bstr "app.samplesFolder+'/Map/Banana.tif'")

We have something we can run!

$ stack build
$ stack exec LamdaDesigner-sample-exe

Take a look at it running in TouchDesigner! To experiment with different node types check out the . Not every TouchDesigner node is represented yet, but the most common ones are there. If you'd