r(θ)=1+a·cos3θ+b·sin2θ
θ从0走到2π,计算对应半径r,再用x=r cosθ、y=r sinθ得到平面坐标。a=b=0时r恒为1,所以得到圆。加入不同频率的角度items,会形成不同周期结构和对称性。
极坐标曲线在两个形状之间连续过渡。
Experiment workspace
Try the experience, then read the guide. Pausing keeps your state; resetting clears the current session and parameters.
Loading a preset restarts the experiment and applies its parameters. You can fine-tune them afterwards.
UNDERSTAND EVERY MOVE
用极坐标曲线观察参数如何改变轮廓。自动模式展示连续变化,手动模式则适合做控制变量Comparison。采样点决定绘制精度,参数a、b才决定数学曲线本身;不要把更多采样点误认为更多花瓣。
θ从0走到2π,计算对应半径r,再用x=r cosθ、y=r sinθ得到平面坐标。a=b=0时r恒为1,所以得到圆。加入不同频率的角度items,会形成不同周期结构和对称性。
首尾参数覆盖同1个周期,闭合曲线需要把最终点连接到起始点。采样增多会减少折线感,但不能消除函数本身的自交。参数较大时半径可能穿过0,形成更复杂的轮廓,这不是渲染器随机出错。
Follow the steps, compare the expected results, and mark the challenge complete yourself. This records your practice without judging your results.
CHALLENGE 01
Expected result: 数学轮廓保持圆形,仅精度或朝向参数变化。
CHALLENGE 02
Expected result: 能指出cos3θitems引入的3周期特征。
CHALLENGE 03
Expected result: 高精度更平滑,但两者对应同1组曲线参数。
Say hello, discuss a commission, or send a little kindness. Here's where to find me.
© 2026 Ender · Cat Garden
左右滑动画布Explore完整图形与标注。
极坐标里,cos(3θ) 产生3瓣、sin(2θ) 产生两瓣,两者相加就是它们的连续叠加 —— 形状随参数平滑过渡。