Commit graph

487 commits

Author SHA1 Message Date
Bill Kendrick
6b4e82c8b4 WIP Centered trochoids tools
Epitrochoid & Hypotrochoid to draw Spiralgraph / Wondergraph
style line artwork.

See https://sourceforge.net/p/tuxpaint/feature-requests/248/
2024-01-07 02:42:22 -08:00
Bill Kendrick
5855d34a6e N-pt perspective supports beginner complexity level
The three "select" (vanishing point editors) are not available,
and a second 3-point perspective drawing tool, with an alternative
(downward-looking) set of vanishing points, is made available.
2023-12-30 13:45:20 -08:00
Bill Kendrick
5f8522766c N-pt perspective: Don't operate in novice mode 2023-12-29 15:49:12 -08:00
Bill Kendrick
4b2b746d52 Clone: Remove a debug printf 2023-12-29 15:42:45 -08:00
Bill Kendrick
d21a4a7a34 Clone magic: Don't operate in "novice" mode 2023-12-29 15:42:04 -08:00
Bill Kendrick
2055b071f1 All magic tools: Add "complexity_level" arg to init() 2023-12-29 14:43:40 -08:00
Bill Kendrick
3e662b9edc N-pt perspective Magic tools: Sound effects! 2023-12-23 13:28:43 -08:00
Bill Kendrick
c9e515017f Updating docs (new 3-pt persp. tool) 2023-12-23 10:51:08 -08:00
Bill Kendrick
7d424071eb Icons for 1- & 2-pt perspective tools 2023-12-22 16:00:14 -08:00
Bill Kendrick
2fb0d2693a N-pt persp: Shrink line thickness 2023-12-22 15:19:46 -08:00
Bill Kendrick
b20b4531c4 2-pt persp: mend vertical line direction flip 2023-12-22 01:38:33 -08:00
Bill Kendrick
86affde29f 2-pt persp: better guides 2023-12-22 01:21:28 -08:00
Bill Kendrick
5771e8aa8c 1- & 2-pt persp.: Drag can position vanishing point 2023-12-22 00:45:56 -08:00
Bill Kendrick
9cc4e80d98 2-pt perspective -- add more guides 2023-12-21 12:07:55 -08:00
Bill Kendrick
05b76c8b5f 2-point perspective via angles
Rather than using straight horizontal & vertical, it now snaps
to lines with the same slope as the two vanishing points
(the horizon chosen by the user), and lines perpendicular to that.

Note - Still need guides during drag.  Also, there's a bug when
calculating slope that causes the line to go way off in the
opposite direction, which needs addressing.
2023-12-21 02:22:07 -08:00
Bill Kendrick
e9db3d2393 N-point perspective: Use Magic API's pixel XOR 2023-12-21 00:36:48 -08:00
Bill Kendrick
a72e5b9b42 WIP 2-point perspective
Works okay assuming vanishing points form a horizontal line,
but that won't always be the case.
2023-12-21 00:32:03 -08:00
Bill Kendrick
648c6d8974 n_pt_persp.c -- address all compiler warnings
...unused parameters, undeclared function prototypes, etc.
2023-12-17 10:45:32 -08:00
Bill Kendrick
99e129005e More work on 1-point perspective Magic tool 2023-12-15 00:24:17 -08:00
Bill Kendrick
940132c30f WIP 1-point perspective (vanishing point) Magic tool 2023-12-14 22:12:29 -08:00
Bill Kendrick
ea63917d0e "Rail" & "Fretwork": avoid crash if can't load image 2023-11-12 15:27:30 -08:00
Bill Kendrick
1973e22e6f Some Magics: Add missing \n to stderr output
flower & googlyeyes were missing them in some fprintf() calls.
2023-11-12 15:16:09 -08:00
Bill Kendrick
3cf0223947 "Foam" magic: avoid crash if can't load image data 2023-11-12 15:14:09 -08:00
Bill Kendrick
78c0305b23 Calligraphy offers sizes now
h/t abruh for the idea
2023-07-01 02:02:16 -07:00
Bill Kendrick
e9b04a8759 Squiggles Magic tool icon 2023-05-23 00:41:57 -07:00
Bill Kendrick
f49f9f31ba Loops Magic tool icon 2023-05-23 00:40:17 -07:00
Bill Kendrick
ab53612d50 Ribbon Magic tool sound effect
CC-BY 3.0 by https://freesound.org/people/CosmicEmbers/
2023-05-23 00:37:12 -07:00
Bill Kendrick
375207f3d3 Smooth magic tool sound effect
CC-BY 4.0 by https://freesound.org/people/PercyFrench/
2023-05-22 23:56:41 -07:00
Bill Kendrick
5e24fb3742 Squiggles magic tool sound
CC0 by https://freesound.org/people/Tomoyo%20Ichijouji/
2023-05-22 23:46:53 -07:00
Bill Kendrick
da02bf19bf Loops magic tool sound
https://freesound.org/people/Jagadamba/sounds/254397/
CC-BY 4.0 https://freesound.org/people/Jagadamba/
2023-05-22 23:43:28 -07:00
Bill Kendrick
644176874c Bring ribbon.c & smooth.c out of WIP; add new tools...
...squiggly lines and loop-the-loops.
2023-05-22 00:10:58 -07:00
Bill Kendrick
de3f53545d WIP: Warp tool 2023-05-18 00:40:27 -07:00
Bill Kendrick
1beaad3553 WIP "Smooth" freehand curve drawing Magic tool
https://sourceforge.net/p/tuxpaint/feature-requests/238/
h/t Pere for the suggestion

