It is currently 08 May 2021, 16:31

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

circular face (path-to-circle map) Plug-in

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger

circular face (path-to-circle map) Plug-in

Post#1 by tim » 28 Apr 2021, 01:34


This plug-in allows you draw a path of a shape that is close to a circle (like a face) and it'll map it so that you get a perfect circle.
path-to-circle-map.py #
(5.75 KiB) Downloaded 14 times
path-to-circle-map.py #
version 2. Faster pixel access.
(6.85 KiB) Downloaded 26 times
Menu Location:Python-Fu/A Path To Circle Map...
Instructions:
1. Open an image with a face, draw a vector (closed loop vector) around the face (without the ears, just the face).
2. Run plug-in, choose number of sample points (100 is default) or could be thought of as sectors around the circle.
3. Wait, it'll create circle face image on a new image.
4. That's it enjoy.

Note: If you want to map a whole rectangle of source image to circle, make sure you select all turn to path, then extend canvas size and layer to image size such that the vector/path is WITHIN the canvas and not at the boundary because sometimes it errors out because of bounds.

You can see more examples on my CircleArt5 twitter account: https://twitter.com/CircleArt5

Here's a sample run (at 100 sample points, you can see how the circle is divided into circular pixels sort'a).
will-smith.jpg
will-smith.jpg # (77.34 KiB) Viewed 527 times (Thumbnail | Recognize | Sq Tile)
Here's a sample run (at 400 sample points, you see less circular pixels, looks much better).
will-smith2.jpg
will-smith2.jpg # (95.89 KiB) Viewed 512 times (Thumbnail | Recognize | Sq Tile)
aka Tin

         

tim
GL Blogger

Post#2 by tim » 28 Apr 2021, 03:10


mona-lisa.jpg
mona-lisa.jpg # (66.98 KiB) Viewed 499 times (Thumbnail | Recognize | Sq Tile)
aka Tin

         

tim
GL Blogger

Post#3 by tim » 28 Apr 2021, 03:29


ariana-grande.jpg
ariana-grande.jpg # (59.62 KiB) Viewed 499 times (Thumbnail | Recognize | Sq Tile)
aka Tin

         

tim
GL Blogger

Post#4 by tim » 28 Apr 2021, 03:56


justin-beiber.jpg
justin-beiber.jpg # (55.02 KiB) Viewed 499 times (Thumbnail | Recognize | Sq Tile)
aka Tin

         

tim
GL Blogger

Post#5 by tim » 28 Apr 2021, 05:07


some-triangle-design.jpg
some-triangle-design.jpg # (41.45 KiB) Viewed 489 times (Thumbnail | Recognize | Sq Tile)
aka Tin

         

Krikor
Forum Member

Post#6 by Krikor » 28 Apr 2021, 14:03


The first impression was comical :-) I smiled here looking at the created cartoons. :rofl:

I hope to be able to play with this plugin today, curious to try it out.

Thank you Tim.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston

Krikor
Forum Member

Post#7 by Krikor » 30 Apr 2021, 15:19


Tim, this plugin somewhat resembles another one of yours: Circle Map plug-in viewtopic.php?p=28425#p28425
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston

tim
GL Blogger

Post#8 by tim » 02 May 2021, 16:23


I think the results are different though.
aka Tin

         


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: gimpturkey and 25 guests