MadJik Posted July 10, 2007 Share Posted July 10, 2007 KaleidGen: Computer generated Kaléidoscopes What's this? This is a plugin under Effect/Render menu. Kaleidoscope generator based on http://sprott.physics.wisc.edu/pickover/ekscop.html Thanks to Dr. Cliff Pickover for this article. Thanks to Nemerle http://www.developpez.net/forums/member.php?u=25295 who gave me this link... _________________ How does it works? 1. I define and draw a random triangle. 2. Then I draw the same triangle using the symmetries horizontal, vertical and oblique (+/-45°) to have 8 triangles. 3. Etc with a lot of other triangles... _________________ Download the DLL: Plug-in KaleidoGen.dll Here is the DLL The MadJik's All plugins package is available !http://forums.getpaint.net/index.php?showtopic=7186 How to install Close Paint.net Classic version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects Microsoft Store version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: /My Documents/paint.net App Files/Effects/ You have to adapt for your language My Documents _________________ The User Interface: This plug-in is added to the menu Effects, submenu Renders. Quantity of shapes (1,500, dft 5) __you choose the quantity of triangles you want as model to be copied. It means for an amount of 1 will result in 8 copied triangles. Drawing area width (1,5000, dft 100) __For the first piece to draw it's the maximum value for the width. As this piece has many reflections it's a bit confusing to explain. Drawing area height (1,5000, dft 100) __Same as width but for the height of the first piece. Overlay amount (1,5000, dft 100) __This amount gives the possibility to have the shapes to be superimposed by overflowing on the close parts. Reseed (1,10000, dft 1000) __Initial value for the randomizer. Each value is a start of a new sequence of random numbers. So if you're happy with an image, recall the amount! __Click the button with (?) to get a random amount. Transparency level (0,255, dft 128) __This is the alpha value used to draw the shapes and borders. Choose the shapes __You could choose to have triangles, rectangles, ellipses or Bezier curves, or a mix of all. Rectangles and Ellipses are drawn horizontally or vertically... You could also choose the maximum size of the width for the Bezier curves. Anti-Alias (dft checked) __As it says! Gradient (dft unchecked) __Shapes are filled with a random solid color. If you check Gradient, then the shapes (except the Bezier curves) will be filled with a gradient from 2 points of the shape. Borders (dft unchecked) __Add a border to the triangles, rectangles or ellipses. Grey colors (dft unchecked) __Use only grey colors. Nota: As the shapes are drawn one at a time, if you choose Gradient or Border, you will have some overwriting that will corrupt the symmetries... To reduce this problem, set the transparency to 128. TIP: Set the quantity to 1, it allows you to test and accept one set of shapes at a time... _________________ Voilà ! _________________ Some examples: For your information, you could also find here: http://forums.getpaint.net/index.php?showtopic=3428 the kaleidoscope for picture... to make this: Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
oma Posted July 10, 2007 Share Posted July 10, 2007 does this replace the other Kaleidoscope effect or is this something different? If replacing does this overwrite the other file or am I required to delete that first then add this plugin? OMA Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
Yata Posted July 10, 2007 Share Posted July 10, 2007 This is separate from the other plugin, your fine running both, OMA. Also, very nice plugin. Good job. Quote "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former" [ dA Paint.NET Chat :: Yata on dA ] Link to comment Share on other sites More sharing options...
oma Posted July 10, 2007 Share Posted July 10, 2007 does this replace the other Kaleidoscope effect or is this something different?If replacing does this overwrite the other file or am I required to delete that first then add this plugin? OMA forget that post its something different I see didn't delet old one and am amazed by results ...especially when I used both effects one after another. great plug in. thanks for sharing with us all. Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
Ash Posted July 11, 2007 Share Posted July 11, 2007 Very nice! thanks again Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
Myrddin Posted July 11, 2007 Share Posted July 11, 2007 This will come in handy for some excellent abstract backgrounds. Thank you MadJik. Also, do you have something with triangles? Kaleidoscope Generator, Light Rays... Quote How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
MadJik Posted July 11, 2007 Author Share Posted July 11, 2007 I appreciate all your thanks... This will come in handy for some excellent abstract backgrounds. Thank you MadJik.Also, do you have something with triangles? Kaleidoscope Generator, Light Rays... You mean mathematical geometry? Once you've understand how to use a formula to create a plugin, the hardest thing is to find and understand other formulas to create other plugins... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
barkbark00 Posted July 11, 2007 Share Posted July 11, 2007 This renders really well for drawing so many objects... Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
moc426 Posted July 11, 2007 Share Posted July 11, 2007 wow, I wasn't sure what to expect with this, but this just draws random triangles and what not, and they look cool! This is my favorite plugin from you, well and light rays which is useful as well. ONE Request for all your plugins. Make the cancel button work, when I hit escape, most plugins like the built in ones cancel out. Hitting esc does nothing in your plugins. You can add this line in the Form.Designer this.CancelButton = this.cancelButton; <- your cancel button, whatever name you called it. Quote Link to comment Share on other sites More sharing options...
barkbark00 Posted July 11, 2007 Share Posted July 11, 2007 I just thought of a enhancement request: Add the option to load PdN palette files or have some other type of color scheme selection option instead of random colors... Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
MadJik Posted July 12, 2007 Author Share Posted July 12, 2007 ...ONE Request for all your plugins. Make the cancel button work, when I hit escape, most plugins like the built in ones cancel out. Hitting esc does nothing in your plugins. You can add this line in the Form.Designer this.CancelButton = this.cancelButton; <- your cancel button, whatever name you called it. Thanks for this tip! Now I need to update a lot of plugins... ...Ok I won't update all (8-9) topics, but all DLL are updated and concerned DLL are grouped in this zip: Here is the zip for the updated DLLs Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
moc426 Posted July 12, 2007 Share Posted July 12, 2007 Great thanks, that was a good way to make get all your plugins lol. I was too lazy to figure out which I didn't have. ESC works yay! ...ONE Request for all your plugins. Make the cancel button work, when I hit escape, most plugins like the built in ones cancel out. Hitting esc does nothing in your plugins. You can add this line in the Form.Designer this.CancelButton = this.cancelButton; <- your cancel button, whatever name you called it. Thanks for this tip! Now I need to update a lot of plugins... ...Ok I won't update all (8-9) topics, but all DLL are updated and concerned DLL are grouped in this zip: Here is the zip for the updated DLLs Quote Link to comment Share on other sites More sharing options...
barkbark00 Posted July 13, 2007 Share Posted July 13, 2007 MadJik, would it be hard to include an option to have more than just triangles generated? (e.g., circles/ovals and squares.) Just wondering... Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
pyrochild Posted July 13, 2007 Share Posted July 13, 2007 I almost always start working on a new image with either Clouds or Gradient Bars. This plugin is probably going to change that. Thanks, MadJik! Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
MadJik Posted July 13, 2007 Author Share Posted July 13, 2007 MadJik, would it be hard to include an option to have more than just triangles generated? (e.g., circles/ovals and squares.) Just wondering... Shouldn't be difficult, I will see... Good idea! (I'm not really happy with the colors too, but I haven't found a good way yet to solve this) Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
evangelistc01 Posted July 16, 2007 Share Posted July 16, 2007 this plugin is very cool. was able to make something short and simple for a desktop background :wink: *change to jpeg for background Quote "There is no such thing as death, there is a higher version of yourself waiting to say hello." Link to comment Share on other sites More sharing options...
MadJik Posted July 17, 2007 Author Share Posted July 17, 2007 Look at the first post of this topic for the lastest version of the KaleidoGen plugin. Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Ash Posted July 17, 2007 Share Posted July 17, 2007 Thanks!! Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
MadJik Posted December 9, 2007 Author Share Posted December 9, 2007 (edited) See first post... Edited April 17, 2018 by MadJik Double of first post Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 29, 2008 Share Posted August 29, 2008 I got this error message while randomy changes some values; I forgot which one it was when the crash happened. File: C:\Program Files\Paint.NET\Effects\KaleidoGen.dll Effect Name: KaleidoGen.KaleidoGen Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.InvalidOperationException: Object is currently in use elsewhere. at System.Drawing.Graphics.set_SmoothingMode(SmoothingMode value) at KaleidoGen.KaleidoGen.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderImpl() --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.Join() at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() at PaintDotNet.Effects.BackgroundEffectRenderer.Start() at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClassb.b__8(Object sender, EventArgs e) 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...
MadJik Posted August 30, 2008 Author Share Posted August 30, 2008 Sorry for the trouble... I can't reproduce it. Could you give me more details: *PDN version *Picture size *Settings etc... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 30, 2008 Share Posted August 30, 2008 Ya, well, I can't reproduce it either. All I remember is that I was using the effect on a selection. Using v3.36. When I posted the error message, I hoped that the error message itself would tell you what you needed to know in order to fix. I'm sorry I can't supply more details. 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...
MadJik Posted June 3, 2009 Author Share Posted June 3, 2009 I got this error message while randomy changes some values; I forgot which one it was when the crash happened. File: C:\Program Files\Paint.NET\Effects\KaleidoGen.dll Effect Name: KaleidoGen.KaleidoGen Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.InvalidOperationException: Object is currently in use elsewhere. at System.Drawing.Graphics.set_SmoothingMode(SmoothingMode value) at KaleidoGen.KaleidoGen.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderImpl() --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.Join() at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() at PaintDotNet.Effects.BackgroundEffectRenderer.Start() at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClassb.b__8(Object sender, EventArgs e) I think this bug is fixed now... Look at the first post of this topic for the lastest version of the KaleidoGen plugin. Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Hailey Posted June 16, 2009 Share Posted June 16, 2009 Thanks for taking the time to help, I really apprciate it. Quote Dell Computers 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.