Answer on any possible ways would be appreciated . But server side/backend implementation would be a plus since I expect it can use the server calculation power instead of the client frontend calculation power .