Berry animation remove unused solification directives (#24303)
This commit is contained in:
parent
a9e75e7840
commit
b6b88cd612
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:beacon,weak
|
|
||||||
class beacon : animation.animation
|
class beacon : animation.animation
|
||||||
# NO instance variables for parameters - they are handled by the virtual parameter system
|
# NO instance variables for parameters - they are handled by the virtual parameter system
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:breathe,weak
|
|
||||||
class breathe : animation.animation
|
class breathe : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var breathe_provider # Internal breathe color provider
|
var breathe_provider # Internal breathe color provider
|
||||||
|
|||||||
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:comet,weak
|
|
||||||
class comet : animation.animation
|
class comet : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var head_position # Current position of the comet head (in 1/256th pixels for smooth movement)
|
var head_position # Current position of the comet head (in 1/256th pixels for smooth movement)
|
||||||
|
|||||||
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:crenel,weak
|
|
||||||
class crenel : animation.animation
|
class crenel : animation.animation
|
||||||
# NO instance variables for parameters - they are handled by the virtual parameter system
|
# NO instance variables for parameters - they are handled by the virtual parameter system
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:fire,weak
|
|
||||||
class fire : animation.animation
|
class fire : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var heat_map # bytes() buffer storing heat values for each pixel (0-255)
|
var heat_map # bytes() buffer storing heat values for each pixel (0-255)
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:gradient,weak
|
|
||||||
class gradient : animation.beacon
|
class gradient : animation.beacon
|
||||||
# Parameter definitions - gradient-specific parameters
|
# Parameter definitions - gradient-specific parameters
|
||||||
static var PARAMS = animation.enc_params({
|
static var PARAMS = animation.enc_params({
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
# Gradient pattern animation - creates shifting gradient patterns
|
# Gradient pattern animation - creates shifting gradient patterns
|
||||||
#@ solidify:palette_gradient
|
|
||||||
class palette_gradient : animation.animation
|
class palette_gradient : animation.animation
|
||||||
var value_buffer # Buffer to store values for each pixel (bytes object)
|
var value_buffer # Buffer to store values for each pixel (bytes object)
|
||||||
var _spatial_period # Cached spatial_period for static pattern optimization
|
var _spatial_period # Cached spatial_period for static pattern optimization
|
||||||
|
|||||||
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:palette_meter,weak
|
|
||||||
class palette_meter : animation.palette_gradient
|
class palette_meter : animation.palette_gradient
|
||||||
# Instance variables for peak tracking
|
# Instance variables for peak tracking
|
||||||
var peak_level # Current peak level (0-255)
|
var peak_level # Current peak level (0-255)
|
||||||
|
|||||||
@ -2,8 +2,6 @@
|
|||||||
# This file contains predefined color palettes for use with animations
|
# This file contains predefined color palettes for use with animations
|
||||||
# All palettes are in VRGB format: Value, Red, Green, Blue
|
# All palettes are in VRGB format: Value, Red, Green, Blue
|
||||||
|
|
||||||
#@ solidify:animation_palettes,weak
|
|
||||||
|
|
||||||
# Define common palette constants (in VRGB format: Value, Red, Green, Blue)
|
# Define common palette constants (in VRGB format: Value, Red, Green, Blue)
|
||||||
# These palettes are compatible with the rich_palette_color
|
# These palettes are compatible with the rich_palette_color
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:rich_palette,weak
|
|
||||||
class rich_palette : animation.animation
|
class rich_palette : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var color_provider # Internal rich_palette_color instance
|
var color_provider # Internal rich_palette_color instance
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:twinkle,weak
|
|
||||||
class twinkle : animation.animation
|
class twinkle : animation.animation
|
||||||
# NO instance variables for parameters - they are handled by the virtual parameter system
|
# NO instance variables for parameters - they are handled by the virtual parameter system
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:wave,weak
|
|
||||||
class wave : animation.animation
|
class wave : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var current_colors # Array of current colors for each pixel
|
var current_colors # Array of current colors for each pixel
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:BounceAnimation,weak
|
|
||||||
class BounceAnimation : animation.animation
|
class BounceAnimation : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var current_position # Current position in 1/256th pixels
|
var current_position # Current position in 1/256th pixels
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:JitterAnimation,weak
|
|
||||||
class JitterAnimation : animation.animation
|
class JitterAnimation : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var random_seed # Seed for random number generation
|
var random_seed # Seed for random number generation
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:PlasmaAnimation,weak
|
|
||||||
class PlasmaAnimation : animation.animation
|
class PlasmaAnimation : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var current_colors # Array of current colors for each pixel
|
var current_colors # Array of current colors for each pixel
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:ScaleAnimation,weak
|
|
||||||
class ScaleAnimation : animation.animation
|
class ScaleAnimation : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var scale_phase # Current phase for animated scaling
|
var scale_phase # Current phase for animated scaling
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:ShiftAnimation,weak
|
|
||||||
class ShiftAnimation : animation.animation
|
class ShiftAnimation : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var current_offset # Current shift offset in 1/256th pixels
|
var current_offset # Current shift offset in 1/256th pixels
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:SparkleAnimation,weak
|
|
||||||
class SparkleAnimation : animation.animation
|
class SparkleAnimation : animation.animation
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var current_colors # Array of current colors for each pixel
|
var current_colors # Array of current colors for each pixel
|
||||||
|
|||||||
@ -57,7 +57,6 @@ class EventHandler
|
|||||||
# end
|
# end
|
||||||
end
|
end
|
||||||
|
|
||||||
#@ solidify:EventManager,weak
|
|
||||||
class EventManager
|
class EventManager
|
||||||
var handlers # Map of event_name -> list of handlers
|
var handlers # Map of event_name -> list of handlers
|
||||||
var global_handlers # Handlers that respond to all events
|
var global_handlers # Handlers that respond to all events
|
||||||
|
|||||||
@ -10,7 +10,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param *args: number - Values to compare
|
# @param *args: number - Values to compare
|
||||||
# @return number - Minimum value
|
# @return number - Minimum value
|
||||||
#@ solidify:min,weak
|
|
||||||
static def min(*args)
|
static def min(*args)
|
||||||
import math
|
import math
|
||||||
return call(math.min, args)
|
return call(math.min, args)
|
||||||
@ -20,7 +19,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param *args: number - Values to compare
|
# @param *args: number - Values to compare
|
||||||
# @return number - Maximum value
|
# @return number - Maximum value
|
||||||
#@ solidify:max,weak
|
|
||||||
static def max(*args)
|
static def max(*args)
|
||||||
import math
|
import math
|
||||||
return call(math.max, args)
|
return call(math.max, args)
|
||||||
@ -30,7 +28,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param x: number - Input value
|
# @param x: number - Input value
|
||||||
# @return number - Absolute value
|
# @return number - Absolute value
|
||||||
#@ solidify:abs,weak
|
|
||||||
static def abs(x)
|
static def abs(x)
|
||||||
import math
|
import math
|
||||||
return math.abs(x)
|
return math.abs(x)
|
||||||
@ -40,7 +37,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param x: number - Input value
|
# @param x: number - Input value
|
||||||
# @return int - Rounded value
|
# @return int - Rounded value
|
||||||
#@ solidify:round,weak
|
|
||||||
static def round(x)
|
static def round(x)
|
||||||
import math
|
import math
|
||||||
return int(math.round(x))
|
return int(math.round(x))
|
||||||
@ -51,7 +47,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param x: number - Input value
|
# @param x: number - Input value
|
||||||
# @return number - Square root
|
# @return number - Square root
|
||||||
#@ solidify:sqrt,weak
|
|
||||||
static def sqrt(x)
|
static def sqrt(x)
|
||||||
import math
|
import math
|
||||||
# If x is an integer in 0-255 range, scale to 0-1 for sqrt, then back
|
# If x is an integer in 0-255 range, scale to 0-1 for sqrt, then back
|
||||||
@ -71,7 +66,6 @@ class AnimationMath
|
|||||||
# @param to_min: number - Target range minimum
|
# @param to_min: number - Target range minimum
|
||||||
# @param to_max: number - Target range maximum
|
# @param to_max: number - Target range maximum
|
||||||
# @return int - Scaled value
|
# @return int - Scaled value
|
||||||
#@ solidify:scale,weak
|
|
||||||
static def scale(v, from_min, from_max, to_min, to_max)
|
static def scale(v, from_min, from_max, to_min, to_max)
|
||||||
return tasmota.scale_int(v, from_min, from_max, to_min, to_max)
|
return tasmota.scale_int(v, from_min, from_max, to_min, to_max)
|
||||||
end
|
end
|
||||||
@ -82,7 +76,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param angle: number - Angle in 0-255 range (0-360 degrees)
|
# @param angle: number - Angle in 0-255 range (0-360 degrees)
|
||||||
# @return int - Sine value in -255 to 255 range
|
# @return int - Sine value in -255 to 255 range
|
||||||
#@ solidify:sin,weak
|
|
||||||
static def sin(angle)
|
static def sin(angle)
|
||||||
# Map angle from 0-255 to 0-32767 (tasmota.sine_int input range)
|
# Map angle from 0-255 to 0-32767 (tasmota.sine_int input range)
|
||||||
var tasmota_angle = tasmota.scale_int(angle, 0, 255, 0, 32767)
|
var tasmota_angle = tasmota.scale_int(angle, 0, 255, 0, 32767)
|
||||||
@ -101,7 +94,6 @@ class AnimationMath
|
|||||||
#
|
#
|
||||||
# @param angle: number - Angle in 0-255 range (0-360 degrees)
|
# @param angle: number - Angle in 0-255 range (0-360 degrees)
|
||||||
# @return int - Cosine value in -255 to 255 range
|
# @return int - Cosine value in -255 to 255 range
|
||||||
#@ solidify:cos,weak
|
|
||||||
static def cos(angle)
|
static def cos(angle)
|
||||||
# Map angle from 0-255 to 0-32767 (tasmota.sine_int input range)
|
# Map angle from 0-255 to 0-32767 (tasmota.sine_int input range)
|
||||||
var tasmota_angle = tasmota.scale_int(angle, 0, 255, 0, 32767)
|
var tasmota_angle = tasmota.scale_int(angle, 0, 255, 0, 32767)
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
import "dsl/token.be" as token_module
|
import "dsl/token.be" as token_module
|
||||||
var Token = token_module["Token"]
|
var Token = token_module["Token"]
|
||||||
|
|
||||||
#@ solidify:Lexer,weak
|
|
||||||
class Lexer
|
class Lexer
|
||||||
var source # String - DSL source code
|
var source # String - DSL source code
|
||||||
var position # Integer - current character position
|
var position # Integer - current character position
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
# Enhanced symbol caching and management for the Animation DSL
|
# Enhanced symbol caching and management for the Animation DSL
|
||||||
|
|
||||||
# Symbol table entry class for enhanced symbol caching
|
# Symbol table entry class for enhanced symbol caching
|
||||||
#@ solidify:SymbolEntry,weak
|
|
||||||
class SymbolEntry
|
class SymbolEntry
|
||||||
# Type constants
|
# Type constants
|
||||||
static var TYPE_PALETTE_CONSTANT = 1
|
static var TYPE_PALETTE_CONSTANT = 1
|
||||||
@ -318,7 +317,6 @@ class MockEngine
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Enhanced symbol table class for holistic symbol management and caching
|
# Enhanced symbol table class for holistic symbol management and caching
|
||||||
#@ solidify:SymbolTable,weak
|
|
||||||
class SymbolTable
|
class SymbolTable
|
||||||
var entries # Map of name -> SymbolEntry
|
var entries # Map of name -> SymbolEntry
|
||||||
var mock_engine # MockEngine for validation
|
var mock_engine # MockEngine for validation
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
# Token Types and Token Class for Animation DSL
|
# Token Types and Token Class for Animation DSL
|
||||||
# Defines all token types and the Token class with line/column tracking
|
# Defines all token types and the Token class with line/column tracking
|
||||||
|
|
||||||
#@ solidify:Token,weak
|
|
||||||
class Token
|
class Token
|
||||||
# Basic token types
|
# Basic token types
|
||||||
# static var KEYWORD = 0 # strip, color, animation, sequence, etc.
|
# static var KEYWORD = 0 # strip, color, animation, sequence, etc.
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
# Single-pass transpiler with minimal complexity
|
# Single-pass transpiler with minimal complexity
|
||||||
# Leverages Berry's runtime for symbol resolution
|
# Leverages Berry's runtime for symbol resolution
|
||||||
|
|
||||||
#@ solidify:SimpleDSLTranspiler,weak
|
|
||||||
class SimpleDSLTranspiler
|
class SimpleDSLTranspiler
|
||||||
var pull_lexer # Pull lexer instance
|
var pull_lexer # Pull lexer instance
|
||||||
var output # Generated Berry code lines
|
var output # Generated Berry code lines
|
||||||
@ -28,7 +27,6 @@ class SimpleDSLTranspiler
|
|||||||
static var CONTEXT_COLOR_PROVIDER = 11
|
static var CONTEXT_COLOR_PROVIDER = 11
|
||||||
|
|
||||||
# Helper class to track expression metadata for closure detection
|
# Helper class to track expression metadata for closure detection
|
||||||
#@ solidify:ExpressionResult,weak
|
|
||||||
static class ExpressionResult
|
static class ExpressionResult
|
||||||
var expr # The expression string
|
var expr # The expression string
|
||||||
var has_dynamic # Boolean: true if contains dynamic content that may change over time, hence needs to wrap into a closure
|
var has_dynamic # Boolean: true if contains dynamic content that may change over time, hence needs to wrap into a closure
|
||||||
|
|||||||
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:breathe_color,weak
|
|
||||||
class breathe_color : animation.oscillator_value
|
class breathe_color : animation.oscillator_value
|
||||||
# Additional parameter definitions for color-specific functionality
|
# Additional parameter definitions for color-specific functionality
|
||||||
# The oscillator parameters (min_value, max_value, duration, form, etc.) are inherited
|
# The oscillator parameters (min_value, max_value, duration, form, etc.) are inherited
|
||||||
|
|||||||
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:closure_value,weak
|
|
||||||
class closure_value : animation.value_provider
|
class closure_value : animation.value_provider
|
||||||
var _closure # We keep the closure as instance variable for faster dereferencing, in addition to PARAMS
|
var _closure # We keep the closure as instance variable for faster dereferencing, in addition to PARAMS
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:color_cycle,weak
|
|
||||||
class color_cycle : animation.color_provider
|
class color_cycle : animation.color_provider
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var current_index # Current color index for next functionality
|
var current_index # Current color index for next functionality
|
||||||
|
|||||||
@ -12,7 +12,6 @@
|
|||||||
# - Constructor takes only 'engine' parameter
|
# - Constructor takes only 'engine' parameter
|
||||||
# - All other parameters set via virtual member assignment after creation
|
# - All other parameters set via virtual member assignment after creation
|
||||||
|
|
||||||
#@ solidify:color_provider,weak
|
|
||||||
class color_provider : animation.value_provider
|
class color_provider : animation.value_provider
|
||||||
# LUT (Lookup Table) management for color providers
|
# LUT (Lookup Table) management for color providers
|
||||||
# Subclasses can use this to cache pre-computed colors for performance
|
# Subclasses can use this to cache pre-computed colors for performance
|
||||||
|
|||||||
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:iteration_number,weak
|
|
||||||
class iteration_number : animation.value_provider
|
class iteration_number : animation.value_provider
|
||||||
# Produce the current iteration number from the animation engine
|
# Produce the current iteration number from the animation engine
|
||||||
#
|
#
|
||||||
|
|||||||
@ -23,7 +23,6 @@ var EASE_OUT = 7
|
|||||||
var ELASTIC = 8
|
var ELASTIC = 8
|
||||||
var BOUNCE = 9
|
var BOUNCE = 9
|
||||||
|
|
||||||
#@ solidify:oscillator_value,weak
|
|
||||||
class oscillator_value : animation.value_provider
|
class oscillator_value : animation.value_provider
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var value # current calculated value
|
var value # current calculated value
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:rich_palette_color,weak
|
|
||||||
class rich_palette_color : animation.color_provider
|
class rich_palette_color : animation.color_provider
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var _slots_arr # Constructed array of timestamp slots, based on period
|
var _slots_arr # Constructed array of timestamp slots, based on period
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:static_color,weak
|
|
||||||
class static_color : animation.color_provider
|
class static_color : animation.color_provider
|
||||||
# Parameter definitions
|
# Parameter definitions
|
||||||
static var PARAMS = animation.enc_params({
|
static var PARAMS = animation.enc_params({
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:static_value,weak
|
|
||||||
class static_value : animation.value_provider
|
class static_value : animation.value_provider
|
||||||
# Parameter definitions
|
# Parameter definitions
|
||||||
static var PARAMS = animation.enc_params({
|
static var PARAMS = animation.enc_params({
|
||||||
|
|||||||
@ -11,7 +11,6 @@
|
|||||||
# - Constructor takes only 'engine' parameter
|
# - Constructor takes only 'engine' parameter
|
||||||
# - No additional parameters needed since strip length is obtained from engine
|
# - No additional parameters needed since strip length is obtained from engine
|
||||||
|
|
||||||
#@ solidify:strip_length,weak
|
|
||||||
class strip_length : animation.value_provider
|
class strip_length : animation.value_provider
|
||||||
# Produce the strip length value
|
# Produce the strip length value
|
||||||
#
|
#
|
||||||
|
|||||||
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:value_provider,weak
|
|
||||||
class value_provider : animation.parameterized_object
|
class value_provider : animation.parameterized_object
|
||||||
|
|
||||||
# Produce a value for a specific parameter name and time
|
# Produce a value for a specific parameter name and time
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
import "./core/param_encoder" as encode_constraints
|
import "./core/param_encoder" as encode_constraints
|
||||||
|
|
||||||
#@ solidify:CompositeColorProvider,weak
|
|
||||||
class CompositeColorProvider : animation.color_provider
|
class CompositeColorProvider : animation.color_provider
|
||||||
# Non-parameter instance variables only
|
# Non-parameter instance variables only
|
||||||
var providers # List of color providers
|
var providers # List of color providers
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user