programmable image borders?

NOTE, I think that if you come up with a feature you should get automatic access to it, it would be the creators idea so they should get access to it regardless of their payment status, the idea would would be their intellectual property anyway.

idea :

create your own image frame that updates dynamically using a locked down and secure method of code (like markdown but for a colored line that wraps around an image)

  • calling color%COLOR more than once will split the gradient evenly with each portion having its own color respectively

  • calling splittype%hard or splittype%soft or splittype%max at beginning will determine how the edges of each section are displayed

    • max : the center of each section has the most of its color and anything else fades to the center of next item

    • soft : similar to max but fading starts and ends 15px from the edges of each section

    • hard : no fading, hard borders

  • calling edgetype%hard or edgetype%soft will control whether a transparent fading effect appears on the outer edge of the image frame

  • splittype can be called mid-run to change the fading effect

  • edgetype can only be called once (before any other commands)

logic: (everything returns a true or false value)

if(condition[inputs]{trueaction}{falseaction}

if usr_40476 is online then set color to #ff0000 (red) otherwise set color to #00ff00 (green)

if(user%online[usr_40476]){color%#ff0000;}{color%#00ff00;}

if usr_40476 posted today,yesterday, and 2d (past 2 days)

if(user%posted[0d,usr_40476]){color%#ff0000;}{color%#00ff00;}
if(user%posted[1d,usr_40476]){color%#ff0000;}{color%#00ff00;}
if(user%posted[2d,usr_40476]){color%#ff0000;}{color%#00ff00;}

$random either returns TRUE OR FALSE

Sample

edgetype%soft
color%#f0ffee
if(user%posted[0d,usr_40476]){color%#ff00ff;}{color%#0effe0;}
if(user%posted[1d,usr_40476]){color%#ffffff;}{color%#ff0000;}
if(user%online[usr_40476]){color%#ffffff;}{color%#ff0000;}
if(user%online[herm0]){color%#feef00;}{color%#ff0000;}
if(random){color%#eeeeee;}{color%#dddddd;}

also, consider migrating to gitlab and starting a self hosted server, it is open-source / source-available



recent edits : spelling fixes

Please authenticate to join the conversation.

Upvoters
Status

Awaiting Dev Review

Board

πŸ’‘ Feature Request

Date

Almost 2 years ago

Author

u40476

Subscribe to post

Get notified by email when there are changes.