ProlificDesign Posted August 27, 2016 Share Posted August 27, 2016 I'm not sure how to utilize this site to my advantage as of yet so please bear with me. To BolBait, or any plug-in designers. I was wondering if you could design a plug-in in where the Bezier slimmed to a point at the ends, eg instead of an arrow head or curved it will be a point like a bendy needle? at the moment I am using curved tipped (beziers) in black for eg. then using (white) beziers on top of the black ones to overlap the tip and turn it into a point. (as shown in image) This would be useful in outlining characters or objects. its not a necessity but helpful. 1 Quote Link to comment Share on other sites More sharing options...
Eli Posted August 27, 2016 Share Posted August 27, 2016 The closest tool to design pointy curves is the Volute effect but it is not what you really want. Quote Link to comment Share on other sites More sharing options...
ProlificDesign Posted August 27, 2016 Author Share Posted August 27, 2016 thanks for the reply. I agree it it close and you can manipulate volutes the way I want to. lengthy process lol Can a new style end cap be created? Quote Link to comment Share on other sites More sharing options...
Shochi Posted August 27, 2016 Share Posted August 27, 2016 its amazing plugin dear @Eli. i should try it. dear @ProlificDesign. i tried to expend what i understand from what you wrote: did i misunderstand ? Quote Link to comment Share on other sites More sharing options...
ProlificDesign Posted August 27, 2016 Author Share Posted August 27, 2016 No you did not, what you've done is accurate and how I slice lines. what I would like is an option in the Bezier style toolbar, to change the cap eg. (rounded, arrow, square); to a 'point' cap, as you and I have both demonstrated Quote Link to comment Share on other sites More sharing options...
Shochi Posted August 27, 2016 Share Posted August 27, 2016 Well, i still didn't got yet to develop a plugin. but i like your idea. it's will be great such as this one. Quote Link to comment Share on other sites More sharing options...
ProlificDesign Posted August 27, 2016 Author Share Posted August 27, 2016 agreed, there are many ways I can think to use it. I need to figure out how to crate plug-ins.. any tips or walk throughs anywhere? Quote Link to comment Share on other sites More sharing options...
MJW Posted August 27, 2016 Share Posted August 27, 2016 There are quite detailed tutorials by BoltBait and others. You need to have some knowledge of C# to write plugins, since that's the language Paint.net uses. Plugins are most often written using a feature of PDN called CodeLab, but can also be written using the Visual Studio development system (versions of which are free). This is explained in the tutorials. 1 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 27, 2016 Share Posted August 27, 2016 I'd really like to have those sort of tapered lines too. There's nothing in the .NET Framework that will provide that style of end cap, nor have I seen any 3rd-party libraries that offer it. Having said that, I think I might be able to hack something together. I'll try to work on it next weekend. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
ProlificDesign Posted August 28, 2016 Author Share Posted August 28, 2016 @toe_head2001 ill be waiting patiently lol @Shochi ill have a gander at them now thx @MJW I have created a few sites using CSS and HTML. is codelab a similar framework? 1 Quote Link to comment Share on other sites More sharing options...
MJW Posted August 28, 2016 Share Posted August 28, 2016 C# is a programming language, and CodeLab is a sort of editor/compiler that allows the C# code to be immediately executed within Paint.net. I wouldn't say C# is too similar to HTML, which is a markup language. (Given a choice, I'd much rather write C# than HTML.) If you read the beginning CodeLab tutorial, you will see some simple plugin examples showing how the pieces fit together. You really don't need to know much C# to write plugins. C# has lots of fancy features that are seldom needed for plugins. All most plugins do is go through pixels in the destination buffer (the one containing the image after it's been modified) one at a time and calculate each pixel's color. The calculations can be rather complex, but the concept is straight forward. Unfortunately, I think the plugin you're interested in for this thread is on the upper-end of plugin complexity. It probably requires fairly sophisticated knowledge of Microsoft's 2D rendering system, GDI+. As head_toe2001 mentioned, the tapering line-ends isn't something built in to the .NET framework, which makes the problem considerably more difficult. Quote Link to comment Share on other sites More sharing options...
ProlificDesign Posted August 28, 2016 Author Share Posted August 28, 2016 @MJW understood, which is a shame because I think It would be a nice little add-on. I find HTML pretty easy to pick up on so I think id enjoy working with C#. Do you work with blender? Quote Link to comment Share on other sites More sharing options...
BoltBait Posted August 28, 2016 Share Posted August 28, 2016 If you wish to use HTML/CSS to create graphics for paint.net, you can use: Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
MJW Posted August 28, 2016 Share Posted August 28, 2016 Do you work with blender? Not yet, though I'm quite curious about it, and look forward to trying it out. Quote Link to comment Share on other sites More sharing options...
ProlificDesign Posted August 28, 2016 Author Share Posted August 28, 2016 @BoltBait appreciate the renderer, nice one @MJW I highly recommend it, I'm a big fan of short animations and film intros. I'm wondering what has taken you so long to not already be using it lol Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 28, 2016 Share Posted August 28, 2016 I've been playing with a tapered line renderer. Unfortunately the forum update & ensuing problems got in the way. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 1, 2016 Share Posted September 1, 2016 @ProlificDesign, you said you're using Bezier Curves, but in your screenshot, it shows Spline Curves is selected. Please clarify which type of curve you're using, as they work very differently. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted September 2, 2016 Share Posted September 2, 2016 I never use bezier, I only use spline. The truth is that I do not know the difference between them I also do not know when it is best to use bezier lines. Quote Link to comment Share on other sites More sharing options...
MJW Posted September 2, 2016 Share Posted September 2, 2016 EDIT: Removed the original comment, because it was misleading and (at best) requires more explanation, which I don't have time to provide right now. Perhaps I'll restore it later. Quote Link to comment Share on other sites More sharing options...
Red ochre Posted September 2, 2016 Share Posted September 2, 2016 Hi Eli, Take a look here https://en.wikipedia.org/wiki/Bézier_curve ... skip all that maths nonsense (I do!) and see the animated constructions halfway down the page. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Shochi Posted September 4, 2016 Share Posted September 4, 2016 Dear @ProlificDesign, my friend, i found for you the plugin you wish but it built. you can play with it. the plugin is called "KaliedoGen" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.