emoon / rocket

GNU Rocket Git mirror

Home Page:rocket.sf.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CurveEditor

emoon opened this issue · comments

Like this (but for tracks)

curve_editor

That would be awesome!

Yeah it's just a ton of work to implement it but it's something I want to do :)

It might be quite complicated from UI perspective, but at least first iteration might be using just equations.

What I am thinking is that by selecting start and end position, and after that typing something along lines "sin(time) + cos(time / 2)". That would populate keys between start and end with results of equation.

The way I see it it has to use the existing curve types. While it would be possible to use expressions they would have be generated as individual points then (and in run-time just interpolate between them) so I think starting with the existing types is better.

What ever is the way to implement, I think this is great feature. I might be willing to help, is that is needed.

I started doing some work here https://github.com/emoon/rocket/tree/curve-editor but it's far far from complete. The largest works is to build the editor. Something I haven't done is to look around for a free "curve editor" written in C/C++ that can be rewritten to work with this tool. It might give a bit of head start to not implement everything from scratch