Replying to:arcionekI just noticed you tryin to have people join your group, I'
interesting. it just looks like you smartstretching a couple of points so they head in opposite directions and then you placin a polyfill,
what your askin for me to solve is the question.
But ill take a guess and try to simplify it for you:
you need to record how much the item stretches for everytime you stretch the initial smart stretch piece,
then you put it into an exponential function(or linear) and now you know the stretching distance.
Replying to:Gearhead Anims
and the reason why I don't do it is because im lazy
it’s mainly about finding math equation that will make the numbers below red line being able to be calculated to correct length and not guessed trial and error.
Like… If I have the middle one at 500, the middle points will intersect first instead of being in sync with others.
Replying to:arcionekit's mainly about finding math equation that will make the
its not guessed trial and error, im giving you a suggestion to make a linear equation that represents your node smart-stretchyness…
all while trying to appear like an intellectual…
Replying to:RegomaI recreate your contraption and here are the lengths when yo
and i calculated:
833/500=1,666 It’s the factor
300*1,666=499,8
480*1,666=799,68
658,5*1,666=1097,061
So it’s linear but you changing the factor with the lenght of the main node
Replying to:arcionekOh wait maybe I just simplified entire thing just now... Is
No wait i think I’m missing smth but I’m onto this shits lmao… But too tired to actually fact check it. Clocking out for today. 15 bucks to anyone who gets this shits right first.
Replying to:Ralph (Developer)when green is 0 length, white is also 0 length and ball is a
which is what you’re doing in the original image, except you have 2 more balls coming off it (LMFAO) and they meet up at the center because they’re all coming off the same origin branch, it has to be 0-length when the “green line” is 0 length
Replying to:Ralph (Developer)you wrote it in your image "root point"
ohhh… but isn’t root point in the middle and always on the 0 or some shit?
Btw for context I’ve just been bashing myself with these maths because I wanted to write a converter in Excel which would give me correct Smart-Stretched segment length and offset for it so it goes from point A to point B after you drag the segment by X amount. I know for a fact I am like… Extremely dumb rn and don’t know elementary math but I have a hunch i got everything I need to write a function for “Length” and “Offset”
Replying to:Ralph (Developer)if CtrlStart stretches 2x (200, to 400 length)
then the leng
@arcionek i’m still replying to your shits even tho you deleted it:
I’m like… Following but not at the same time.
By END you mean CtrlEnd? Also where the hell did you pull out 100 in the example.
Also why you so insistent on the root so hard if it’s constantly 0 lmfao
END/CtlEnd idk what you’re naming system is here, but the end location of the end point that is moving as a result of all this, that last node at the bottom
root bc everything needs to be relative to something else nothing makes sense
if you’re just simply trying to figure out the length of ctrlend i mean, it’s just whatever it starts as, multiplied by the stretch factor
Replying to:Ralph (Developer)@arcionek i'm still replying to your shits even tho you del
Okay so basically to clarify, I modified your formula to use CtrlStart/End, Point1 End and offset to calculate the “Point1 Length”, which is the stretched segment.
Now I am just trying to come up how to do these shits for Calculating the offset without using the Length so the shit doesn’t break lmao.
Point’s Start and End were always numbers that would be chosen by the user, same with Ctrl values.
It’s main use is to be able to control where the smart stretch end points appear as you’re stretching the segment. It has quite few useful applications in terms of rigging if i manage to get entire formula down.
But like… If I can’t calculate Length and Offset simutaniously then im in a bit of a doo doo.
Replying to:arcionekOkay so basically to clarify, I modified your formula to use
Just so you know, the Ctrl thing is the segment that user drags, the thing at the top. Points are like the dots used in all the examples. Length is the stretchy shit that moves the dot.
Replying to:Ralph (Developer)you're confusing me with "offset"
its "400" in your ex
The general idea is:
Ctrl – doesn’t do much except have starting and end length.
PointLength – is proportional to Ctrl, making dot travel from Point Start to Point End
Offset – “do not smart stretch” middleman, aligns the PointLength tip to PointStart.
The idea for the code was supposed to be that the user would get the length of these two segments so they could just be slapped into the app and have the desired effect.
But I guess I prob i am missing smth out. Also making it just hella complicated because unlike previous gifs, the offset doesn’t start at 0 but at the Ctrl for optimization.
Might end up ditching the optimization tho if I won’t make any progress on this and have offset at 0 lol
Replying to:Ralph (Developer)you're confusing me with "offset"
its "400" in your ex
I think I actually got it just now btw. After bashing my head I got the anwser on a whim. Just the same way I figured out this whole smart-stretch mechanism years prior lmao.
Sn gif quality
Arcionek is basically the physicist of Stick nodes
Quick drop an apple on his head, he’ll become smarter or something and give us the sprite update
I’m suffering please someone help me out figuring how this shit can actually be calculated

