Question: Pseudo - code while ( true ) { apply _ simulation ( mesh ) ; foreach ( vertex v in mesh _ seam ) {
Pseudocode
whiletrue
applysimulationmesh;
foreachvertex in meshseam
Vector projecttoscreenv;
Vector q getcorrespondingstrokepositionv;
double displacement Vectordotproductgetscreenspacenormalp Vectorsubt
VertexD vs getcorrespondingpatternvsv;
vstranslateVectormultiply vsnormal, displacement ;
vstranslateVectormultiply vsnormal, displacement ;
updaterestlengthesmesh;
Select the all missing elements in this code.
stopping iteration when the inflation result matches well with the input
stroke
shrinking the pattern when the inflated result is larger than the input sketch
stopping pattern growth when selfoverlap occurs
updating rest length of the mesh according to changes in the pattern
applying inflation simulation
enlarging the pattern when the inflated result is smaller than the input sketch
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
