Lineart: Difference between revisions

From wikiluntti
Line 21: Line 21:
White canvas <math>R</math> with <math>N</math> nails around the circumference and add straight black lines between the nails.
White canvas <math>R</math> with <math>N</math> nails around the circumference and add straight black lines between the nails.
* Starting nail angle <math>\psi_1</math> and ending nail angle <math>\psi_2</math>. Maximum number of lines is <math>{n \choose 2} = \frac{N(N-1)}{2}</math>
* Starting nail angle <math>\psi_1</math> and ending nail angle <math>\psi_2</math>. Maximum number of lines is <math>{n \choose 2} = \frac{N(N-1)}{2}</math>
* Convert image array to vectors, and make the linear combination: <math>Ax = b</math>. Solve <math> \text{min}_x | Ax-b |^2</math>.
* Convert image array to vectors, and make the linear combination: <math>Ax = b</math>. Solve <math>min_x | Ax-b |^2</math>.


== References ==
== References ==

Revision as of 15:09, 24 October 2024

Introduction

String art

  • Radon transform (inverse of)
  • 2d FFT
  • Optimization

Radon Transform

The sum of the intensities in each direction (a line integral).

The new image will be

Video: The Mathematics of String Art

White canvas with Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N} nails around the circumference and add straight black lines between the nails.

  • Starting nail angle Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \psi_1} and ending nail angle Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \psi_2} . Maximum number of lines is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle {n \choose 2} = \frac{N(N-1)}{2}}
  • Convert image array to vectors, and make the linear combination: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Ax = b} . Solve Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle min_x | Ax-b |^2} .

References