We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Tween Through Colors

Tween through a set of colors.

Inputs

NameIDDescriptionType
ColorsClSet of colors to tween throughColour
FactorFTween factor (0.0 = Color at Cl start, 1.0 = Color at Cl end), unless Normalized is FalseNumber
NormalizedNIf False, the rules for factor are (0.0 = Color at index 0, Index number of last color = Color at last index) The tween factor range from one color to the next color in the list is: Index number of a color = the color at that index, Index number of the next color = the next color in the list, factors between the color index numbers will be the corresponding tweens. For instance: A tween factor of 2.5 will result in a tween color halfway between the color at index 2 and the color at index 3.Boolean
EqualizedEIf True, tween distribution is evaluated along the tween path without considering the locations of the input color setBoolean
WeightedWIf True, tween distribution is weighted by the input color set and the tween path curvatureBoolean
LoopbackLIf True, allow the tween path to continue from the end back to the start as a closed loop (if Normalized is False, increase the tween factor range maximum by 1)Boolean
DegreeDCurvature degree of the tween path, degree should be a positive odd numberInteger
Interpolation TypeIDetermines how the tween path is interpolated 0 = Linear 1 = Chord 2 = Square Root 3 = UniformInteger
AlphaaInclude the transparencies (alpha values) of the colors in the tweeningBoolean

Outputs

NameIDDescriptionType
TweenTResulting tween colorColour

Video Tutorials

Site design © Robin Rodricks.   Pufferfish and associated data © 2024 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service