Crates.io | turbine_reactive |
lib.rs | turbine_reactive |
version | 0.1.0 |
source | src |
created_at | 2017-10-19 21:47:46.290891 |
updated_at | 2017-10-19 21:47:46.290891 |
description | Design, Animate and Program Geometry |
homepage | https://github.com/PistonDevelopers/turbine |
repository | https://github.com/PistonDevelopers/turbine.git |
max_upload_size | |
id | 36246 |
size | 144,808 |
With other words: It is a type safe, dynamic, functional reactive library with homotopy maps.
This library uses ideas researched by Sven Nilsen of using homotopy maps to construct geometry. Control points flags and ragdoll engine is based on Cutout Pro's Elemento.
This libray is intended for design, animating and programming geometry.
Function reactive programming is more fun when dynamic. This means the user can modify the behavior at runtime.
The use of homotopy maps is a promising technique for constructing geometry. A homotopy map is a continuous function that maps from N-dimension normalized coordinates to some M-dimensional space. See https://github.com/pistondevelopers/construct for more information.
The problem with dynamic frameworks for functional reactive programming is that there often is a tradeoff with making it nice to use at compile time. For example, when getting a reference to a spline, it is easy to accidentally use it with another type, e.g. a surface.
By separating memory by function types, it is possible to make the API type safe in Rust.
All data is stored in memory by their function type. This means one function can reference another function using an index, while keeping type safety at compile time.
Objects are created by combining functions.