Mystery Curves: Random Artistic Curves via Complex Numbers

Mystery Curves: Random Artistic Curves via Complex Numbers
Loading the math board and drawing, please wait…
2020-07-18 17:32
① This example generates a series of mysterious and elegant plane curves by combining complex number operations with random parameters, demonstrating the beauty of mathematics and art. ② Core mathematical concepts include complex arithmetic (addition, multiplication, exponentiation), parametric equations, random number generation, and geometric loci; curves are mapped to the plane via complex functions under parameter variation. ③ Construction highlights: GeoGebra commands such as Sequence, Random, Sum, CurveCartesian, and RandomUniform are used, with objects like m, n, Cx, Cy, cX, r, fx, cY, fy, and buttons (button1/2/3) controlling random refresh, color changes, and toggling 3D solids (Archimedean, Pyramid, Prism), enabling interactive exploration. ④ Suitable for high school to university levels in courses on complex numbers, parametric equations, or mathematical experiments, and also for mathematical art creation and demonstrations to foster intuitive understanding of complex geometry.

GeoGebra Commands & Parameters

  1. Sequence(Random[-30, 30], i, 1, m) → n
  2. Sequence(RandomUniform[-2, 2], i, 1, m) → Cx
  3. Sequence(RandomUniform[-2, 2], i, 1, m) → Cy
  4. Sequence((Element[Cx, i] * cos((Element[n, i] * x))) - (Element[Cy, i] * sin((Element[n, i] * x))), i, 1, m) → cX
  5. Random(2, m) → r
  6. Sum(cX, r) → fx
  7. Sequence((Element[Cx, i] * sin((Element[n, i] * x))) + (Element[Cy, i] * cos((Element[n, i] * x))), i, 1, m) → cY
  8. Sum(cY, r) → fy
  9. CurveCartesian(fx(t), fy(t), t, 0, s) → c
  10. RandomUniform(0, 1) → R
  11. RandomUniform(0, 1) → G
  12. RandomUniform(0, 1) → B

AI Drawing Prompt Reference

Draw a mysterious elegant plane curve generated by random parameters. Start with random integer exponents and two sets of random coefficients, then combine them into sine and cosine terms that are summed to form parametric x and y functions. Select a random subset of these terms to define the final curve, which sweeps smoothly across the parameter range, producing an unpredictable yet graceful wavy shape. Allow refreshing to generate new variations, and optionally display the curve as a 3D solid (prism, pyramid, or Archimedean solid) with random colors, for mathematical art exploration.
The prompt above was compiled from the original drawing commands and is for reference only.