I made preset of a 2D version of the 3D tentacles .ape! Well, sort of.
UnConeD, if you're out there, what do you think? 🙂
Two Dimensional Tentacles
15 posts
That's a nice effect, but it needs something more - it is kinda repetitive.
You don't really need the invert there. It might make a nice background, but I can't really see a presed based on that.
UnConeD made a preset based on 3D tentacles, and he got showered with praise for it!(Of course he's got a reputaion as "the codemaster"😛 ) Oh well, I like it.
But I will change the DM coding to make it less repetitive; thanks making me realize that Anubis 🙂
But I will change the DM coding to make it less repetitive; thanks making me realize that Anubis 🙂
umm...this isn't a tentacles effect. the graphics are right, but the motion isn't.
umm...this isn't a tentacles effectI kind of agree with Atero. And this preset might look better with some colour.
This preset is Decent but could be a lot better.
ReSubmmision
Resubmission
Resubmission
well. i think its very clever.
after looking at it, i was expect a much bigger dm code. But you have used a very nice method.
Some of the movement is too speedy and erratic, especially in the newer version.
Atero is right though, technikly (nghey), its not a 'tentacle' affect.
For a REAL tentacle affeect, you need to make the reaction time of each arm segment relative to its distance from the center, (d).
after looking at it, i was expect a much bigger dm code. But you have used a very nice method.
Some of the movement is too speedy and erratic, especially in the newer version.
Atero is right though, technikly (nghey), its not a 'tentacle' affect.
For a REAL tentacle affeect, you need to make the reaction time of each arm segment relative to its distance from the center, (d).
I like it, but for the first time, Atero's right. No affence Atero🙂
Any ideas on how to get the reaction time right? I'm not sure how....
You mean like this?
It calculates the 1th-4th derivatives at the current point and plugs them into a Taylor polynomial to get a good approximation of the tentacles' history of movement (as if you would use an array).
It calculates the 1th-4th derivatives at the current point and plugs them into a Taylor polynomial to get a good approximation of the tentacles' history of movement (as if you would use an array).
nice work ucd, and a cool idea pixelcraft. ended up being a nice colaboration i think 🙂
There's a small error in the 2nd DM per point code. The polynomial contains d3 two times. The last one has to be d4.
For music responsiveness I've updated the 2nd DM. This code guarantees continuity until the 4th derivative, which prevents the tentacles from jumping around at the ends.
init:
For music responsiveness I've updated the 2nd DM. This code guarantees continuity until the 4th derivative, which prevents the tentacles from jumping around at the ends.
init:
per-frame:
elastic=1
onbeat:
sa=sa*.8+getspec(0,0.1,0)+.01;
st1=st1*.8+sa*.2;st2=st2*.8+st1*.2;st3=st3*.8+st2*.2;
ra=ra+(sin(t)+cos(t*.1)*(sin(t*.714)+.1)+sin(t*3.17)*.3)*st3*.1+(rt4-ra)*.2;
rt1=rt1*.8+rtg*.2;rt2=rt2*.8+rt1*.2;rt3=rt3*.8+rt2*.2;rt4=rt4*.8+rt3*.2;
d1=da*(1-elastic)+(ra-lra)*elastic;
d2=d2*(1-elastic)+(d1-ld1)*elastic;
d3=d3*(1-elastic)+(d2-ld2)*elastic;
d4=d4*(1-elastic)+(d3-ld3)*elastic;
lra=ra;ld1=d1;ld2=d2;ld3=d3;t=t-.05;
per point:
rtg=ra+(rand(200)*.01-1)*6*getspec(0,0,0)
dp=d*10;
r=r-d1*dp+d2*sqr(dp)*.5-d3*sqr(dp)*dp*.166+d4*sqr(sqr(dp))*.04166+ra;
Wow, a remix by UnConeD, I feel so honored😁
That is really good! I've never seen 'elastic' used as a variable before🧟
That is really good! I've never seen 'elastic' used as a variable before🧟
Originally posted by Pixelcraft...does it matter?
I've never seen 'elastic' used as a variable before🧟
and yes, that is a very good tweak...i've been trying to get rid of those awful corner repititions with no luck, any suggestions?
oh, and couldn't you randomize that dm or make it respond to something? 😛