Blob Mod

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

User avatar
chucky
Posts: 3925
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Blob Mod

Post by chucky » Mon Apr 23, 2018 5:44 am

Imagine the blob brush if you could have sharp corners and straight edges.
I think that would be a very cool mod and make for some really fast and spontaneous backgrounds.
Of course the default preset would need heavily reduced point and no soothing- well that would be the point eh?

It would work great with masks and be soooo much quicker and spontaneous than point to point drawing.
Image


This was drawn in clip studio using the same idea with CSP's vector tools, of course it only exports raster.
Sequential offender.
my latest animations
User avatar
DK
Posts: 2434
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Blob Mod

Post by DK » Tue Apr 24, 2018 12:33 am

Thumbs up here on that! Custom shapes would be nice too.

Cheers
D.K
hayasidist
Posts: 2139
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Blob Mod

Post by hayasidist » Tue Apr 24, 2018 7:57 am

chucky wrote:Imagine the blob brush if you could have sharp corners and straight edges.
Good Idea!
DK wrote:...Custom shapes would be nice too...D.K
? you mean like scatterbrush but "just one big one" / an extension to the "draw shape" tool?
User avatar
DK
Posts: 2434
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Blob Mod

Post by DK » Tue Apr 24, 2018 8:07 am

yes....similar to paint shop pro where it allows you to create custom blob brushes. Sometimes you need a sharp edge like Chucky suggests rather than a smooth round edge. If you could create other shapes to use you could get all kinds of interesting effects.

Cheers
D.K
hayasidist
Posts: 2139
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Blob Mod

Post by hayasidist » Tue Apr 24, 2018 8:13 am

ah - brush shapes ... yes ... interesting ... whirr .whirr
User avatar
chucky
Posts: 3925
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: Blob Mod

Post by chucky » Tue Apr 24, 2018 9:09 am

Brush shapes.... yes I held off on mentioning that, I'm worried about excessive points, however, I do wonder about a stamp blob that paints a vector shape with the shape of an image texture.
Of course his would be possible, but Moho is so far behind in drawing tools... how can we expect that when blob barely works in it's basic form?

I guess if a script mod demonstrated that, we could show it off ar some of the facebook pages and make a request, it might pique dev's interest.

I think the straight edge would be more useful for now....
Sequential offender.
my latest animations
User avatar
synthsin75
Posts: 7145
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Blob Mod

Post by synthsin75 » Tue Apr 24, 2018 6:33 pm

I don't know about doing straight edge, other than peaked points or constraining to an axis, but I did test different "brushes." I just swapped the circle brush for the square and diamond graphics markers that already exist in the Moho API, but like Chucky said, those create a lot more points.
User avatar
chucky
Posts: 3925
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: Blob Mod

Post by chucky » Tue Apr 24, 2018 6:55 pm

synthsin75 wrote:I don't know about doing straight edge, other than peaked points or constraining to an axis, but I did test different "brushes." I just swapped the circle brush for the square and diamond graphics markers that already exist in the Moho API, but like Chucky said, those create a lot more points.
Peaked points would be perfect l think if the point reduction is quite high.

I tried changing some values in the blob script to 0, hoping it might do something , but I just don't know what I'm doing and no matter it just keeps getting smoothed out after stroke.
Sequential offender.
my latest animations
User avatar
synthsin75
Posts: 7145
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Blob Mod

Post by synthsin75 » Tue Apr 24, 2018 7:35 pm

Chucky, does just peaking all the blob points give the desired result? That'd be dead simple.
User avatar
chucky
Posts: 3925
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: Blob Mod

Post by chucky » Tue Apr 24, 2018 7:44 pm

Yeah... probably . The more minimal points the better. :D
Sequential offender.
my latest animations
User avatar
synthsin75
Posts: 7145
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Blob Mod

Post by synthsin75 » Tue Apr 24, 2018 10:28 pm

I doubt just peaked points will do it, but give it a try.

http://www.filedropper.com/lmbrush
User avatar
chucky
Posts: 3925
Joined: Sun Jan 28, 2007 4:24 am
Location: Van Diemen's Land
Contact:

Re: Blob Mod

Post by chucky » Wed Apr 25, 2018 4:13 am

Wow Wes! Yes!
That's exactly it!
SO much better for drawing so many things ! :D :D :D

Thanks so much.
If only the damn blob didn't have that basic underlying flaw changes ( melts) the shapes that have already been drawn.
That's the big problem with the blob brush overall, isn't it?

It has so much potential, imagine a slider that had two settings max and min to set the range when the brush would peak.
You could draw long elegant curves that snap sharply on points and corners.
Maybe a modifier key that would regulate peak to curve?

Anyway thanks so much.

This is great for drawing so much stuff, mountains, trees, bg buildings and just a cooler looking shape than the regular blob.

So, back to the issue that the basic tool has of losing fidelity.
Is this due to a process of rasterisation and vectorisation churning in the background?

Why does the shape continuously spread and lose shape... can we call it Melting? or something ?
Why does it Melt?
Sequential offender.
my latest animations
User avatar
DK
Posts: 2434
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Blob Mod

Post by DK » Wed Apr 25, 2018 4:58 am

Wes.....that mod is fantastic! Makes the blob brush a ton more useful than it was before. :D

Thank you!
Cheers
D.K
User avatar
synthsin75
Posts: 7145
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Blob Mod

Post by synthsin75 » Wed Apr 25, 2018 6:25 am

Whoa, I didn't expect that to do the trick.
This seems to fix the "melting", at the cost of less point reduction (but it still looks like a fair trade off to me):

http://www.filedropper.com/lmbrush_1

If enough people like this, I'll see about making peaked and the no-melt simplification tool options instead of hard-coded (like they are now).
User avatar
DK
Posts: 2434
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Re: Blob Mod

Post by DK » Wed Apr 25, 2018 6:33 am

First thing I created with it was a mountainous horizon in seconds. Could never do things like that with the old blob brush. I struggle to make simple clouds with it as the drift would cause the initial stamped points to go out of shape and you ended up with wonky circles and a wonky cloud, (well most clouds are wonky but you get the point). This sharp edge brush is waaaay more useful. I will be using it all the time now.
Thanks again Wes for the script and Chucky for the idea.

Cheers
D.K
Post Reply