Frenemies of TalkRational: |
Nontheist Nexus | Rants'n'Raves | Secular Cafe | Council of Ex-Muslims | The Skeptical Zone | rationalia | Rational Skepticism | Atheists Today | |
|
Mathematics constants, variables and stuff |
|
Thread Tools | Display Modes |
08-18-2015, 10:22 PM | #2547354 / #26 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
This is the kind of thing I had in mind:
I wanted to know the series of symmetrical spheres you'd get, starting with the smallest, and how many voxels each would have.
__________________
Join me at The Skeptical Zone |
08-19-2015, 01:30 PM | #2547642 / #29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
OK so assuming that the centre of the sphere is the centre of a voxel, and that we include any voxel whose centre is within the sphere, we get (for voxels of size 1x1x1):
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
08-19-2015, 01:34 PM | #2547644 / #30 |
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
Blue: number of voxels as a function of radius
Red: (4/3) p r3
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
08-19-2015, 04:46 PM | #2547740 / #31 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Because voxels are how we plot data in brains.
__________________
Join me at The Skeptical Zone |
08-19-2015, 04:48 PM | #2547741 / #32 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
THANK YOU BD!!!!
I was beginning to think my question was incomprehensible. I got as far as the 7 voxel one, then I got stuck.
__________________
Join me at The Skeptical Zone |
08-19-2015, 04:53 PM | #2547744 / #33 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hung
: Dec 2010
: 26,430
|
:
I'm picturing your second one as a cube with a cube on each face. That would give a radius of 1.5 for sphere that encloses all of each voxel. If you remove the requirement for the centre of the sphere being the centre of a voxel the second one would be 6 where you have four cubes forming a square with a voxel on top and bottom of the square. Something else to consider is what volume of the sphere that completely contains all voxels is filled by voxel? Otherwise you can get a really bad sphere with two side by side voxels.
__________________
Quote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
08-19-2015, 05:20 PM | #2547764 / #34 | |||||||||||||||||
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
Yes, I was including any voxel whose centre is on or within the sphere.
If we specify that the voxel has to be completely within the sphere, then you get something like
:
:
:
But even with the grid, we'll get different answers if we (e.g.) put the centre of the sphere on one of the corners instead of at the centre of a voxel. We'd jump from 0 voxels to 8 voxels, for example.
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
|||||||||||||||||
08-19-2015, 05:28 PM | #2547768 / #35 | |
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
:
I haven't found a tidy formula. I had to do a bit of coding. Note that if you have a value of r2 that's in between two of the numbers in the left-hand column of my table, then you round down. So your picture in #26, for example, looks like the case of r = 5, i.e. r2 = 25, in my table. (Just staring at it and counting, it looks like you have 515 voxels there.) And so it's applicable to 25 ≤ r2 < 26.
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
|
08-19-2015, 06:32 PM | #2547805 / #36 |
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
Here's the fraction of the sphere's volume that is accounted for by the voxels that are entirely within the sphere. (Given as a function of the radius.)
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
08-19-2015, 06:34 PM | #2547807 / #37 | ||
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
:
Yes, I was trying to code something. Then I decided that messy Duplo nuggets were better anyway. But one day this will come in handy I think, for instance if we start with coordinates from an 8mm grid (which we may well do, once we leave fMRI behind).
__________________
Join me at The Skeptical Zone |
||
08-20-2015, 03:09 AM | #2548195 / #38 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Senior Member
: Dec 2010
: 6,415
|
:
Butters, but now you have the top and bottom voxel centered at the intersection of the other four voxels? That is aren't they offset on the horizontal plane by one half voxel from the other four voxels? Assuming that the other four voxels are oriented in the horizontal plane.
__________________
When I begin to think that all the world is wrong but me, I should question myself. - John Langdon Last edited by noAnthro; 08-20-2015 at 03:14 AM. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
08-20-2015, 08:58 AM | #2548225 / #39 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Yes, the centre of the ROI needs to be the centre of a voxel, for my purposes anyway. For playing-with-math purposes you can do what you like
__________________
Join me at The Skeptical Zone |
08-21-2015, 06:31 PM | #2548956 / #40 | ||||||||||||||||||
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
Right. So if we change from Pingu's problem to butters's problem for a moment (where we're just trying to fit as many equal-sized cubes as possible within a sphere, allowing the cubes to fall loosely instead of conforming to a cubic grid):
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
||||||||||||||||||
08-26-2015, 12:28 AM | #2551303 / #42 |
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
lol
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
08-26-2015, 05:07 AM | #2551349 / #43 | |
Senior Member
: Nov 2011
: Minnesota
: 1,209
|
instead of making the voxels smaller can you make the world bigger?
__________________
Quote:
|
|
08-26-2015, 07:35 PM | #2551670 / #44 |
predisposition to antagonism
Kodos the Executioner Mod: HASH, Philo, Math, THC
: Jun 2008
: on the shore of the North Atlantic
: 15,670
|
__________________
Requiem: Everything we humans do is fully deserving of ridicule and mockery. Without a God to laugh, it falls to us enlightened fools to make up the difference. |
08-30-2015, 01:38 PM | #2553493 / #45 | |
Superior Member
: Sep 2011
: 2,727
|
:
It is easy enough to convert from rectangular coordinates to polar or spherical. The question is, can your software work with different types of coordinate systems? It seems to me, if you want to graph a sphere, you want to use spherical coordinates, but then again, what do I know? |
|
08-30-2015, 05:57 PM | #2553592 / #46 | |
Senior Member
|
It is not math, IMHO
:
__________________
Ludwik Kowalski, author of "Diary of a Former Communist: Thoughts, Feelings, Reality," http://csam.montclair.edu/~kowalski/life/intro.html It is based on a diary kept between 1946 and 2004 (in the USSR, Poland, France and the USA). |
|
09-01-2015, 09:44 PM | #2554609 / #47 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Heinz, I think you are missing the point.
__________________
Join me at The Skeptical Zone |
09-01-2015, 11:02 PM | #2554658 / #49 |
I did. F. Poste.
GLaDOS
: Mar 2008
: UK
: 60,846
|
Yes, that's essentially what I do.
__________________
Join me at The Skeptical Zone |
10-04-2015, 02:56 AM | #2568077 / #50 | |
Senior Member
: Nov 2011
: Minnesota
: 1,209
|
__________________
Quote:
|
|
X vBulletin 3.8.6 Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|