Points on a sphere
I’ve been avoiding working this out for a while, but I need a way to
generate points on a sphere of a certain radius. That’s because my agents
are composed of spheres, and I need to set their perceptual fields at
points on the outside of the spheres.
It’s easy enough to figure out the general formula for points on a sphere- it’s all points that are the radius away from the center of the sphere. The problem I’m having is getting actual points out of that equation. Picking x and y points randomly is likely to lead to a situation where there is no z value that fits on the sphere. I’m sure there’s some easy way to do this but, as usual, my complete lack of education in 3d geometry is not helping me out here.
I found this
sphere FAQ which might provide some helpful info. I also found this discussion about
how to convert spherical coordinates into cartesian coordinates. And,
doing a bit more searching, I think
this will probably do the trick.
posted at: 11:30 |
path: /school |
link
Major Cities and Agglomerations of the World
What are the major
cities and agglomerations of the world? Sometimes I wonder about these
things.
posted at: 13:04 |
path: /living |
link
More information on grains
This
article on grains edible by people with celiacs has a very
comprehensive list of grains consumed by humans. By the way, according
to wikipedia, cereals or grains can be defined as “mostly grasses
cultivated for their edible grains or fruit seeds (i.e., botanically a
type of fruit called a caryopsis).”
posted at: 10:06 |
path: /living |
link
Tasty wheat alternatives
Always nice to mix it up when it comes to food. I eat a heck of a lot of
wheat. Nothing wrong with wheat, per se, but a diet composed largely of
wheat might be going a bit too far. Here
are some tasty wheat alternatives.
posted at: 09:55 |
path: /living |
link
All material copyrighted by Jen Schellinck. All rights reserved.