CloudDeploy[(*UserInterface*)FormPage[{"Text""String","Size"{50,100,150},"Colors"{2,3,4},"Font"->CloudEvaluate[$FontFamilies]"Times"},(*Pre-processing*)Block[{simplified,replacements},simplified=simplifyImage[Rasterize[Style[#Text,FontFamily#Font,FontSize#Size]],#Size,#Colors];replacements=MapIndexed[(#1Append[nearestColor[#1],"Key"Extract[{"■","○","."," "},#2]])&,colorList[simplified]];(*Output*)Column[Rasterize/@{ImageResize[simplified,400,Resampling"Nearest"],keyTable[replacements],sewingPattern[simplified,replacements]}]]&,(*Textcontents*)AppearanceRules<|"Title""Cross-stitch Pattern Generator","Description""Convert text to a simplified cross-stitch pattern in DMC thread colors. <BR>Choose larger sizes and more colors for a more accurate result."|>],(*Deploymentinformation*)"textsewingpatterns",Permissions"Public"]