1var e={id:"complex-function-visualizer",type:"exploration",category:"complex-analysis",inputs:[{id:"functionSelect",type:"select",default:"z^2",options:[{value:"z^2",label:"z squared"},{value:"z^3",label:"z cubed"},{value:"e^z",label:"exponential"},{value:"sin(z)",label:"sine"},{value:"1/z",label:"reciprocal"},{value:"(z-1)/(z+1)",label:"Mobius transformation"},{value:"log(z)",label:"logarithm"}]},{id:"showContours",type:"number",default:0,min:0,max:1,step:1},{id:"colorScheme",type:"select",default:"standard",options:[{value:"standard",label:"Standard"},{value:"enhanced",label:"Enhanced"},{value:"phase",label:"Phase Only"},{value:"modular",label:"Modular"}]}],formulas:{showContoursFlag:"showContours > 0 ? 1 : 0"},outputs:[{id:"functionSelect",type:"text",highlight:!0}],visualizations:[{id:"domainPlot",title:"Domain Coloring",type:"domainColoring",function:"functionSelect",colorScheme:"colorScheme",showContours:"showContoursFlag",showAxes:!0,showGrid:!1,resolution:200,domain:{xMin:-4,xMax:4,yMin:-4,yMax:4}}],presets:[{id:"square",label:"Square Function",description:"See how z^2 doubles angles",values:{functionSelect:"z^2",showContours:0,colorScheme:"standard"}},{id:"cube",label:"Cube Function",description:"See 3-fold symmetry of z^3",values:{functionSelect:"z^3",showContours:0,colorScheme:"standard"}},{id:"exponential",label:"Exponential",description:"Periodic stripes of e^z",values:{functionSelect:"e^z",showContours:0,colorScheme:"standard"}},{id:"sine",label:"Complex Sine",description:"Zeros at multiples of pi",values:{functionSelect:"sin(z)",showContours:1,colorScheme:"standard"}},{id:"reciprocal",label:"Reciprocal",description:"Pole at the origin",values:{functionSelect:"1/z",showContours:1,colorScheme:"enhanced"}},{id:"mobius",label:"Mobius Transform",description:"Zero at 1, pole at -1",values:{functionSelect:"(z-1)/(z+1)",showContours:1,colorScheme:"standard"}},{id:"logarithm",label:"Complex Logarithm",description:"Branch cut and multi-valued behavior",values:{functionSelect:"log(z)",showContours:0,colorScheme:"modular"}}],tests:[{inputs:{functionSelect:"z^2",showContours:0,colorScheme:"standard"},expect:{functionSelect:"z^2"}},{inputs:{functionSelect:"e^z",showContours:1,colorScheme:"enhanced"},expect:{functionSelect:"e^z"}}]},o=e.id,t=e.type,l=e.category,a=e.inputs,n=e.formulas,s=e.outputs,i=e.visualizations,r=e.presets,u=e.tests;export{l as category,e as default,n as formulas,o as id,a as inputs,s as outputs,r as presets,u as tests,t as type,i as visualizations};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.