mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-04 18:55:44 +00:00
* Param refactor collected all the code that reached inside Param (InitCond, Per*Eqn, Expr, Parser) to read/write and stuffed it all back into Param.cpp made Param extend Expr to avoid any perf penalty (I actually think eval() is a tiny bit faster now) * presets/tests * ALWAYS_MATRIX is used with PER_POINT * use SSE2 to impove initialize_PerPixelMeshes() performance * TestRunner very, very simple test framework, but it's better than no framework (consider investigating adopting something) * ProgramExpr
21 lines
281 B
Plaintext
Executable File
21 lines
281 B
Plaintext
Executable File
[preset00]
|
|
per_frame_1000=// one per frame equation
|
|
per_frame_1001=// initialize user variable
|
|
|
|
fDecay=0.98
|
|
zoom=0
|
|
rot=0.0
|
|
warp=0.0
|
|
ob_size=0.2
|
|
ob_r=0.0
|
|
ob_b=0.0
|
|
ob_a=0.0
|
|
ib_size=0.1
|
|
ib_r=1.0
|
|
ib_g=0.0
|
|
ib_a=1.0
|
|
|
|
per_frame_init_1=SPEED=10;
|
|
|
|
per_frame_1=ib_r=0.7+0.4*sin(time*SPEED);
|