• Profile picture of arcionek

    arcionekadministratorocciferuc-votermega-noderfeatured-lvl1uc-winner-lvl2 2022-08-01 15:55:03 UTC

    I made smart stretch even more confusing by allowing you to put nodes in predictable locations.

    Here’s the calculator me and @vincetheanimator whipped out:
    https://vincetheprogrammer.github.io/smart-stretch-calculator/

    Now as to how it works, it’s a bit hard to initially understand, but once you get it right for the first time, it will become just a pretty convenient tool to have. Control one the site refers to the segment the user will stretch (the very top one on the picture). Start/End is the segment length of the Control, which indicate at what length the segment needs to be to get desired results in the next sentence. The A and B refers to length away from root, when Control is at Start, its at A and vice versa.

    For the sake of the example, the Control goes to the right, so anything on the right side of the root are positive values and on the left of it are negative, so we can have A at -200, which is a segment that would be 200 length away to the left of the root. Confusing as hell, I know.

    After we hit Calculate, we get 2 outputs. Offset is the length of “Do not Stretch” segment that is attached to the Control. Length is the length of a stretchy node that’s attached to Offset.

    Negative Offset or Length means the segment will go towards the opposite direction. So sometimes we would have offset going to the right, sometimes to the left.

    Just give this thing a shot and see for yourself. I’ll be bringing in some examples on how this whole mechanism can be used later on, but try to think up some neat little things on your own as well.

    Also there’s this whole group made for this whole thing so… Feel free to ask and show stuff here.

    17