Question: Algorithm 6 : [ 4 pts ] Create a function that deforms an input curve by point handles. Use the basic form of the distortion
Algorithm : pts Create a function that deforms an input curve by point handles. Use the basic form of the distortion energy term without compensating for rotation or scaling Slide The inputoutput are:
INPUT:
curve: a polyline to be deformed it could be either an open or closed curve
vinds: indices of vertices that are "handles"
tgts: target locations of the handle vertices ie the vertex in curve with index vindsi should move to location tgtsi
w: the balancing weight for the distortion energy see Slide of the lecture
OUTPUT: a polyline with the deformed vertex locations.
deformLaplacecurve vinds tgts w :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
