Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (anonymous):

Is anyone here versed in javascript?

OpenStudy (anonymous):

Yes

OpenStudy (anonymous):

I'm have some trouble with editing this page ( https://heim.ifi.uio.no/magho/lill/) to include the quartic case. The solution line (the red dot line) is supposed to be made up of four segments at 90 degree angles for the quartic case, but when I added in the fourth line, it started bending at random angles instead of 90 degees.

OpenStudy (anonymous):

I don't know if this is even solvable, considering that my software engineer dad couldn't figure it out (here's the relevant code? http://stackoverflow.com/questions/27140279/why-is-my-line-segment-not-bending-at-a-specific-angle) but if you have any ideas I'd love to hear them.

OpenStudy (anonymous):

I'm not sure what you want it to do.

OpenStudy (anonymous):

Is that the full code?

OpenStudy (anonymous):

I don't get where the problem is.

OpenStudy (anonymous):

It's alright

OpenStudy (anonymous):

Did you solve it?

OpenStudy (anonymous):

http://jsfiddle.net/wio_dude/4q45q94n/

OpenStudy (anonymous):

Oh my god.

OpenStudy (anonymous):

It half-worked so I gave up on it because I could kinda use it the way it was.

OpenStudy (anonymous):

But this is amazing.

OpenStudy (anonymous):

Thank you so much.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!