Loomis Head Generator Plugin

Hey there,

Initially just meant as a PoC/exercise for myself, /r/krita broke my inbox asking for the plugin after I posted a video. So I refactored it properly, wrote a GUI, and fixed a few rough edges. I feel comfortable releasing it now as v0.0.1.

With this plugin you can generate Loomis heads.

You can rotate, scale, cut the side rims and color them however you like. Additionally you can also change the line stroke width and disable some guide lines like the edges, rims and crosses. Color selection has a live preview.

Preview:

This works by generating a 3D model and projecting it on a 2D plane as an SVG.

It’s a little laggy/flickery while rotating the head, but it’s looking clean once it’s saved. (I didn’t find a better way than to remove all shapes and add new ones with addShapesFromSvg for each rotation step, so that’s a bit expensive..)

Here is a video:

It’s in v0.0.1 so I expect issues. Please let me know if you face some if you want to try it out. :slight_smile:

I tested it on Linux and Windows on a drawing tablet, both running 5.2.11.

It really only depends on Python 3.7. The plugin ships everything it needs.

Hope you like it and it helps someone :slight_smile:

37 Likes

ooooOOOOOOHHHH!!! Amazing!!!

3 Likes

i cant seem to find it

After installation and a restart of Krita it is found under Tools >> Scripts

Michelist

8 Likes

Very nice and innovative!

1 Like

that’s insane, wow!! thank you for cleaning it up and sharing with everyone :yellow_heart:

1 Like

How do I edit these once they’re already made?

Sadly you can’t yet. Right now saved means final. Its due to technical limitations of the Python API. While I can implement some kind of configuration storage which would offer you editing existing heads, there are more limitations that would break the logic eventually.

I’ll keep an eye on additions to the API to properly enable this. (It was my intention to have this in v0.0.1)

1 Like

Huh. I got it to be able to get edited, I just don’t remember how I did it each time.

Very good plugin. Can you create more like this in the future, such as one that creates geometric shapes like boxes and cylinders?
They can be rotated, repositioned, and resized to build a figure.

3 Likes

Fantastic little plug-in you have here! :star: I tested it out and can say it is very useful. Would very much like to see this added to Krita as a permanent feature. (is it possible that you could maybe make this a docker?) As a portrait artist who needs these kinds of tools on a regular basis, more tools like this aimed at portrait and figure drawing would be great. :grin:

3 Likes

Thank you for the nice feedback, happy to see it works for you!

The most difficult part of the plugin is the rendering from 3D->2D so I certainly can add other shapes like boxes, cylinders, pyramids and alike.

I can take a look how much time it would take soon.

@DulcetFancy Thanks!

I initially intended it as a real docker, somewhere next to the brush selection. It seemed a little much to do this just for a Loomis head. It could make sense if more shapes were added and instead rather make it a Geometry Shapes plugin, than a Loomis Head plugin. :smiley:

Making it a permanent feature could be a little difficult. I know I can submit my plugin to the Krita repository, but then I’m obliged to actually maintain it there if I want to keep it there. :smiley:

If I’m already submitting code to the Krita repo, I might as well just add the feature itself into Krita rather than as a Python plugin. But I need to take a look if that’s even wanted from the Krita teams side.

I’ll think about it. Having it as an actual Krita feature would make things much more performant, faster and less flickery.

5 Likes

Wonderful! You are welcome! :+1: Looking forward to seeing what you do with this nifty plug-in. :grinning_face_with_smiling_eyes:

1 Like

Dude this is INCREDIBLE. I usually had to throw up Blender with a head model but maybe I could try this instead

1 Like