Simple "fill and empty" material
  • timbrass
    activ8 member
    Posts: 57
    Joined: Mon Mar 01, 2021 9:01 pm
    Contact:

    Simple "fill and empty" material

    by timbrass » Tue Aug 15, 2023 10:46 pm

    I am looking for a simple "fill and empty" material (see attachment) that just fills a solid colour from bottom to top and back to the bottom. The speed with which it fills and empties as well as the colour should be controllable. I am sure it is simple to code, but I am not a programmer and I couldn't get Bing Chat to write it for me! I tried to modify the "Line Anim" and "Fill" materials which were the closest I could find, but couldn't get either to do what I want.

    The scenario is a set of LED strings that I want to appear to fill and empty with a coloured light. i.e. the bottom LEDs should almost always be on and the topmost ones rarely on. I would then drive the colour and speed with MM controls on a set of such LED strings.
  • timbrass
    activ8 member
    Posts: 57
    Joined: Mon Mar 01, 2021 9:01 pm
    Contact:

    Re: Simple "fill and empty" material

    by timbrass » Fri Aug 18, 2023 4:16 pm

    So I have worked out how to do it (its now in the public library as "Swipe left right"). I will use this with WS2811 Pixel strings and drive the variable "Swipe" from Audio/Oscillator or an Arduino Potentiometer knob. Obviously you can make it go up/down by rotating the quad!

Who is online

Users browsing this forum: No registered users and 7 guests