Hasklee is a library for creating interactive 3D objects / scenes.
Its creations are brought to life trough external 3D engines. Currently only Unity is supported via hasklee-unity package.
Hasklee features:
- some pretty naive mesh construction facilities
- simple animation
- power of Csound via csound-expression library
- interactive behavior with some built-in or custom components
- Lua scripting
- nested prefabs
Some videos.
Hasklee is a proof of concept toy and it cannot be easily integrated with existing projects / different workflows.
That said, I’m currently attempting to make a ‘game’ with it.
- Please use Stack
- Git clone into a new directory
- Get stack.yaml from https://github.com/grav2ity/hasklee-stack.git Uncomment hasklee-examples if present
-
Please refer to the examples
-
Scenes in Hasklee are constructed inside
NScenemonad asNScene r ()
or
NScene r (Object r)
with r being
FloatorDouble -
use
binIOto convertNSceneintoBuilderor directly write to file withwriteScene
- Intro
- Objects
- Object Modifiers
- Interactive behaviour
- Prefabs and instances
- Mesh
- Lua scripting
- Transforms
- Scenes
- Attributes
- Components
- Sound
- Subdivision
- Shapes and Solids
- Pipes
- Randomizing
- Animation