Skip to content

Commit 22cf9f1

Browse files
committed
* tick allows for float/int start
1 parent a543edb commit 22cf9f1

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ Nodes that have been migrated:
138138

139139
[Migrated to Jovi_GLSL](https://github.com/Amorano/Jovi_GLSL)
140140

141+
**2025/08/12** @2.1.22:
142+
* tick allows for float/int start
143+
141144
**2025/08/03** @2.1.21:
142145
* fixed css for `DELAY` node
143146
* delay node timer extended to 150+ days

core/anim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def INPUT_TYPES(cls) -> InputType:
7272
d = deep_merge(d, {
7373
"optional": {
7474
# forces a MOD on CYCLE
75-
Lexicon.START: ("INT", {
75+
Lexicon.START: ("FLOAT", {
7676
"default": 0, "min": -sys.maxsize, "max": sys.maxsize
7777
}),
7878
# interval between frames
@@ -115,7 +115,7 @@ def run(self, **kw) -> tuple[float, ...]:
115115
- Normalized output 0..1, -1..1, L2 or ZScore
116116
"""
117117

118-
start = parse_param(kw, Lexicon.START, EnumConvertType.INT, 0)[0]
118+
start = parse_param(kw, Lexicon.START, EnumConvertType.FLOAT, 0)[0]
119119
step = parse_param(kw, Lexicon.STEP, EnumConvertType.FLOAT, 0)[0]
120120
count = parse_param(kw, Lexicon.COUNT, EnumConvertType.INT, 1, 1, 1500)[0]
121121
loop = parse_param(kw, Lexicon.LOOP, EnumConvertType.INT, 0, 0)[0]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "jovimetrix"
33
description = "Animation via tick. Parameter manipulation with wave generator. Unary and Binary math support. Value convert int/float/bool, VectorN and Image, Mask types. Shape mask generator. Stack images, do channel ops, split, merge and randomize arrays and batches. Load images & video from anywhere. Dynamic bus routing. Save output anywhere! Flatten, crop, transform; check colorblindness or linear interpolate values."
4-
version = "2.1.21"
4+
version = "2.1.22"
55
license = { file = "LICENSE" }
66
readme = "README.md"
77
authors = [{ name = "Alexander G. Morano", email = "amorano@gmail.com" }]

0 commit comments

Comments
 (0)