Skip to content

Commit

Permalink
## [1.0.23] - 2025-01-06
Browse files Browse the repository at this point in the history
+ FIX Dissolve expressions names
+ ADD disclaimer note to the json file
  • Loading branch information
CequinaVFX committed Jan 6, 2025
1 parent 636b63d commit bb9d7ed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

[comment]: <> (2024-12-10 : YEAR-MONTH-DAY)

## [1.0.23] - 2025-01-06
+ FIX Dissolve expressions names
+ ADD disclaimer note to the json file

## [1.0.22] - 2025-01-06
+ FIX Fade out Linear expression

Expand Down
2 changes: 1 addition & 1 deletion LabelCraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__contact__ = 'lucianocequinel@gmail.com'
__website__ = 'https://www.cequinavfx.com/'
__website_blog__ = 'https://www.cequinavfx.com/post/label-craft'
__version__ = '1.0.22'
__version__ = '1.0.23'
__release_date__ = 'January, 06 2025'
__license__ = 'MIT'

Expand Down
37 changes: 20 additions & 17 deletions LabelCraft_customizables.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"label_presets": {"tracker4": ["[value transform] : [value reference_frame]",
"[value reference_frame]",
"[value transform]",
"[value filter]"],
"[value reference_frame]",
"[value transform]",
"[value filter]"],
"read": ["[value colorspace]"],
"shuffle": ["[value in]",
"[value out]"],
Expand All @@ -17,17 +17,16 @@
"framehold": ["[value first_frame]"],
"log": ["[value operation]"],
"merge2": ["[value operation]",
"[value bbox]",
"[value mix]",
"[knob tile_color [ expr { [value disable] ? 4278190335 : 0 } ] ]"],
"[value bbox]",
"[value mix]",
"[knob tile_color [ expr { [value disable] ? 4278190335 : 0 } ] ]"],
"channelmerge": ["[value operation]",
"[value bbox]",
"[value mix]"],
"keymix": ["[value bbox]",
"[value mix]"],
"framerange": ["[value first_frame] - [value last_frame]"],
"blur": ["[value size]"],
"defocus": ["[value defocus]"],
"transform": ["[value translate]",
"[value rotate]",
"[value scale]",
Expand All @@ -48,6 +47,10 @@
"Saturation", "Shuffle", "Sphere", "Sparkles", "SpotLight", "Scene", "Switch",
"TimeClip", "Tracker", "Viewer", "Write"
],

"_note_1_": "I added a letter + space before the key value to easily control the order of the items in the context menu",
"_note_2_": "The tool will always remove the first 2 characters of the key value to get the actual name of the item",

"disable_expressions": {
"a disable on GUI" : "$gui",
"b enable on GUI" : "!$gui",
Expand All @@ -63,15 +66,15 @@
"f input 1 inbetween range": "inrange(frame, value_A, value_B)"
},

"dissolve": {" fade in linear": "clamp( ( frame - value_A ) / ( value_B - value_A) )",
" fade in ease in-out": "smoothstep( value_A, value_B, frame )",
" fade in ease in": "pow( clamp( ( frame - value_A ) / ( value_B - value_A ), 0, 1) , 2 )",
" fade in ease out": "sin( clamp( ( ( frame - ( value_A * 2 - value_B ) ) * pi ) / ( ( value_B - value_A ) * 2 ) - pi / 2,0, pi / 2) )",
" fade out linear" : "clamp(1 - ((frame - value_A) / (value_B - value_A)), 0, 1)",
" fade out ease in-out" : "clamp(0.5 + 0.5 * cos((clamp((frame - value_A) / (value_B - value_A), 0, 1)) * 3.14159265), 0, 1)",
" fade out ease in" : "pow(clamp(1 - ((frame - value_A) / (value_B - value_A)), 0, 1), 2)",
" fade out ease out" : "sqrt(clamp(1 - ((frame - value_A) / (value_B - value_A)), 0, 1))",
" smooth 0-1 .. 1-0": "smoothstep(value_A, value_B, frame) * (1 - smoothstep(value_C, value_D, frame))",
" linear 0-1 .. 1-0": "clamp((frame - value_A) / (value_B - value_A), 0, 1) * clamp((value_D - frame) / (value_D - value_C), 0, 1)"
"dissolve": {"a fade in linear": "clamp( ( frame - value_A ) / ( value_B - value_A) )",
"b fade in ease in-out": "smoothstep( value_A, value_B, frame )",
"c fade in ease in": "pow( clamp( ( frame - value_A ) / ( value_B - value_A ), 0, 1) , 2 )",
"d fade in ease out": "sin( clamp( ( ( frame - ( value_A * 2 - value_B ) ) * pi ) / ( ( value_B - value_A ) * 2 ) - pi / 2,0, pi / 2) )",
"e fade out linear" : "clamp(1 - ((frame - value_A) / (value_B - value_A)), 0, 1)",
"f fade out ease in-out" : "clamp(0.5 + 0.5 * cos((clamp((frame - value_A) / (value_B - value_A), 0, 1)) * 3.14159265), 0, 1)",
"g fade out ease out" : "pow(clamp(1 - ((frame - value_A) / (value_B - value_A)), 0, 1), 2)",
"h fade out ease in" : "sqrt(clamp(1 - ((frame - value_A) / (value_B - value_A)), 0, 1))",
"i smooth 0-1 .. 1-0": "smoothstep(value_A, value_B, frame) * (1 - smoothstep(value_C, value_D, frame))",
"j linear 0-1 .. 1-0": "clamp((frame - value_A) / (value_B - value_A), 0, 1) * clamp((value_D - frame) / (value_D - value_C), 0, 1)"
}
}}

0 comments on commit bb9d7ed

Please sign in to comment.