Commit graph

378 commits

Author SHA1 Message Date
Bill Kendrick
bb12be2518 More work on Magic size support
Set default, pass current size to plugin when tool changes.
2023-04-11 23:57:51 -07:00
Bill Kendrick
7bdb19ff0f More work on Magic size support; "kalidescope" <sic> is underway 2023-04-11 22:16:45 -07:00
Bill Kendrick
a4d942db69 Sound effect for Double Vision magic 2023-03-22 00:52:00 -07:00
Bill Kendrick
ec7aadef9e Icon for Double Vision magic 2023-03-22 00:44:10 -07:00
Bill Kendrick
dfd9ad0850 3D Glasses, Color Sep., Double Vision: Preview mode
Preview at 3x3 blockiness while dragging (to hopefully help
performance on slower systems / larger canvases; my Pixel 7 struggled
to keep up).

Render the full effect upon mouse button release.
2023-03-22 00:34:35 -07:00
Bill Kendrick
9b9fc9c845 New Magic: Double vision
WIP - needs icon & sfx
2023-03-22 00:15:16 -07:00
Bill Kendrick
273b66f15f Shorten some magic tool filenames, for Android
See https://sourceforge.net/p/tuxpaint/mailman/tuxpaint-maintainers/thread/4f553b424ca33e3a10eaf76c289dac6c53175a02.camel%40gmail.com/#msg37792263
2023-03-19 21:51:59 -07:00
Bill Kendrick
e0aac1ab0e More corrections to Keep/Remove Color descrs 2023-03-13 01:15:17 -07:00
Pere Pujal i Carabantes
c3855b085b your the parts of your -> the parts of your 2023-03-13 08:35:06 +01:00
Bill Kendrick
5b6480fd2e Icons for Kaleido-* magic tools 2023-03-08 00:41:36 -08:00
Bill Kendrick
44c43c17d6 Sounds for Kaleido-* magic tools
(Still need icons)
2023-03-08 00:35:01 -08:00
Bill Kendrick
673e4ffc37 Sounds for Remove Color and Keep Color 2023-03-08 00:09:35 -08:00
Bill Kendrick
ad7b51d2ac Sounds for Saturate & Desaturate 2023-03-07 23:56:54 -08:00
Bill Kendrick
b4c284edc8 Icons for Saturate, Desaturate, Keep Color, Remove Color 2023-03-07 23:09:09 -08:00
Bill Kendrick
4ffae2aa24 Kaleido-8 variation of new Kaleidoscopic lens magic 2023-03-07 00:47:32 -08:00
Bill Kendrick
2ed6a36d8a Kaleidoscopic lense Magic tools 2023-03-01 01:22:15 -08:00
Bill Kendrick
77ddbaa2ec Keep/Remove Colors: Increase sat threshold; drop value threshold 2023-02-28 01:56:41 -08:00
Bill Kendrick
06aa682667 Actually commiting new Magic tool source
...and CHANGES.txt update
2023-02-28 01:20:47 -08:00
Bill Kendrick
3f1c4477d6 Boost Bloom weight constant
Doubling from 0.025 to 0.05, which still looks good.

