Android Code Snippet Cube-Spline Curve

Joe73

Active Member
Licensed User
Nice thing,
here an example in connection with GestureDetector
Many thanks for that...
Greetings Jürgen
 

Attachments

  • GD-Project.zip
    10.8 KB · Views: 408

Joe73

Active Member
Licensed User
Hello,

I'm still working on the spline.
I'd like to know what formula
You calculate the points.
Maybe you can use the formula or the link
write up here.

Greetings from Jürgen
 

Star-Dust

Expert
Licensed User
Longtime User

TelKel81

Active Member
Licensed User
Hi Star-Dust,

Do you happen to have a method to "equalize" (and/or increase/decrease) the distance between each generated point ? I could then pass the array of points as parameter for some animation (tweening) methods. I could use the size of the array as start/end value.
Or do you have a better suggestion for that purpose.
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Passing the array as a parameter is a good method. In the source, the first view is created just like that, so there is little change to it.

I have no particular suggestions in this regard.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…