It looks like you're new here. If you want to get involved, click one of these buttons!
Hello guys,
I need to code this shape with python script, i already created the code to insert the fingers(paths) but they all the same lenght, i need an idea to make it as a sine wave like this.
If you have any idea i would be thankful.
Comments
Please paste the code you have. I cannot help you with this otherwise.
Matthias
Dear Matthias,
soory for not posting the code.
i will post it here in the commetns
I don't see a sine or cosine function. Am I missing something?
Matthias
dear Matthias,
with my code i am currently getting these shape
and i want a sine function to get something like this
Hi, Abdullah_Altayara,
Excuse me, but what is the "self" in your code?
please help explain.
Hi Abdullah,
I'm sorry, but I don't think I can help here.
The function you depict is not a sine, it's rather "sin(x)/x" or something like this. Plus, your code is just partial, so it's lacking the interesting details. It's rather tedious to guess anyone's intention from the code with such little information.
But worst of all, I don't see any indication of an attempt to solve the problem. Even without knowing the details about L2, w, wzero, nIDT, lambdaIDT etc. it's not hard to tell that this code will never produce anything sine-like - simply because there is no function call of "sin" or even "cos". So of course the pattern doesn't look like the one you want to have.
But programming is not about wishing something and then asking someone else to implement it.
Matthias