Jump to content

TechnoRobbo

Members
  • Posts

    1,740
  • Joined

  • Last visited

  • Days Won

    132

Everything posted by TechnoRobbo

  1. Thanks Skully, select Even Pieces and use the subdivide slider
  2. Extremely Cool image! What was the inspiration for those monoliths ?
  3. Oh what the heck, it's only math. Eli and MJW - I hope this quenches your thirst for symmetry: Version 1.2 is ready for download!!!! Version 1.2 includes Subdivide Reverse Rotation Reverse Overlap Flip (image) Shift (slices)
  4. I love fractals. Any code with recursive loops gets my vote! My suggestion; add more commands than DrawArc - go for the polygons.
  5. Repetitions would be dependent on the image, Subdivisions is what your describing and that sounds like a good idea.
  6. Possible,I'm working on 2 other projects so it may not be right away
  7. try BoltBait's Paste Alpha http://forums.getpaint.net/index.php?/topic/28488-boltbaits-plugin-pack-for-v40-updated-february-5-2015/?p=409901
  8. Version 1.1 ready for downlaod Version 1.1 includes Extend to Border feature. (Special thanks to Red Ochre for the idea)
  9. Nice Sash, Very moody very impressive. And I see your a Doe Deere fan.
  10. Thanks Pixey. Thanks Seerose. Some really fine artwork ladies.
  11. Thanks!!!! I'm glad you like 'em FA. Here's the whole lot of then http://forums.getpaint.net/index.php?/topic/26725-technorobbos-plugin-pak-feb11th-2014/?p=393689
  12. I wasn't going to but then while we were working on the knob controls and I did Taylor Swifts legs in a wheel I went, hmmmmm. So I blame Taylor Swift
  13. TechnoRobbo's Radial Extruder Invented to create perfectly circular images for custom controls, it turned out to create interesting effects, so I posted it. Version 1.1 includes Extend to Border feature. (Special thanks to Red Ochre for the idea) version 1.2 includes Subdivide Reverse Rotation Reverse Overlap Flip (image) Shift (slices) Menu: Effects ->Distort CodeLab Source Code Hidden Content: // Submenu: Distort // Name: TR's Radial Extruder // Title: TR's Radial Extruder - v1.2 // Author: TechnoRobbo // URL: http://www.technorobbo.com #region UICode double Amount1 = 0; // [-180,180] Starting Point bool Amount2 = false; // [0,1] Even Pieces (Subdivide) int Amount3 = 1; // [1,1000] Width int Amount4 = 24; // [4,255] Subdivide double Amount5 = 0.5; // [0,1] Shift bool Amount6 = true; // [0,1] Extend to Border bool Amount7 = false; // [0,1] Reverse Rotation bool Amount8 = false; // [0,1] Reverse Overlap bool Amount9 = false; // [0,1] Flip #endregion void Render(Surface dst, Surface src, Rectangle rect) { // Delete any of these lines you don't need Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); double CenterX = ((double)(selection.Right - selection.Left) / 2)+(double)selection.Left; double CenterY = ((double)(selection.Bottom - selection.Top) / 2)+(double)selection.Top; double circ = Math.PI * Math.Sqrt(CenterX * CenterX + CenterY * CenterY) * 2; double wide; double start = Amount1; bool SubD = Amount2; ColorBgra CurrentPixel; double Wshift = Amount5; bool wrap = Amount6; bool reverse = Amount7; bool overlap=Amount8; bool flip= Amount9; if (!SubD ) { wide = (double)Amount3 * circ / 2000; } else { wide = circ * 2 / Amount4; } for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { double offx =(double)x - CenterX; double offy = (double)y - CenterY; double rot; if (!overlap) { rot = (Math.Atan2(offy,offx) + Math.PI)* circ / Math.PI; }else { rot = (Math.PI - Math.Atan2(offy,offx))* circ / Math.PI; } rot =(Wshift * wide + rot) % wide; double rad = rot * Math.PI /circ + start; double nx,ny; double pythag = Math.Sqrt(offx * offx + offy * offy); if (reverse)rad = -rad; if (flip) { rad = -rad; nx = CenterX - Math.Cos(rad) * pythag; ny = CenterY - Math.Sin(rad) * pythag; }else{ nx = Math.Cos(rad) * pythag + CenterX; ny = Math.Sin(rad) * pythag + CenterY; } if (wrap) { if (nx >= selection.Right) nx = selection.Right - Math.Abs(nx - selection.Right); if (nx < 0) nx = Math.Abs(nx - 0); if (ny >= selection.Bottom)ny = selection.Bottom - Math.Abs(ny - selection.Bottom); if (ny < 0) ny = Math.Abs(ny - 0); dst[x,y] = src.GetBilinearSampleClamped((float)nx,(float)ny); } else { dst[x,y] = src.GetBilinearSample((float)nx,(float)ny); } } } } TRsRadialExtruder.zip
  14. It saves it to the app data folder in your system, generally that's a hidden folder, set your option to view hidden files and look under your profile name and you'll see application data. It is in the form of a database used for easy searches. C:\Users\<your user name>\AppData\Roaming\PDNDwarvesPBSug.dat Here's some light reading http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/where-can-i-find-application-data-folders-in/26f4d163-7340-4974-b513-72bfcd1f54a5
×
×
  • Create New...