Motivation - Karl says the effect seems to subtle and non-obvious.
2023-02-27 22:41:36 -08:00
Bill Kendrick
00da6d60fb Mend Googly Eyes name(!) & adjust how description l10ns
h/t Karl Ove Hufthammer
2023-02-27 22:28:12 -08:00
Bill Kendrick
559312682e Ensure 3D Glasses uses the right colors ;) 2023-02-23 00:30:42 -08:00
Bill Kendrick
2660904d52 Reworking 3D Glasses & Color Sep. icons & sfx (WIP) 2023-02-22 21:05:28 -08:00
Bill Kendrick
4eb834641d WIP: Splitting 3D Glasses out of Color Sep...
...and supporting any arbitrary color with Color Sep. tool.
2023-02-22 21:00:41 -08:00
Bill Kendrick
71ea0358c2 New Magic tool: Color Sep. (aka 3D Glasses) 2023-02-21 23:07:49 -08:00
Bill Kendrick
7af85524d7 Icon for Fur magic 2023-02-16 01:26:30 -08:00
Bill Kendrick
7e99b05510 Clean up more "unused variable" warnings 2023-02-12 13:25:59 -08:00
Bill Kendrick
4d932f800b Add ATTRIBUTE_UNUSED back to MAGIC_set_color() funcs
Avoid compile time warnings
2023-02-12 13:17:49 -08:00
Bill Kendrick
2066dc453e Googlyeyes: Different icon for small variation
h/t Pere
2023-02-11 21:33:57 -08:00
Pere Pujal i Carabantes
102bb825aa Adding progressbar to the Rush magic tool. 2023-02-10 00:47:23 +01:00
Bill Kendrick
996b09e508 Magic Bloom: Add sound effect
Source https://freesound.org/people/kentnelson64/sounds/647221/
("This work is licensed under the Creative Commons 0 License.")
2023-02-07 01:42:52 -08:00
Bill Kendrick
29d7d28614 Bloom: Show progress bar while working 2023-02-07 01:27:11 -08:00
Bill Kendrick
f4b8032d18 Magic Bloom: Descriptions & icon 2023-02-07 01:02:24 -08:00
Bill Kendrick
948158c1fd WIP "Bloom" magic effect. Mend crash in "perspective.c" 2023-02-06 02:22:21 -08:00
Bill Kendrick
65da4f4df4 Moving "Rivulet" magic src to a WIP subdir
Not ready for production.
2023-02-05 19:50:24 -08:00
Bill Kendrick
89b6df98a4 Maze magic: Increase iteration limit
h/t Pere
2023-02-05 00:06:37 -08:00
Bill Kendrick
1687fd4de1 Magic Fur: Sound effect 2023-01-30 00:35:19 -08:00
Bill Kendrick
6161ebe59a Doc'ing Fur magic tool in CHANGES & AUTHORS
Also, moving to "Paint" group (the other two remain in "Distorts")
2023-01-29 22:18:59 -08:00
Bill Kendrick
2f8f52917c WIP Fur magic tool
Needs changelog, docs, authors, sound effect, icon.
2023-01-29 21:16:12 -08:00
Bill Kendrick
2a7b00da49 Circles/Rays magic: correct one-off bug in description arrays 2023-01-29 00:54:29 -08:00
Bill Kendrick
b9e5d59dad 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- <https://scratch.mit.edu/users/-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
2023-01-28 23:12:28 -08:00
Bill Kendrick
7f93f243c1 Maze magic: ATTRIBUTE_UNUSED adjustments 2023-01-28 21:30:38 -08:00
Bill Kendrick
29a2d148b2 Maze magic tool - sound effect 2023-01-26 21:57:56 -08:00
Bill Kendrick
49f70c60d8 Magic Maze: Icon 2023-01-26 01:08:22 -08:00
Bill Kendrick
3b1c26c93d Update all other Magic tools' "set_color()"
FIXME: This loses "ATTRIBUTE_UNUSED" where they existed, and also
all of the files committed here need that compiler hint added to
all of the new arguments ('canvas', 'last', etc.) since they
obviously don't use them either.
2023-01-25 02:15:19 -08:00
Bill Kendrick
34de8311db Zoom/Perspective: Support background color changes
When in the middle of adjusting a drawing with Zoom or Perspective,
you could change the color.  However, the background would not
relfect this until you further adjusted the zoom/perspective.

Now, a color change causes the background to update immediately.

This involved updating the Tux Paint Magic API to send more
arguments to each Magic tool's "XYZ_set_color()" function,
which means a bump in the API version.

(Forthcoming, all other Magic tools will have their set_color()
functions updated.)
2023-01-25 02:12:57 -08:00
Bill Kendrick
5e829819aa WIP: Perspective & Zoom magic immediate color change support 2023-01-25 01:19:42 -08:00
Bill Kendrick
999e0c873e Maze magic: Got contiguous-or-not working right 2023-01-25 01:12:18 -08:00
Bill Kendrick
2e69c51bdb WIP: Maze: Allow multiple discontiguous zones 2023-01-23 02:48:56 -08:00
Bill Kendrick
aa35d18927 Doc'ing new "Maze" magic tool 2023-01-21 03:23:18 -08:00
Bill Kendrick
c15b6a176c WIP: "Maze" magic tool 2023-01-21 03:05:24 -08:00