;; Bloom effect - glow around bright areas ;; Usage: python3 plan.py effects/bloom.sexp -p intensity=0.6 -p radius=20 | python3 execute.py - -d . -o output.mp4 ;; ;; Parameters: ;; intensity: bloom strength (0.0 to 2.0, default: 0.6) ;; radius: bloom spread in pixels (5 to 50, default: 20) (recipe "bloom" :version "1.0" :encoding (:codec "libx264" :crf 20 :preset "medium" :audio-codec "aac" :fps 30) (effect bloom :path "sexp_effects/effects/bloom.sexp") ;; Default parameters (overridden by -p intensity=N -p radius=N) (def intensity 0.6) (def radius 20) (def video (source :path "monday.webm")) (def clip (-> video (segment :start 0 :duration 10))) (def result (-> clip (effect bloom :intensity intensity :radius radius))) result)