From b9e5d59daddc66c919c1163473a39319bf895278 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Sat, 28 Jan 2023 23:12:28 -0800 Subject: [PATCH] New magic tools: Circles, and Rays Convert the image into circular or ray brushstrokes. Inspired by "Night Sky Scene [Pen Parallax]" Scratch Project by -HexaScape- Sound effects based on Richard Wagner's "Ride of the Valkyries" licensed as Creative Commons Attribution 3.0 Unported (CC BY 3.0) by https://pmmusic.pro/; conducted by Philip Milman. h/t my son William for pointing out the Scratch project --- docs/AUTHORS.txt | 13 +- docs/CHANGES.txt | 13 +- magic/icons/swirls_circles.png | Bin 0 -> 1781 bytes magic/icons/swirls_rays.png | Bin 0 -> 1880 bytes magic/magic-docs/en/circles.txt | 14 + magic/magic-docs/en/html/circles.html | 14 + magic/magic-docs/en/html/index.html | 2 + magic/magic-docs/en/html/rays.html | 14 + magic/magic-docs/en/index.txt | 2 + magic/magic-docs/en/rays.txt | 14 + magic/magic-docs/es_ES.UTF-8/circles.txt | 14 + .../magic-docs/es_ES.UTF-8/html/circles.html | 14 + magic/magic-docs/es_ES.UTF-8/html/index.html | 2 + magic/magic-docs/es_ES.UTF-8/html/rays.html | 14 + magic/magic-docs/es_ES.UTF-8/index.txt | 2 + magic/magic-docs/es_ES.UTF-8/rays.txt | 14 + magic/magic-docs/fr_FR.UTF-8/circles.txt | 14 + .../magic-docs/fr_FR.UTF-8/html/circles.html | 14 + magic/magic-docs/fr_FR.UTF-8/html/index.html | 2 + magic/magic-docs/fr_FR.UTF-8/html/rays.html | 14 + magic/magic-docs/fr_FR.UTF-8/index.txt | 2 + magic/magic-docs/fr_FR.UTF-8/rays.txt | 14 + magic/magic-docs/gl_ES.UTF-8/circles.txt | 14 + .../magic-docs/gl_ES.UTF-8/html/circles.html | 14 + magic/magic-docs/gl_ES.UTF-8/html/index.html | 2 + magic/magic-docs/gl_ES.UTF-8/html/rays.html | 14 + magic/magic-docs/gl_ES.UTF-8/index.txt | 2 + magic/magic-docs/gl_ES.UTF-8/rays.txt | 14 + magic/magic-docs/ja_JP.UTF-8/circles.txt | 14 + .../magic-docs/ja_JP.UTF-8/html/circles.html | 14 + magic/magic-docs/ja_JP.UTF-8/html/index.html | 2 + magic/magic-docs/ja_JP.UTF-8/html/rays.html | 14 + magic/magic-docs/ja_JP.UTF-8/index.txt | 2 + magic/magic-docs/ja_JP.UTF-8/rays.txt | 14 + magic/sounds/swirls_circles.ogg | Bin 0 -> 66386 bytes magic/sounds/swirls_rays.ogg | Bin 0 -> 55439 bytes magic/src/swirls.c | 350 ++++++++++++++++++ 37 files changed, 674 insertions(+), 2 deletions(-) create mode 100644 magic/icons/swirls_circles.png create mode 100644 magic/icons/swirls_rays.png create mode 100644 magic/magic-docs/en/circles.txt create mode 100644 magic/magic-docs/en/html/circles.html create mode 100644 magic/magic-docs/en/html/rays.html create mode 100644 magic/magic-docs/en/rays.txt create mode 100644 magic/magic-docs/es_ES.UTF-8/circles.txt create mode 100644 magic/magic-docs/es_ES.UTF-8/html/circles.html create mode 100644 magic/magic-docs/es_ES.UTF-8/html/rays.html create mode 100644 magic/magic-docs/es_ES.UTF-8/rays.txt create mode 100644 magic/magic-docs/fr_FR.UTF-8/circles.txt create mode 100644 magic/magic-docs/fr_FR.UTF-8/html/circles.html create mode 100644 magic/magic-docs/fr_FR.UTF-8/html/rays.html create mode 100644 magic/magic-docs/fr_FR.UTF-8/rays.txt create mode 100644 magic/magic-docs/gl_ES.UTF-8/circles.txt create mode 100644 magic/magic-docs/gl_ES.UTF-8/html/circles.html create mode 100644 magic/magic-docs/gl_ES.UTF-8/html/rays.html create mode 100644 magic/magic-docs/gl_ES.UTF-8/rays.txt create mode 100644 magic/magic-docs/ja_JP.UTF-8/circles.txt create mode 100644 magic/magic-docs/ja_JP.UTF-8/html/circles.html create mode 100644 magic/magic-docs/ja_JP.UTF-8/html/rays.html create mode 100644 magic/magic-docs/ja_JP.UTF-8/rays.txt create mode 100644 magic/sounds/swirls_circles.ogg create mode 100644 magic/sounds/swirls_rays.ogg create mode 100644 magic/src/swirls.c diff --git a/docs/AUTHORS.txt b/docs/AUTHORS.txt index 903f45581..933a62204 100644 --- a/docs/AUTHORS.txt +++ b/docs/AUTHORS.txt @@ -6,7 +6,7 @@ Copyright (c) 2002-2023 Various contributors (see below, and CHANGES.txt) https://tuxpaint.org/ -June 17, 2002 - January 26, 2023 +June 17, 2002 - January 28, 2023 * Design and Coding: @@ -115,6 +115,17 @@ June 17, 2002 - January 26, 2023 (https://freesound.org/people/SpliceSound/sounds/369834/) Creative Commons 0 by Julian Evans + Circles and Rays magic tools and artwork + by Bill Kendrick + Inspired by "Night Sky Scene [Pen Parallax]" Scratch Project + by -HexaScape- . + Sound effect based on Richard Wagner's "Ride of the Valkyries" + licensed as Creative Commons Attribution 3.0 Unported (CC BY 3.0) + (https://creativecommons.org/licenses/by/3.0/) + by https://pmmusic.pro/; conducted by Philip Milman. + (Why? Because Van Gogh liked Wagner: + https://yalebooks.yale.edu/book/9780300228335/van-gogh-and-music/) + Mouse accessibility code and keyboard access Ankit Choudary , as part of GSOC 2010, with integration and fixes by Pere Pujal i Carabantes diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 4dd2f90ca..1b35d7aef 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt) https://tuxpaint.org/ -2022.January.26 (0.9.29) +2022.January.28 (0.9.29) * Improvements to "Stamp" tool: ----------------------------- * Stamps may now be rotated. @@ -25,11 +25,22 @@ https://tuxpaint.org/ - needs better icon - needs sound effect - effect needs improvement + Bill Kendrick * "Maze"; draw a maze pattern over part or all of your drawing. + Bill Kendrick (Sound effect licensed as Creative Commons 0 by Julian Evans, https://www.julianevans.info/) + * "Circles" and "Rays"; convert the image into circular or ray + brushstrokes. + Bill Kendrick + (Inspired by "Night Sky Scene [Pen Parallax]" Scratch Project + by -HexaScape- ) + (Sound effect based on Richard Wagner's "Ride of the Valkyries" + licensed as Creative Commons Attribution 3.0 Unported (CC BY 3.0) + by https://pmmusic.pro/; conducted by Philip Milman) + * Improvements to Magic Tools: ---------------------------- * Better performance from "Rush" (by using SDL_gfx rotozoom) diff --git a/magic/icons/swirls_circles.png b/magic/icons/swirls_circles.png new file mode 100644 index 0000000000000000000000000000000000000000..7eab694f9ab88896820ede6b0932ea7663668eb6 GIT binary patch literal 1781 zcmVEX>4Tx04R~2kg-a`P!xv0RH-65DGH*H!L{OICYP!Z3JNh+usWqlip3;`B&GNU zzKK3e2SM-^+!dVtZ**`liw6$p<8aRZpL?NYCt+I7??IYXh3j_*mxC*N;SGyz+U&9s zgk|3Kyb~JZ^HtM|myXeDp8GS}QCxjOc;|;(NWFRImTgM)ukZdo{~^CAy#jy znTi`xDJ7RfQD3BM8vHhEKTj@0X^f?19PUV^Y5Xw%`@QyYR&QGCvpgt*x;3Y4jYjbP z2rC0veTJp$2Cv26Z)=!w>Y0DO@eBURP;h&{j9&l%00Lr5M??Sss*NKu00009a7bBm z001r{001r{0eGc9b^rhX2XskIMF-~r9R@EK&BW$#0000PbVXQnLvL+uWo~o;Lvm$d zbY)~9cWHEJAV*0}P*;Ht7XSbSGf6~2R7l5-mR*P?R}sg5bL^E3U82|_O zOOm6UCJF;av~tzdKEq+LETxeU5?nNGhEizt{{wTnQcI~WFXswio$rx=ETj%8ku0SN z&Cx*nI?ssU=D}%C+EsnSrGd(pYEUiX+Q;p4spn(Id)KF5*diZ z;z3npy(ms`pil8Q|0HJu)|F2C6tCsGyK&C0)<|SehkGNLX{0eVmQ0qqGR?l>j1N4= zZ+M=VMy>?a4z+Z2bx(znF(xQzVhU{-F{a{Kp5deXi>aMzoVV4P&?WE;aE-^f%$GQu zEZR&~ns9H6B#jM7*F?OTW7e|C7xB~_aGftOBxlUm_zyp&E3%O)_xXo?}>6TFr0Fk{J(MqLQha#cNB=7*u?-CP5WKuXPIWwec{Z_CC+Vo7ks zAi*5!ke4~noSY4&yudfjC4WNZc)I*e3tr|loAPrM0UTx9ic8w|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m<6s~C`D)yGXae$@CbKJ*mEbzJVWjd(YAVJNrD9f6TY${_? zECO0%P`3C2hxt4?XL-%|F6(rS)@9SnoS}*^;RoDIK+MN^5gV+zhz1iiv?PTx1O^%a zN}FwtaFhbDT%hX?8o#F=Yf9dr#@HlrKKK|TE-^*O`{bSM7-uMmG^Erm&z9(3lnGE^ z`4nH}!%PUUyv>>%42!CZFA5;%|=+;F}dPR+;b>4)P72CgUz5e16JJTx0^g%5$9N4NmfR-OMc~-5fdj zWqXmDMr74tGKbH3iF6u|K0-+-J$)~$oaY3O^B|7X+{g=D;>-Mn)6&zi@m%DXEd zp^#W_q-33lJ#57r + + This transforms the picture into circular brush strokes around where you + clicked. + + See also: Rays. + + ---------------------------------------------------------------------- + + Tux Paint 0.9.29 diff --git a/magic/magic-docs/en/html/circles.html b/magic/magic-docs/en/html/circles.html new file mode 100644 index 000000000..7ca725ff0 --- /dev/null +++ b/magic/magic-docs/en/html/circles.html @@ -0,0 +1,14 @@ + +Tux Paint "Magic" Tool: Circles + + + +

Tux Paint "Magic" Tool: Circles

+

Group: Distorts

+

Author: +Bill Kendrick <bill@newbreedsoftware.com>

+

This transforms the picture into circular brush strokes around where you clicked.

+

See also: Rays.

+
+

Tux Paint 0.9.29

+ \ No newline at end of file diff --git a/magic/magic-docs/en/html/index.html b/magic/magic-docs/en/html/index.html index 22296431b..1bb9bee52 100644 --- a/magic/magic-docs/en/html/index.html +++ b/magic/magic-docs/en/html/index.html @@ -9,6 +9,7 @@
  • Blocks
  • Blur
  • Chalk
  • +
  • Circles
  • Clone
  • Distortion
  • Drip
  • @@ -22,6 +23,7 @@
  • Mosaic
  • Noise
  • Puzzle
  • +
  • Rays
  • Ripples
  • Sharpen
  • Silhouette
  • diff --git a/magic/magic-docs/en/html/rays.html b/magic/magic-docs/en/html/rays.html new file mode 100644 index 000000000..8b39e28e7 --- /dev/null +++ b/magic/magic-docs/en/html/rays.html @@ -0,0 +1,14 @@ + +Tux Paint "Magic" Tool: Rays + + + +

    Tux Paint "Magic" Tool: Rays

    +

    Group: Distorts

    +

    Author: +Bill Kendrick <bill@newbreedsoftware.com>

    +

    This transforms the picture into brush strokes that point towards where you clicked.

    +

    See also: Circles.

    +
    +

    Tux Paint 0.9.29

    + \ No newline at end of file diff --git a/magic/magic-docs/en/index.txt b/magic/magic-docs/en/index.txt index 3b55474a0..d78c38b91 100644 --- a/magic/magic-docs/en/index.txt +++ b/magic/magic-docs/en/index.txt @@ -5,6 +5,7 @@ Distorts * Blocks * Blur * Chalk + * Circles * Clone * Distortion * Drip @@ -18,6 +19,7 @@ Distorts * Mosaic * Noise * Puzzle + * Rays * Ripples * Sharpen * Silhouette diff --git a/magic/magic-docs/en/rays.txt b/magic/magic-docs/en/rays.txt new file mode 100644 index 000000000..9bbc246c5 --- /dev/null +++ b/magic/magic-docs/en/rays.txt @@ -0,0 +1,14 @@ + Tux Paint "Magic" Tool: Rays + + Group: Distorts + + Author: Bill Kendrick + + This transforms the picture into brush strokes that point towards where + you clicked. + + See also: Circles. + + ---------------------------------------------------------------------- + + Tux Paint 0.9.29 diff --git a/magic/magic-docs/es_ES.UTF-8/circles.txt b/magic/magic-docs/es_ES.UTF-8/circles.txt new file mode 100644 index 000000000..ec4f7ded5 --- /dev/null +++ b/magic/magic-docs/es_ES.UTF-8/circles.txt @@ -0,0 +1,14 @@ + Tux Paint "Magic" Tool: Circles + + Group: Distorts + + Author: Bill Kendrick + + This transforms the picture into circular brush strokes around where you + clicked. + + See also: Rays. + + ---------------------------------------------------------------------- + + Tux Paint 0.9.29 diff --git a/magic/magic-docs/es_ES.UTF-8/html/circles.html b/magic/magic-docs/es_ES.UTF-8/html/circles.html new file mode 100644 index 000000000..7ca725ff0 --- /dev/null +++ b/magic/magic-docs/es_ES.UTF-8/html/circles.html @@ -0,0 +1,14 @@ + +Tux Paint "Magic" Tool: Circles + + + +

    Tux Paint "Magic" Tool: Circles

    +

    Group: Distorts

    +

    Author: +Bill Kendrick <bill@newbreedsoftware.com>

    +

    This transforms the picture into circular brush strokes around where you clicked.

    +

    See also: Rays.

    +
    +

    Tux Paint 0.9.29

    + \ No newline at end of file diff --git a/magic/magic-docs/es_ES.UTF-8/html/index.html b/magic/magic-docs/es_ES.UTF-8/html/index.html index 79094427e..84ccf2733 100644 --- a/magic/magic-docs/es_ES.UTF-8/html/index.html +++ b/magic/magic-docs/es_ES.UTF-8/html/index.html @@ -9,6 +9,7 @@
  • Blocks
  • Blur
  • Chalk
  • +
  • Circles
  • Clone
  • Distortion
  • Drip
  • @@ -22,6 +23,7 @@
  • Mosaic
  • Noise
  • Puzzle
  • +
  • Rays
  • Ripples
  • Sharpen
  • Silhouette
  • diff --git a/magic/magic-docs/es_ES.UTF-8/html/rays.html b/magic/magic-docs/es_ES.UTF-8/html/rays.html new file mode 100644 index 000000000..8b39e28e7 --- /dev/null +++ b/magic/magic-docs/es_ES.UTF-8/html/rays.html @@ -0,0 +1,14 @@ + +Tux Paint "Magic" Tool: Rays + + + +

    Tux Paint "Magic" Tool: Rays

    +

    Group: Distorts

    +

    Author: +Bill Kendrick <bill@newbreedsoftware.com>

    +

    This transforms the picture into brush strokes that point towards where you clicked.

    +

    See also: Circles.

    +
    +

    Tux Paint 0.9.29

    + \ No newline at end of file diff --git a/magic/magic-docs/es_ES.UTF-8/index.txt b/magic/magic-docs/es_ES.UTF-8/index.txt index 0d57333e0..90d774349 100644 --- a/magic/magic-docs/es_ES.UTF-8/index.txt +++ b/magic/magic-docs/es_ES.UTF-8/index.txt @@ -5,6 +5,7 @@ Distorts * Blocks * Blur * Chalk + * Circles * Clone * Distortion * Drip @@ -18,6 +19,7 @@ Distorts * Mosaic * Noise * Puzzle + * Rays * Ripples * Sharpen * Silhouette diff --git a/magic/magic-docs/es_ES.UTF-8/rays.txt b/magic/magic-docs/es_ES.UTF-8/rays.txt new file mode 100644 index 000000000..9bbc246c5 --- /dev/null +++ b/magic/magic-docs/es_ES.UTF-8/rays.txt @@ -0,0 +1,14 @@ + Tux Paint "Magic" Tool: Rays + + Group: Distorts + + Author: Bill Kendrick + + This transforms the picture into brush strokes that point towards where + you clicked. + + See also: Circles. + + ---------------------------------------------------------------------- + + Tux Paint 0.9.29 diff --git a/magic/magic-docs/fr_FR.UTF-8/circles.txt b/magic/magic-docs/fr_FR.UTF-8/circles.txt new file mode 100644 index 000000000..ec4f7ded5 --- /dev/null +++ b/magic/magic-docs/fr_FR.UTF-8/circles.txt @@ -0,0 +1,14 @@ + Tux Paint "Magic" Tool: Circles + + Group: Distorts + + Author: Bill Kendrick + + This transforms the picture into circular brush strokes around where you + clicked. + + See also: Rays. + + ---------------------------------------------------------------------- + + Tux Paint 0.9.29 diff --git a/magic/magic-docs/fr_FR.UTF-8/html/circles.html b/magic/magic-docs/fr_FR.UTF-8/html/circles.html new file mode 100644 index 000000000..7ca725ff0 --- /dev/null +++ b/magic/magic-docs/fr_FR.UTF-8/html/circles.html @@ -0,0 +1,14 @@ + +Tux Paint "Magic" Tool: Circles + + + +

    Tux Paint "Magic" Tool: Circles

    +

    Group: Distorts

    +

    Author: +Bill Kendrick <bill@newbreedsoftware.com>

    +

    This transforms the picture into circular brush strokes around where you clicked.

    +

    See also: Rays.

    +
    +

    Tux Paint 0.9.29

    + \ No newline at end of file diff --git a/magic/magic-docs/fr_FR.UTF-8/html/index.html b/magic/magic-docs/fr_FR.UTF-8/html/index.html index a849fcbfd..99f67a003 100644 --- a/magic/magic-docs/fr_FR.UTF-8/html/index.html +++ b/magic/magic-docs/fr_FR.UTF-8/html/index.html @@ -7,6 +7,7 @@

    Distorts