[REQUEST] Expression node

FlowCanvas Forums Support [REQUEST] Expression node

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1012
    immortalx
    Participant

    First of all congratulations for creating this wonderful plugin! There’s simply no comparison between FlowCanvas and other visual-scripting systems. It’s by far the most easier to grasp, but at the same time powerful enough.

    Do you think it would be a good idea to add a general “Expression” node, which one could dynamically add values and operators, to combine several math operations?
    Think a situation like: “$a + $b > $c AND $d !=0”

    #1013
    Gavalakis
    Keymaster

    Hello,

    Thanks a lot! I am very glad you like FlowCanvas and for your positive feedback! 🙂

    Yes, I think that is a great idea and something I’ve looked after in the past, but never implemented in the end.
    I will take another look at this after the new version is released and hopefully implement it this time!

    Thanks again!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2757
    elvisish
    Participant

    +1 it would be super handy to be able to calculate something like float * magic_bool ? 0.5 : 0 without having wire up additional nodes.

    #2759
    Gavalakis
    Keymaster

    Hello,

    There is an unreleased (also undocumented) expression node made locally. If you want to give it a go, I have attached it for you here. The node is based on a free (MIT license) library called StagPointEval, which is also included in the attached package (and which library is great as well for expressions).

    Let me know if you give the node a try. 🙂

    Cheers!

    Join us on Discord: https://discord.gg/97q2Rjh

    Attachments:
    You must be logged in to view attached files.
    #2808
    elvisish
    Participant

    Yikes, I tried adding an expression node and all of my nodes vanished! Very scary for a moment, but they came back after removing the expression node. Wonder what caused that?

    #2811
    Gavalakis
    Keymaster

    Oh..Were there any errors at all in the console?

    Join us on Discord: https://discord.gg/97q2Rjh

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