you should have a sound knowledge of javascript and computer graphics, etc. Sadly to say, this forum might not be the right one to ask such a concrete question.
Are you saying that this forum, which exists and has existed for decades to help people with all kinds of programming and working with computers, is not suitable for helping with JavaScript and Computer Graphics problem? Say it isn't so.....
I think the main reason the OP is not getting the help he desires is because his questions are rather vague and not concrete at all, which makes them hard to answer in any meaningful way. Asking for someone to write a complete function for them, a.k.a do all of the work, is unlikely to work out as intended.