• Profile picture of Ralph (Developer)

    Ralph (Developer)developercrusaderuc-voterfeatured-lvl1uc-winner-lvl3pro-noder 2020-08-03 23:13:54 UTC

    i accidentally made tweening during playback like 80% less CPU intense today

    haha programming

    13
    • Yeah I find that satisfying but rare when stuff like that happens

      I sound like I’m trying to be relatable ;/

      2020-08-03 23:21:35 UTC 3
    • Wut

      2020-08-03 23:39:32 UTC 2
    • Else if
      Else if
      Else if
      Else if
      Else if
      I have no idea how to code all I know is that people were going crazy over yanderdef for adding a bunch of those lol

      2020-08-04 00:37:23 UTC 1
      • Replying to: SmileGuyElse if Else if Else if Else if Else if I have no idea how t

        else if masterrace > switch statements

        2020-08-04 16:42:12 UTC 0
      • Replying to: SmileGuyElse if Else if Else if Else if Else if I have no idea how t

        Yanderedev* not def

        2020-08-04 16:51:18 UTC 0
    • Does it really work tho?

      2020-08-04 03:45:07 UTC 2
    • just a question: how CPU intensive is node usage? like is it a hardware reason behind why the node limit is still quite low even with stickfigures becoming more and more detailed or is it something you are planning to change in a future update

      2020-08-04 12:14:51 UTC 3
      • Replying to: BottomTextLoljust a question: how CPU intensive is node usage? like is it

        there’s 2 reasons for node limits, memory and cpu – two different things, and in the world of programming, they are usually trade-offs

        for example
        you pre-calculate a bunch of the math before playing the animation, and then playback is much snappier (less lag/CPU) but to store all that extra data to remember, memory usage goes up

        a node has a bunch of data: x,y,angle,stretchy,type,etc,etc… all that data takes up memory
        multiply that by, idk say 900 nodes on a frame, multiplied even more by 100 frames and there’s your memory-eating culprit

        none of that affects lag
        lag/cpu usage comes into play during all the calculation of angles and math (tweening) and just with plain ol rendering (its all vector-based, so every node has a bunch of math attached to it to render the shape(s))

        so, node limits help people get a grip and not spam 3i9785789534987Q48 nodes on a frame and have a bad time and then yell at me and call stick nodes trash

        enjoy that wall of text

        2020-08-04 16:46:00 UTC 2
        • Replying to: Ralph (Developer)there's 2 reasons for node limits, memory and cpu - two dif

          yeah i know how ram and cpu’s work (at least on a basic hardware level) but i wanted to know how much does that tie into the SN app. though i do think a raise of the node limit or perhaps some dynamic system to be able to set the limit as you see fit or as the app may see optimal should be implemented because phones and tablets are becoming pretty powerful every year or 2

          2020-08-05 21:29:02 UTC 0