Flowalongsrf in rhino3dm.js

Hi! I am trying to put a mesh along a surface through rhino3dm.js, similar to flowalongsrf command in rhino. The mesh is similar to a text object generated from RhinoCompute.Mesh.createFromCurveExtrusion, and the target surface is Brep. Any idea or suggestion would be very helpful!

Morphs are not available in the rhino3dm library. You need to use Rhino.Compute for this.