Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4

Author Topic: COMMUNITY RESOURCE: Circle Templates 3 to 45  (Read 12661 times)

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
COMMUNITY RESOURCE: Circle Templates 3 to 45
« on: February 03, 2009, 05:17:18 pm »

Provided below is a set of pixel-based circle templates for odd-numbered widths from 3 squares to 45 squares. I apologize for the JPEG artifacts, as I originally constructed these in .bmp, but Photobucket is a tawdry, dispassionate harlot.

Most of these are open-ended (unblocked diagonals), but this was to ensure readabilty; you can fill in the open corners as you see fit.

Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

Martin

  • Bay Watcher
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #1 on: February 03, 2009, 05:26:33 pm »

Ooooh, I was going to do just that this evening. Thanks.

Gonna start on my 40 diameter inner gatehouse soon.

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #2 on: February 03, 2009, 05:41:14 pm »

Try TinyPic, you can upload any picture and you don't have to reduce the size of the image.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #3 on: February 03, 2009, 05:46:31 pm »

Try TinyPic, you can upload any picture and you don't have to reduce the size of the image.

I didn't reduce the size. JPG just messes up color, apparently.
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

Aqizzar

  • Bay Watcher
  • There is no 'U'.
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #4 on: February 03, 2009, 05:47:23 pm »

Don't use JPEG then.  I don't know why people do anyway.  Use PNG.
Logged
And here is where my beef pops up like a looming awkward boner.
Please amplify your relaxed states.
Quote from: PTTG??
The ancients built these quote pyramids to forever store vast quantities of rage.

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #5 on: February 03, 2009, 06:16:24 pm »

Don't use JPEG then.  I don't know why people do anyway.  Use PNG.

I had it in BMP originally. Photobucket converted it. :\
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #6 on: February 03, 2009, 07:05:51 pm »


 Oh Photobucket, why do you give us no options with this crap?

 But yes, useful. Then again, after looking for resources like this and learning that diagonal walls look wield with perfect circles I just have diagonal corners.
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #7 on: February 03, 2009, 07:08:11 pm »

Don't use JPEG then.  I don't know why people do anyway.  Use PNG.

I had it in BMP originally. Photobucket converted it. :\
Que TinyPic suggestion.  Image size wasn't the reason I brought it up.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

Rysith

  • Bay Watcher
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #8 on: February 03, 2009, 07:15:29 pm »

I've got an autohotkey script for arbitrary-thickness rings lying around somewhere, I'll dig that up and post it in here later.
Logged
Lanternwebs: a community fort
Try my orc mod!
The OP deserves the violent Dwarven equivalent of the Nobel Peace Prize.

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #9 on: February 03, 2009, 08:06:57 pm »

Next time save it in PNG instead of BMP then, Photobucket won't do anything to it.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #10 on: February 03, 2009, 08:09:02 pm »

Or just don't use photobucket.  It's not that good.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

Cheshire Cat

  • Bay Watcher
  • You Have Struck Turtle Shell!
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #11 on: February 04, 2009, 07:20:17 am »

so we zoom right in on these little circles in paint or similar and copy the pixels as tiles in df to get nice round rooms and tunnels? thats much better then nothing, but still a little annoying. the squares need white dividing lines between them or something to be more distinguishable, particularly in the larger circles you have here. figuring it out makes my brain and eyes hurt.

i allways counted them out manually, judging circles without any outside help, and didnt let the miners near it till it looked just right. im actually pretty good at it now. though its such a pain.

what DF really needs is an option to save premade mining schematics as BMP images, so you could draw stuff in paint, then dump it straight into a blank z level, just like you would place a building. or just save existing things like really nice dining halls as BMP plans for later use.

asides from my complaining, cheers, i may end up using this, and damn photobucket for jpegging everything, and damn jpeg for its annoying little artifacts.
Logged

Rysith

  • Bay Watcher
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #12 on: February 04, 2009, 11:27:01 am »

Here you are, auto-hotkey script to do rings with arbitrary inner and outer diameters. If you just want a circle, use an inner diameter of 0. Unfortunately, you'll have to modify the script directly to change the circle size, but that shouldn't be much of an issue (just change the "0" and "4" below)

Code: [Select]
;One full circle
#c::
circleQuarter("{NumPadDown}","{NumPadUp}","{NumPadRight}","{NumPadLeft}",0,4)
circleQuarter("{NumPadRight}","{NumPadLeft}","{NumPadUp}","{NumPadDown}",0,4)
circleQuarter("{NumPadUp}","{NumPadDown}","{NumPadLeft}","{NumPadRight}",0,4)
circleQuarter("{NumPadLeft}","{NumPadRight}","{NumPadDown}","{NumPadUp}",0,4)
exit

;Quarter-circle
circleQuarter(up,down,left,right,inner,outer)
{
x := 0
y := 0
innerBound := % inner*inner
outerBound := % outer*outer
loop,%outer%
{
loop,%outer% ; For a square that is as large as the outer radius
{
if((x*x)+(y*y) <= outerBound && (x*x)+(y*y) >= innerBound)
{
dig(right,0)
}

move(right,1)
x++
}
move(up,1)
move(left,outer)
y++
x := 0
}
move(down,outer)
}

;Utility functions
dig(dir,number)
{
send d
send {Enter}
move(dir, number)
send {Enter}
}

move(dir,number)
{
loop {
if number <= 0
{
break
}
send %dir%
number--
}
}
« Last Edit: February 04, 2009, 12:50:01 pm by Rysith »
Logged
Lanternwebs: a community fort
Try my orc mod!
The OP deserves the violent Dwarven equivalent of the Nobel Peace Prize.

Savok

  • Bay Watcher
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #13 on: February 04, 2009, 11:55:30 am »

It's photobucket. Try another one, like TinyPic, if you aren't using photos.
Logged
So sayeth the Wiki Loremaster!

magic dwarf

  • Bay Watcher
    • View Profile
Re: COMMUNITY RESOURCE: Circle Templates 3 to 45
« Reply #14 on: February 04, 2009, 04:18:11 pm »

Here you are, auto-hotkey script to do rings with arbitrary inner and outer diameters. If you just want a circle, use an inner diameter of 0. Unfortunately, you'll have to modify the script directly to change the circle size, but that shouldn't be much of an issue (just change the "0" and "4" below)

which program do i use for this script??
Pages: [1] 2 3 4