I came up with the mechanism but have no damn idea how it mathematically works and the rough numbers don’t help at all lmao.
Edit: Roughly means the value is possibly between 0-1 so have fun with that shits
I’m putting 10 bucks on the line, not even kidding at this point.
If I recall @ralph made smart-stretch trigonometry related but lmfao that’s the field I was the worst in
Arcionek…
you know the drill.
I really don’t
you don’t know?
tsk… isn’t it obvious
I just noticed you tryin to have people join your group, I’ll pass.
Solve the math problem and i’ll consider.
interesting. it just looks like you smartstretching a couple of points so they head in opposite directions and then you placin a polyfill,
what your askin for me to solve is the question.
But ill take a guess and try to simplify it for you:
you need to record how much the item stretches for everytime you stretch the initial smart stretch piece,
then you put it into an exponential function(or linear) and now you know the stretching distance.
and the reason why I don’t do it is because im lazy
it’s mainly about finding math equation that will make the numbers below red line being able to be calculated to correct length and not guessed trial and error.
Like… If I have the middle one at 500, the middle points will intersect first instead of being in sync with others.
its not guessed trial and error, im giving you a suggestion to make a linear equation that represents your node smart-stretchyness…
all while trying to appear like an intellectual…
I know you’re trying to appear smart lmao.
But yea, that shits won’t go with linear equations.

exponential?
trigonometry.
nice attempt at roping me into this lmfao i just had to shut my brain off for the day after failing at masking sprites
how can you turn down on 15 bucks
“i wish i had homework”
~ arcionek, probably
I just want to actually optimise my rig and I know I damn need reverse smart-stretch for it.
And the worst part is I am the only one who actually used this technique cause no one bothered with the shits, so it’s inventing shits solo.
what are you actually trying to calculate
in the most tl;dr way possible
Honestly most of the time whenever I manage to invent something in SN, I end up doing it but having no idea what I am doing to begin with.
tl;dr

*meet at this shit simultaneously
im guessing it has to do with proportions how the lower numbers relate to the stretching “500” and then offsetting it accordingly.
I’m just trying to find a formula so you can set two numbers and get result for the third.
I’ve never sat so long at https://www.wolframalpha.com/ ever since I was 2016 trying to cheat math homework
I regret cheating math homework now
I recreate your contraption and here are the lengths when you add 333 to the main node:

and i calculated:
833/500=1,666 It’s the factor
300*1,666=499,8
480*1,666=799,68
658,5*1,666=1097,061
So it’s linear but you changing the factor with the lenght of the main node
Well… That’s some progress at least. Nice.
So we can sorta predict where the point will end up. Now we just need to devise a formula for it so the numbers can be changed freely.
Also stay in school kids, this guy is like steps away from 15$
i really wanna say give me the file but im busy doing 100000000 stickfigure approvals right now bc my assistant peaced out on me
but its definitely triangle-related
I have a feeling your anwser pulled out your arse will somehow work explaining my contraption I pulled out of my ass.
I think the worst part will be trying to predict where the dot will be according to Red and Green on shits like this… Which is the next step. Lmfao.

Oh wait maybe I just simplified entire thing just now… Is it really just
G/W – R = position of dot
Where
R – Red
G – Green
W – white segment on bottom
I am having a stroke at 2am with this
No wait i think I’m missing smth but I’m onto this shits lmao… But too tired to actually fact check it. Clocking out for today. 15 bucks to anyone who gets this shits right first.
when green is 0 length, white is also 0 length and ball is at the very beginning
at this point, the ball is [red line] distance from green
which is what you’re doing in the original image, except you have 2 more balls coming off it (LMFAO) and they meet up at the center because they’re all coming off the same origin branch, it has to be 0-length when the “green line” is 0 length
You’re basically solving exams by writing that if you set x as 0 everything multiplied gets fucked off so if 0=0 then it must be true.
Last time I tried it I got an F
The dot is in the middle when:
Node length*(main node new lengtht/ main node original length) – offset =0
I think you’re right but I’m too brain dead to fact check it at this hour. Lmao.
In a more simplistic way, If you search the length X you need to add to A to place the dot in the center, the formula is:
X= (Offset/B)*A – A
Or if you need the new length of the main node it’s
Y= (Offset/B)*A
well simpler, according to the image directly above
the dot = [root] + [red length] – [green length]
same goes for the OP gif too, per each dot
its been 17 hours i still don’t know what the fuck you mean by root
you wrote it in your image “root point”
ohhh… but isn’t root point in the middle and always on the 0 or some shit?
Btw for context I’ve just been bashing myself with these maths because I wanted to write a converter in Excel which would give me correct Smart-Stretched segment length and offset for it so it goes from point A to point B after you drag the segment by X amount. I know for a fact I am like… Extremely dumb rn and don’t know elementary math but I have a hunch i got everything I need to write a function for “Length” and “Offset”

