Lineart: Difference between revisions

From wikiluntti
 
(6 intermediate revisions by the same user not shown)
Line 72: Line 72:
* https://yetanothermathprogrammingconsultant.blogspot.com/2024/01/string-art.html
* https://yetanothermathprogrammingconsultant.blogspot.com/2024/01/string-art.html
* https://hackaday.com/2021/03/18/an-algorithm-for-art-thread-portraits/
* https://hackaday.com/2021/03/18/an-algorithm-for-art-thread-portraits/
* https://circuit4us.medium.com/neopixel-assisted-string-art-weaving-9c34a169b18a Paywall
* https://hackaday.io/project/130951-diy-knit-portrait
** Parameters: Radius, Number of hooks, Number of lines, Contrast, Scale


Art
Art
* http://artof01.com/vrellis/
* http://artof01.com/vrellis/
** http://artof01.com/vrellis/works/knit.html


Ready-made instructions
Ready-made instructions
* https://www.instructables.com/DIY-String-Art-the-Lion/ https://www.youtube.com/watch?v=DtrYdr4ktvI
* https://www.instructables.com/DIY-String-Art-the-Lion/ https://www.youtube.com/watch?v=DtrYdr4ktvI
https://en.wikipedia.org/wiki/Hough_transform
https://www.youtube.com/watch?v=G5w9RcCLTXs
https://www.youtube.com/watch?v=UsbBSttaJos

Latest revision as of 10:06, 25 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

Virtually Passed YT

White canvas with nails around the circumference and add straight black lines between the nails.

Video: The Mathematics of String Art

  • Starting nail angle and ending nail angle . Maximum number of lines is
  • Convert image array to vectors, and make the linear combination: . Solve .
  • Problems:
    • Line darkness. Use some antialiasing algorithm; from step function to some other.
    • Pseudoinverse gives not binary result. Greedy algorithm.
  • FFT in part II gives much better results

Video: How To Make a Computer Create Something Beautiful: String Art

  • Radon transform; density function .
  • plot sinogram: .
  • Make linear transform where are the binary weights.
  • Need a Radon transform for lines.
  • max because the lines are of different length.

Michael Crum

https://michael-crum.com/string_art_generator/

Datagenetics

https://datagenetics.com/blog/december12019/index.html

References

Art

Ready-made instructions

https://en.wikipedia.org/wiki/Hough_transform

https://www.youtube.com/watch?v=G5w9RcCLTXs

https://www.youtube.com/watch?v=UsbBSttaJos