I don't need this...

ilan

Expert
Licensed User
Longtime User
Both I and Ilan have attached the code, take a look and take away the doubts

actually, i have not posted the code for my Bezier Curve example. And the reason for that is, this is the FIRST algorithm i did by my self and i wanted to make a more detailed post on it but could not find the time for that until now. it is really a nice algorithm and really 100% mine :cool:
 

Star-Dust

Expert
Licensed User
Longtime User
If you have time, you can also create Cube-Spline and T-Spline ...:p
 

ilan

Expert
Licensed User
Longtime User
If you have time, you can also create Cube-Spline and T-Spline ...:p

this is like chinese for me :D (i am not really good in math formulas, the algorithm i build is not based on formulas it is based on a different approach, if i would know what are Cube Spline and T Spline maybe i could do that but i really have no idea and it is 00:37 here and my eyes start closing and coffee cup is empty so i will check for that in another opportunity) :)
 

Star-Dust

Expert
Licensed User
Longtime User
Here it is 23:39..... another one hours :p

Ok,ok, i will try tomorrow. I am like math :D
 

ilan

Expert
Licensed User
Longtime User
First I should search for what Spline means!!!

Spaziale line?

Sport line?

Sleep Line (my mind tell me: GO TO SLEEP YOU IDIOT, YOU NEED TO WORK TOMORROW but my heart tells me: STAY!) o_O
 

Star-Dust

Expert
Licensed User
Longtime User
Sleep Line (my mind tell me: GO TO SLEEP YOU IDIOT, YOU NEED TO WORK TOMORROW but my heart tells me: STAY!) o_O
Here in Italy tomorrow is a holiday you do not work, and also on May 1 ..

But sometimes it's working here ... if you're not unemployed :D:D:D:D
 

LucaMs

Expert
Licensed User
Longtime User
B4X:
For x = 0 To 100%x
    cnv.DrawPoint(x, 50%y, Colors.White)
    ' Sleep(5) ' try with and without this line
Next

How to draw a line... slowly?

Tried with code above and with:
B4X:
Sub tmr_Tick
    cnv.DrawPoint(mX, 50%y, Colors.White)
    mX = mX + 1
    If mX = 100%x Then
        tmr.Enabled = False
    End If
End Sub


[I don't open a new thread because it is, again, just a curiority]
 

Star-Dust

Expert
Licensed User
Longtime User
If you have time, you can also create Cube-Spline and T-Spline ...:p
Video.gif


see here:
https://www.b4x.com/android/forum/threads/cube-spline-curve.92306/#post-583669
 
Top