23 lines
605 B
Common Lisp
23 lines
605 B
Common Lisp
;; Standard Effects Bundle
|
|
;;
|
|
;; Loads commonly-used video effects.
|
|
;; Include after primitives are loaded.
|
|
;;
|
|
;; Effects provided:
|
|
;; - rotate: rotation by angle
|
|
;; - zoom: scale in/out
|
|
;; - blend: alpha blend two frames
|
|
;; - ripple: water ripple distortion
|
|
;; - invert: color inversion
|
|
;; - hue_shift: hue rotation
|
|
;;
|
|
;; Usage:
|
|
;; (include :path "../templates/standard-effects.sexp")
|
|
|
|
(effect rotate :name "fx-rotate")
|
|
(effect zoom :name "fx-zoom")
|
|
(effect blend :name "fx-blend")
|
|
(effect ripple :name "fx-ripple")
|
|
(effect invert :name "fx-invert")
|
|
(effect hue_shift :name "fx-hue-shift")
|