Jump to content


Photo

Squirkle


  • Please log in to reply
11 replies to this topic

#1 Red ochre

Red ochre
  • Members
  • 555 posts
  • LocationSurrey, England
  • Reputation:67

Posted 12 November 2011 - 12:01 AM

This will render 'squirkle' shapes eg. from rounded lozenge through circle to square. It is different from 'rounded rectangle' as there is curvature in the 'flat' sides.
Probably best to see the screenshot below!
With a range of line and background colours, including transparent, it should be useful for frames, buttons and vignettes.

Now in the updated Red ochre plugin pack

I have changed the default shape setting to circle, because I found it more convenient!

(the .dll is only available in the pack now, the updated version now has the same name as the original version. The first version has the word 'middle' spelled as 'midddle', other than that, they are the same.)

Here is the code lab code too.
Hidden Content:


Enjoy ;)

All feedback appreciated (well hopefully !)

Posted Image

Edited by Red ochre, 24 October 2012 - 08:53 PM.

Posted Image
Red ochre Plugin pack............................................................... Diabolical Drawings

#2 Ego Eram Reputo

Ego Eram Reputo

    Master of Competition Ideas and 2012 Proton Award Winner

  • Moderators
  • 5,757 posts
  • LocationNorth Canterbury, New Zealand
  • Reputation:231

Posted 12 November 2011 - 03:03 AM

Very nice! Cool things happen with the exponent setting turned down low.

Thanks :star:

(where did squirkle come from?)

#3 barbieq25

barbieq25
  • Members
  • 4,299 posts
  • LocationQueensland, Australia
  • Reputation:114

Posted 12 November 2011 - 12:35 PM

Looks really useful Red Ochre. I'll give it a shot & post my thoughts/efforts when they are done. Many thanks in advance for all your hard work :D

Sig2.png


Knowledge is no burden to carry.

 

April Jones, 2012

 

Gallery

My DA Gallery


#4 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 12 November 2011 - 03:04 PM

Wonderful plugin thanks ever so much for sharing with us. It's been a long while since I've done any tut's but this just might address some of the drawing problems I need to explain in the idea kicking around in my head right now.

ciao
OMA

#5 pdnnoob

pdnnoob

    Paint.NET's Rabbi for 2012

  • Moderators
  • 1,855 posts
  • Reputation:100

Posted 12 November 2011 - 03:45 PM

Squirkle: Square+circle :D like the name <downloads>
Posted Image
what I do all summer Emote Cursor Pack Paint Job Competition 'noob gallery
No, Paint.NET is not spyware...but, installing it is an IQ test. ~BoltBait
Blend modes are like the filling in your sandwich. It's the filling that can change your experience of the sandwich. ~Ego Eram Reputo

#6 Goonfella

Goonfella
  • Members
  • 2,185 posts
  • LocationThe Rock
  • Reputation:35

Posted 12 November 2011 - 06:20 PM

Fun name & fun plug in. I like it! :)

Goonfella3D_zps67f49b6b.jpg


#7 Red ochre

Red ochre
  • Members
  • 555 posts
  • LocationSurrey, England
  • Reputation:67

Posted 12 November 2011 - 08:53 PM

Thank you all, for the positive reaction :D. - really appreciated.

'Squirkle', - Pdnnoob got it - I thought Squirkle is more 'quirky', and phonetically more logical than squircle.

I'd been reading a book by Alex Bellos called 'Alex's adventures in numberland', that descibes how the French mathematician Gabriel Lame, in 1818, started experimenting with values of the exponents in the circle formula. You know "the sum of the 2 squares equals the square hippopotamus" :P.
If the exponent is 1 it's a diamond, 2 is a circle, 2.5 was named a 'superellipse' by Piet Hein (Danish Architect), and as the exponent approaches infinty, it becomes a square. - I don't know of name when the value is less than 1.
I thought I'd try and program it into codelab and thought the results could be quite useful. Pdn has the advantage over all other graphics programs that I have tried, because of codelab - for a novice like me, it's far more accessible than VS studio and I can actually produce something useful !.
Posted Image
Red ochre Plugin pack............................................................... Diabolical Drawings

#8 welshblue

welshblue

    King of Paint.NET for 2012

  • Competition Hosts
  • 4,335 posts
  • Reputation:230

Posted 14 November 2011 - 07:08 PM

Interesting. Looks like a fun plug-in.

Thanks Red' ;)

(Wasn't squirkle a pokemon ? Casting my mind back about 10 years or so when my son wasted s**t loads of my money on trading cards :| )


Posted Image


Gallery



4 April



#9 JadedLemon

JadedLemon
  • Members
  • 34 posts
  • Reputation:3

Posted 29 January 2012 - 10:18 AM

I like this. I can see that I am going to have a lot of fun with this. My only issue is that sometimes you can see the join. Who knows maybe I am being too finicky.

Attached Thumbnails

  • YouCanSeeTheJoin.png

Posted Image

#10 Red ochre

Red ochre
  • Members
  • 555 posts
  • LocationSurrey, England
  • Reputation:67

Posted 29 January 2012 - 07:35 PM

I like this. I can see that I am going to have a lot of fun with this. My only issue is that sometimes you can see the join. Who knows maybe I am being too finicky.


Hello JadedLemon,
No you're not too finicky - just observant - that's good! ;)
I've just fixed the problem and am attaching a slightly updated version below - I won't update the version in the pack until I've sorted out the edge smoothing when the squirkle is angled.
Incidentally the problem was that when changing from a 'double' (eg. 1. 7) to an 'integer' the number is always rounded down and becomes 1, by simply adding 0.5 it now rounds 1.7 into the integer 2. - solving the problem.
As for the edge smoothing when it's angled - I'll have to have a think! :/

Anyway thanks for reporting back - I hope the beta version is useful and please try the recently improved 'squirklewarp' (in the pack) too.
Cheers

16th March 2012 - the updated version is now in the pack - the edge smoothing is better now! - so removing the 'beta' :)
- I changed that awkward integer into a double for this version ;)
Posted Image
Red ochre Plugin pack............................................................... Diabolical Drawings

#11 delpart

delpart
  • Members
  • 337 posts
  • Reputation:14

Posted 29 January 2012 - 07:56 PM

Ooops. I thought you knew about it or I would have screenshot that for you some time ago ... (Note to self, dont assume ...)

***

Gallery at PDN-Fans


#12 Red ochre

Red ochre
  • Members
  • 555 posts
  • LocationSurrey, England
  • Reputation:67

Posted 29 January 2012 - 08:07 PM

Ooops. I thought you knew about it or I would have screenshot that for you some time ago ... (Note to self, dont assume ...)


- I only did this one as a bit of fun really - and assumed that problem was to do with the edge smoothing :lol:
Quite nicely surprised that particular problem was so easy to solve!
Anyway I got into the more exciting 'squirklewarp' and forgot about this one - but I assume it is more important now as it compliments squirklewarp.
I'll do some more work on it soon ;)
Posted Image
Red ochre Plugin pack............................................................... Diabolical Drawings