Needs to support color, thickness (size controls), and have
a round brush shape (anti-aliased would be nice, considering
the objective is smoothness ;-) )
2023-05-16 23:53:23 -07:00
Bill Kendrick
b9305f2ceb Mending misbehavior in Cartoon magic tool
h/t @Miyagi_Andel on Twitter for the bug report
2023-05-16 16:58:44 -07:00
Bill Kendrick
56a921b4ee WIP Ribbon magic tool
Will add in 0.9.31, but stowing in git in the meantime.
2023-05-16 00:48:13 -07:00
Bill Kendrick
f8358530ff Tweaking "Light" effect 2023-05-08 21:49:59 -07:00
Bill Kendrick
d6940cc8b8 New Magic tool: Rainbow Cycle
Changes colors each time you use it (similar to Rainbow and
Smooth Rainbow, but only changes between strokes).
2023-05-02 00:01:05 -07:00
Bill Kendrick
fa9a0c5955 Blind: Drop fullscreen mode
h/t Pere
2023-04-30 22:58:45 -07:00
Bill Kendrick
08a3040111 Shaped Mosaic: Add some progressbar feedback 2023-04-27 23:53:16 -07:00
Bill Kendrick
18f9cad6fe Adding "indent.sh" to re-indent code; ran it!!! 2023-04-23 23:26:00 -07:00
Bill Kendrick
16336cc854 Alien: Add a missing function prototype 2023-04-23 23:15:47 -07:00
Bill Kendrick
1670f3f1ee Pixels: Mend canvas update glitch 2023-04-23 17:11:45 -07:00
Bill Kendrick
966d840126 Block, Chalk, Drip: Support sizes (really, intensity) 2023-04-23 17:02:26 -07:00
Bill Kendrick
7ab630c914 Smudge & Wet Paint: Support sizes 2023-04-23 16:37:52 -07:00
Bill Kendrick
17b23e19d0 Halftone: Update for new plugin API
(No size support at this time.)
2023-04-23 16:17:00 -07:00
Bill Kendrick
a1d3202754 Wrap up Flower size support; new flower_base.png 2023-04-23 15:45:18 -07:00
Bill Kendrick
3c3ba9a3b8 Flower: Redraw "flower_leaf.png"; better stalk color 2023-04-23 15:16:01 -07:00
Bill Kendrick
c448f090c5 WIP - Flower: Support sizes
Stalk color not matching leaf & base is more obvious at larger sizes.
Base, petals, and leaf bitmaps need to be drawn (just scaled up, and
made blurry, for the moment).
2023-04-23 12:35:07 -07:00
Bill Kendrick
1f6f7bb746 Rain: Support sizes 2023-04-23 11:56:12 -07:00
Bill Kendrick
be1486ccdc Snow & Snowflakes: Update to new plugin API
Would be nice to support sizes (snowflake will require new PNGs).
Also noting that it'd be nice to offer painting mode.
2023-04-22 12:31:32 -07:00