Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition Node / Easing #695

Closed
zeffii opened this issue Jul 11, 2015 · 25 comments
Closed

Transition Node / Easing #695

zeffii opened this issue Jul 11, 2015 · 25 comments

Comments

@zeffii
Copy link
Collaborator

zeffii commented Jul 11, 2015

It's been a while since I've done any Sverchok coding. Formerly this existed only as a Node script, but
https://github.com/nortikin/sverchok/tree/easing_node

@zeffii
Copy link
Collaborator Author

zeffii commented Jul 11, 2015

image

@zeffii
Copy link
Collaborator Author

zeffii commented Jul 11, 2015

The idea of the node is to take an input between 0 and 1 and output the value produced by the easing function that was selected.

@zeffii
Copy link
Collaborator Author

zeffii commented Jul 11, 2015

image

@zeffii
Copy link
Collaborator Author

zeffii commented Jul 11, 2015

opt_moving_images

@enzyme69
Copy link
Collaborator

enzyme69 commented Jul 12, 2015

Thanks Dealga! Oh man I gotta come back to this soon :|

@zeffii
Copy link
Collaborator Author

zeffii commented Jul 12, 2015

it might be useful to have a 'duration in frames' and 'start frame' socket input, meaning before 'start_frame' is reached the output is 0 and during (start_frame...start_frame+duration) it will output the transition between 0...1.

@zeffii
Copy link
Collaborator Author

zeffii commented Jul 12, 2015

also this needs to be vectorized asap :)

@nortikin
Copy link
Owner

it is usefull for case of animation offcourse and to ease geometry, as experiment could be

@zeffii zeffii closed this as completed Nov 24, 2015
@zeffii
Copy link
Collaborator Author

zeffii commented Jan 4, 2017

https://gist.github.com/a663793209a91310f8410f98673759a8

use this to experiment with easing node

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 4, 2017

Thank you very much!!

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 4, 2017

screen shot 2017-01-04 at 21 43 38

I like the anim visualization and suddenly have that idea above.... Can we actually do that? Connecting random animation of varying easing to get a really weird animation?

Is this similar to the idea of thinking L-Sytem but for animation?

Because suddenly I am thinking Turtle and animation.

@zeffii
Copy link
Collaborator Author

zeffii commented Jan 4, 2017

yeah, i'm sure you'll figure it out.. The node might not be vectorized yet :) @nortikin vectorized this node a while back 247c6c7

@zeffii
Copy link
Collaborator Author

zeffii commented Jan 4, 2017

here's a zip of image-representations of the easing node's output:

easing_functions.zip

one for example:
0019

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

screen shot 2017-01-05 at 18 31 27

Noob error as above, but I probably need to offset slice the range and then put them together.

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

Somewhat the list need to accumulate:

https://gist.github.com/1200172806094870468db25117482b91

screen shot 2017-01-05 at 18 34 50

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

screen shot 2017-01-05 at 18 38 50

It's weird I never thought about this before... but very important.
https://gist.github.com/a42c385ad4cfe4ac11074298084ccd98

However, rather than keep adding +1 or +2 and so on... isn't there be a way to accumulate Curve A + Curve B + Curve B, just attaching to the end bits?

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

Wait the minute.... EASE is a function, but unlike SINE it does not continue, so I need to use MODULO maybe?

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

Still does not help if I just want to use Grease to draw my Curve bits...

screen shot 2017-01-05 at 18 44 49

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

https://gist.github.com/b2021815f00247f68b0e0827ca5cb2a8

screen shot 2017-01-05 at 19 09 59

This one I think an improvement.

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

I suddently remember EDGE ADAPTIVE node!

screen shot 2017-01-05 at 19 13 09

That can be nice, if only we can "Randomize" the input of adaptive edge.... hmm...

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 5, 2017

Does Edge Adaptive node take multiple DONOR? Or maybe we need to use List Masking? Hmmm...

screen shot 2017-01-05 at 19 16 44
https://gist.github.com/20293f6d11c352b22dbe6f8cc05f21c1

@nortikin
Copy link
Owner

nortikin commented Jan 6, 2017

not vectorized yet. now try to understand what can do quickly

@nortikin
Copy link
Owner

nortikin commented Jan 6, 2017

did it. grab github for vectorized ae

@enzyme69
Copy link
Collaborator

enzyme69 commented Jan 6, 2017 via email

@zeffii zeffii changed the title Transition Node Transition Node / Easing Jan 28, 2017
@zeffii
Copy link
Collaborator Author

zeffii commented Jan 28, 2017

https://pbs.twimg.com/media/C3O3vckWcAAVzmU.jpg:large

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants