davidf

Curly Lines plugin: updated to v1.1a (19th Nov 2012)

Recommended Posts

Effects > Render > Curly Lines

This plugin draws all kinds of curly (and straight) lines ...

Added in Version 1.1a:

  • Draws an initial line instead of just a dot.

Added in Version 1.1:

  • The dialog is now resizeable (thanks to midora).
  • Two new color modes: "First to second color -- across width" and "Emboss", along with "Emboss angle".
  • "Swap colors" checkbox.
  • "Transparency".
  • "Start radial direction is random".

For information on the new features, see this post:

http://forums.getpai..._20#entry381760

The PDF guide has been updated too, though it only describes the new controls very briefly.

(Note: the dialog shown below is for version 1.0).

curly%20lines.jpg

There are a large number of parameters, so I wrote a small guide, which I recommend reading before using the plugin (it includes a quick tour of all the parameters):

http://home.lizzy.co...gin%20guide.pdf (856 K)

Have fun! I'd love to see people's pics.

Download: CurlyLines1.1a.zip

Known bugs: As mentioned in the PDF guide, this plugin has a problem handling lines with high widths and chaotic (low smoothness) lines or the "short sharp" end style.

Edited by davidf
  • Upvote 7

Share this post


Link to post
Share on other sites

Wow, looks like it can do some really cool things. But that UI is really intimidating ;)

Hope that doesn't put people off too much!

Normally you only need to use a small number of parameters at a time. For example, to draw a star, click Radial then set Displacement to zero, Number of lines to 10 (or whatever) and move the start end and end points. (Then change Start width and the colors).

Edited by davidf

Share this post


Link to post
Share on other sites

WoW, - looks brilliant, thank you and thanks for taking the time to write instructions. :star: :star: :star: :star: :star:

Some plugins suit simple interfaces but its good to have ones with plenty of parameters to 'tinker' with too! :)

Share this post


Link to post
Share on other sites

Awesome, thanks so much, it generates some cool shapes.

I made this and haven't read the instruction yet:

sun-flower.jpg

Amazing. I reconize the flower petals, but how did you do the inside of the sunflowers and the veins in the leaves?

Edited by davidf

Share this post


Link to post
Share on other sites

Wonderful!

And many thanks for the time you spent for the community in the last weeks creating these great plugins.

It would be nice if you could add the parameters you used to create the examples.

Maybe we could discuss a general way for plugins how to get and put whole sets of plugin parameters (i.e. using an XML description).

And I'm happy that you implemented a solution for the reseed (as I just proposed in developer central). Looks like a simullar understanding of the issue.

Share this post


Link to post
Share on other sites

Thanks everyone, well the petals are Curly Lines plugin then some drop shadow, the leaves are also same plugin with Smudge for the veins then some Laplacian pyramid filter plugin,

the center made using a different technique, the plugin wasn't involved, it is Diagonal Cross bucket fill, some displacement then Polar transformation plugin.

And in this one, just the sparks are curly lines plugin.

Click for larger size (980 KB):

th_lazerball.gif

Share this post


Link to post
Share on other sites

It would be nice if you could add the parameters you used to create the examples.

If I could remember them all! :P I did write some down, actually. Is there a particular example you were wanting parameters for?

Maybe there could be a "recipe book" with example images and their parameters? Not sure how much one is needed ...

Maybe we could discuss a general way for plugins how to get and put whole sets of plugin parameters (i.e. using an XML description).

And I'm happy that you implemented a solution for the reseed (as I just proposed in developer central). Looks like a simullar understanding of the issue.

Being able to save and restore a set of parameters via XML sounds like a good idea.

Two things I wasn't sure how to implement using IndirectUI:

  • Ideally, pressing Reseed should fill in the Randomization code field (with a random string).
  • It would be good to have a Reset all button that sets all of the parameters to their default values.

Is there a safe way to set control values programmatically for a PropertyBasedEffect?

Edited by davidf

Share this post


Link to post
Share on other sites

And in this one, just the sparks are curly lines plugin.

Click for larger size (980 KB):

th_lazerball.gif

Very cute! Animated, too.

That's one of the effects I had in mind when I started writing the plugin (as well as the idea of electricity flowing between two points). It was originally called Lightning / curve.

One parameter I didn't get around to adding was "fork" (or "split") to make lightning more realistic and create fractal-looking tree things.

Edited by davidf
  • Upvote 1

Share this post


Link to post
Share on other sites

Maybe one additional hint. Add

	    
    protected override void OnCustomizeConfigUIWindowProperties(PropertyCollection props)
    {
	    props[ControlInfoPropertyNames.WindowIsSizable].Value = true;
	    base.OnCustomizeConfigUIWindowProperties(props);
    } /* OnCustomizeConfigUIWindowProperties */

Share this post


Link to post
Share on other sites

Hello David,

I'm really enjoying this plugin - just had fun making a meadow!

curlylinesgrass.png

It could be useful to have shading across the width of the line too? (if not too cumbersome to add).

This could be from the primary color, as adding another color wheel would make UI even bigger.

Just think it might add more 'depth' when using it for grass/flowers.

The branching idea sound good too!

Thanks again :)

Share this post


Link to post
Share on other sites

@ YM and Red O' ... there's nothing like seeing what a plugin can do and you've both done just that. Awesome stuff guys

Not to mention the work that must have gone into the plug-in. Thanks davidf

What a great community and I can't wait to play with this when I get a spare hour or so

Share this post


Link to post
Share on other sites

Seeing some of the examples here of what this plugin can do is really impressive. I hope to have a play around and try to come up with something too. Top marks davidf for writing this, kudos to yellowman & Red ochre for showing us what can be done. :)

Share this post


Link to post
Share on other sites

As I've said before - people who create these plug-ins have my upmost respect and I thank you for doing them (I'd love to know how you do them ... is it like writing a programme for a hard drive, perhaps?).

Now downloading this plug-in and it's time to play :) Amazing results already from Yellowman and Red OChre :)

Share this post


Link to post
Share on other sites

It could be useful to have shading across the width of the line too? (if not too cumbersome to add).

This could be from the primary color, as adding another color wheel would make UI even bigger.

Just think it might add more 'depth' when using it for grass/flowers.

The branching idea sound good too!

Thanks again :)

Forgive me Red Ochre if I didn't do my quote right.

Davidf, your plug-in is amazing.

Unlike Yellowman I had to read the PDF. All I came up with at first was a few squiggly lines, so Thank You for writing that.

I was trying to make a sun and thought the same thought as Red Ochre about side shading.

:D

th_1stsun.png

Share this post


Link to post
Share on other sites

Great plugin . Thanks very much.

One suggestion - how about using tabs for the settings ? ( ie Colours, Start Point, Number of Lines, Styles, Twist , Recentre)

It would reduce the size of the UI considerably and make it more user friendly.

Share this post


Link to post
Share on other sites

Once again davidf you excel, another very useful plugin to have. By duplicating layers, using conditional hue/saturation adding a little a bit of rotate/zoom, a touch of yellow circle, mixed with some zoom blur on the smaller layer, I managed to make this fairly quickly. :)

funky.png

Good work yellowman, Red Ochre, Doughty & DrewDale, very creative works :D

Share this post


Link to post
Share on other sites

Wow! How good is this?! I will have to make some time to play with this. The outcomes I have seen are just wonderful. Thanks so much for your hard work. The .pdf is a great idea. Curly lines is what I have been waiting for :)

Share this post


Link to post
Share on other sites

Maybe one additional hint. Add

		
	protected override void OnCustomizeConfigUIWindowProperties(PropertyCollection props)
	{
		props[ControlInfoPropertyNames.WindowIsSizable].Value = true;
		base.OnCustomizeConfigUIWindowProperties(props);
	} /* OnCustomizeConfigUIWindowProperties */

Thanks, I'll include that in the next version.

Share this post


Link to post
Share on other sites

I'm really enjoying this plugin - just had fun making a meadow!

curlylinesgrass.png

I love it!

It could be useful to have shading across the width of the line too? (if not too cumbersome to add).

This could be from the primary color, as adding another color wheel would make UI even bigger.

Just think it might add more 'depth' when using it for grass/flowers.

Width-wise instead of length-wise shading sounds good ... it would help with "flame" images and things like that.

The next version might not be for a little while, though.

Share this post


Link to post
Share on other sites

As I've said before - people who create these plug-ins have my upmost respect and I thank you for doing them (I'd love to know how you do them ... is it like writing a programme for a hard drive, perhaps?).

If you'd ever like to make your own plugin, the best place to start is the CodeLab plugin, which does lots of the work for you:

http://forums.getpaint.net/index.php?showtopic=880

(There are some links to tutorials in the first post in that thread).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now