if CtrlStart stretches 2x (200, to 400 length)
then the length of the bottom segment will also 2x (above, it’s 100, so it will go to 200)
so assuming offset = 0
End = Root + CtrlStart * MULTIPLE + End * MULTIPLE
(MULTIPLE is whatever the factor of stretching is, 2x or 4x or 0.5x or whatever)
assuming offset = -400
End= Root + CtrlStart * MULTIPLE – offset + END * MULTIPLE
800 = 0 + 200 * 4 – 400 + 100 * 4
@arcionek i’m still replying to your shits even tho you deleted it:
I’m like… Following but not at the same time.
By END you mean CtrlEnd? Also where the hell did you pull out 100 in the example.
Also why you so insistent on the root so hard if it’s constantly 0 lmfao
END/CtlEnd idk what you’re naming system is here, but the end location of the end point that is moving as a result of all this, that last node at the bottom
root bc everything needs to be relative to something else nothing makes sense
if you’re just simply trying to figure out the length of ctrlend i mean, it’s just whatever it starts as, multiplied by the stretch factor
Okay so basically to clarify, I modified your formula to use CtrlStart/End, Point1 End and offset to calculate the “Point1 Length”, which is the stretched segment.
Now I am just trying to come up how to do these shits for Calculating the offset without using the Length so the shit doesn’t break lmao.
Point’s Start and End were always numbers that would be chosen by the user, same with Ctrl values.
It’s main use is to be able to control where the smart stretch end points appear as you’re stretching the segment. It has quite few useful applications in terms of rigging if i manage to get entire formula down.
But like… If I can’t calculate Length and Offset simutaniously then im in a bit of a doo doo.
Also root still gay lmfao
Just so you know, the Ctrl thing is the segment that user drags, the thing at the top. Points are like the dots used in all the examples. Length is the stretchy shit that moves the dot.
you’re confusing me with “offset”
its “400” in your example above, and is unchanging
i think you’re referring to a generic offset and not the thing you’re labeling above tho
The general idea is:
Ctrl – doesn’t do much except have starting and end length.
PointLength – is proportional to Ctrl, making dot travel from Point Start to Point End
Offset – “do not smart stretch” middleman, aligns the PointLength tip to PointStart.
The idea for the code was supposed to be that the user would get the length of these two segments so they could just be slapped into the app and have the desired effect.
But I guess I prob i am missing smth out. Also making it just hella complicated because unlike previous gifs, the offset doesn’t start at 0 but at the Ctrl for optimization.
Might end up ditching the optimization tho if I won’t make any progress on this and have offset at 0 lol
i think we need to break out the big guns
@sbyrnes
Oh god not the Aussie Math.
They’ll prob hit me with some oi² or some shit
g’day mayt da numbuhs you tryna figgah croiky is somethin bloody tough ya innit
I think I actually got it just now btw. After bashing my head I got the anwser on a whim. Just the same way I figured out this whole smart-stretch mechanism years prior lmao.
Offset = -(((PointEnd-PointStart)/((CtrlEnd/CtrlStart)-1))-PointStart)
Will need to check if its consistently working but yea… I think I got all of it.
Now how the hell do I make public calculator site with 2 different outputs or something.
Vince is making one via github. Its neat.
https://vincetheprogrammer.github.io/smart-stretch-calculator/
i thought you were trying to find pointend lmao
you should learn javascript
i sorta know basics but i got Vince to handle that shit B)
I’ll be also working on doing the css and visual side of things for him so there’s some mutual work done lol
Okay yep that works well. Where should I send the cash to lmao.
would you like a job, starting now