Pivots points – Multiple crossing = faded color

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #219784 quote
    Inertia
    Participant
    Master

    Hello all !

    Just a quick one… Is there a code that would fade the color of all pivots point each time they are crossed?

    Example: Like for the PPW – first cross on Monday morning 0905am, still deep black and on Friday 1630, after a series of crossing, it would appear light grey?

    THANK YOU

    #219786 quote
    JS
    Participant
    Senior

    Hi,

    To make a color fade you can change the “alpha”, the “alpha” controls the transparency of a color…

    For example:

    Once Alpha=255

    If … Crosses Over … then

    Alpha = Alpha – 50

    EndIf

    Return PPW Coloured(0,0,0,Alpha)

    (“Coloured(0,0,0,Alpha)=Black”)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pivots points – Multiple crossing = faded color


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Inertia @inertia Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JS
2 years, 5 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/25/2023
Status: Active
Attachments: No files
Logo Logo
Loading...