Phantasian Biology 101: Lesson 2; Chemistry

·

·

When I was about 13 or 14 years old, I remember being given a classroom test, in which one of the questions was something like, “Question 1: What are the roles of chemistry in the body?”

What are the roles??? What was I supposed to say to that? “ALL of them. Chemistry plays all of the roles in the body.” But somehow that didn’t seem enough. I was clearly expected to elaborate.

I was only a kid, so I expect the “correct” answer for my age was just “chemistry is used for growth and energy”, or something like that, but honestly I was paralyzed by the overwhelming enormity of the question. What on earth was coming next? “Question 2: Write down everything you know.”

Nevertheless, “all of them” was definitely the right answer. You are nothing but chemistry; nothing but chemical reactions and interactions. Every thought that you think, every feeling you feel, every movement you make, everything you perceive, the color of your skin, the shape of your eyebrows, the fate of last night’s dinner, the battle that is going on inside you between your cells and a million foreign enemies. That’s all chemistry.

Phantasians, mercifully, are quite a bit simpler than us, and the fact that they’re virtual makes some difference too. After all, they don’t really need to eat in order to grow; they don’t really need to excrete waste products, or produce energy, or fight off disease. All of that stuff is fake, essentially. In virtual reality, one of the most fundamental laws of physics is actually inverted. Whereas in the physical world things are easy to move but hard to copy; in the virtual world, things are easy to copy but they can’t be moved. I’ll talk about that another time, perhaps, but the thrust of what I’m saying is that there is no innate conservation of energy or matter inside virtual worlds. Things don’t waste away or run out of resources unless they’re specifically programmed to.

So why do the phantasians need chemistry at all, then? The lame answer to this is that if there was nothing for them to fight against, they wouldn’t be alive. We expect living creatures to eat, excrete, expend energy and try hard to avoid having to, whereas we don’t expect this of rocks. It’s kind of the point. So, in a virtual world, we need virtual chemistry in order to simulate nutrients, digestive processes, energy production and consumption, and all the rest.

But there’s a deeper answer that isn’t so lame: Chemistry is computation. Not as in a digital computer, but an analogue one. If you don’t know what an analogue computer is, I’d be happy to explain that fascinating story another time, since I am very old, and reminiscing is one of my few remaining pleasures 🙂

How do you know when you’re hungry? It’s due to chemical computations: The levels of glucose and other substances in your blood, the signals being sent to your brain by bacteria in your gut, the amount of energy that your body has been using or expects to need, the amount of time since you last ate, the time of day or night… All of these things and more are mediated by chemical levels, and from the combination of these we compute how hungry we are.

How do you know when you’re frightened? Just like in hunger, there has to be something to measure it, right? If there wasn’t something there to act like the needle on a voltmeter, we would have no way of knowing how scared we are. It doesn’t follow that something as big of a deal as fear, all comes down to the level of a single chemical, but a lot of our feelings do rely on the production and suppression of hormones and similar signaling chemicals, and hormones (along with their receptors) are computational chemistry. They turn things on and off, according to a complex set of rules.

So, phantasians need these things too, for the same reasons we do.

Much earlier in this project, I came up with a rather nice system for defining virtual enzymes, which were able to construct or break down specific other enzymes, purely according to their chemical structure. I really liked this, but unfortunately it turned out to be far too complex for my limited brain to design working chemical systems with. So, instead, I gave the phantasians much simpler chemicals that are basically just numbers with names attached. Glucose is the name of one such chemical, and 0.3 might be its current concentration in the blood. It’s a pretty simple system, but not trivial.

(For reasons I won’t go into, it used to be that these chemicals all needed seven-character names, so you’ll find some oddly named substances, such as polypep, hydroxy, and oxygene. It’s not actually necessary any more, but I got used to them! Some of them have no exact biological equivalent, but I tried to give them vaguely meaningful Greek or Latin names, such as maleate (bad), and morsate (pain). There’s also some vague logic as to why some of the chemicals end in -ase, while others end in -ate or -ine, etc.)

There are some other numbers associated with each chemical, besides concentration, which define how and whether it has a spontaneous tendency to decay, build up, or settle to a happy medium. All of these numbers are defined in the genes; one gene per chemical. Here’s an example of a chemical gene:

gene C X
{
	name = maleate
	np = 1
	below = 0.001
	above = 0
	slew = 0.1
	concentration = 1
}

Maleate is a chemical that tracks how healthy or ill the creature feels. The gene specifies that they will slowly recover from feeling sick. However, various chemical reactions can also drastically alter the level of maleate over time. Rather than define all of these reactions as part of the structure of the chemical itself, I decided to specify them separately, in their own genes. Here’s an example of a reaction gene:

gene Z X
{
	r1 = glucase
	r2 = glucose
	p1 = glucase
	p2 = ureanin
	ratioR1 = 1
	ratioR2 = 1
	ratioP1 = 1
	ratioP2 = 1
	baseRate = 0.0050
}

This gene specifies that glucose turns slowly into ureanin, but only in the presence of glucase. The more glucose and glucase there is in the bloodstream (and the less ureanin), the faster the reaction happens. But because glucase is both an input and an output of this reaction, it doesn’t get consumed in the process. In other words, glucase acts as an enzyme, which facilitates or catalyzes the production of ureanin from glucose. Other reactions might convert two chemicals into one, or one into two, or two into a different pair.

Okay, so we have a bunch of chemicals, and a bunch of reactions that can convert up to two reactants into one or two reaction products over time and in proportion to their concentrations. That’s actually quite powerful, but so what? Chemistry is no use at all unless it can actually do something.

And for that we need chemoreceptors. A receptor gene looks like this:

gene R O
{
	organ = brain
	structure = XXXX
	substructure = Somatic
	locus = 0
	mode = 0
	chem = vigilin
	x1 = 0.17
	x2 = 0.23
	x3 = 1
	x4 = 1
	y1 = 1
	y2 = 0
	y3 = 0
	y4 = 0
}

The object that the receptor is attached to is called a locus. It’s basically just a fancy variable inside the code. The ‘address’ of the locus specified by this particular gene is, “inside the brain, in a generic region (as opposed to a specific layer of a specific brain map, which I’ll explain in a later lesson), at locus number 0. The gene then goes on to say that the receptor is sensitive to the concentration of a chemical called vigilin, and it should respond to it in a certain way (its response curve).

The resulting receptor produces a constantly changing number, which is visible to the program code and thus can be used in a huge variety of ways by yours truly.

By the way, you don’t actually have to know any of these details, unless you want to. There won’t be a test; I’m mostly just trying to give you an overall feel for the kind of thing that’s going on inside the creatures. You can think of it like a biologist would, rather than like a mathematician would.

Vigilin is actually one of several chemicals that begin to rise as a creature falls asleep (which in turn happens as a result of other chemistry). Through this receptor, vigilin is acting as a kind of anesthetic. As the concentration rises, the correspondingly falling output of the receptor reduces the strength of most nerve signals going from the brain to the muscles, making the limbs become weak and floppy. It also affects signals passing up from the senses to the brain, apart from those that might need to wake the creature up in response to a bump or a loud noise.

So, anyway, that’s reactions and receptors. The remaining kind of chemistry gene is also one that causes something to become attached to a locus in the code. This (as you might be able to guess) is called a chemoemitter. Whereas receptors turn chemical concentrations into numbers, emitters produce a given chemical in amounts that vary according to the value stored in the given locus. Here’s an example:

gene E O
{
	organ = skin
	structure = XXXX
	substructure = Somatic
	locus = 1
	mode = 0
	chem = hydrase
	x1 = 0
	x2 = 1
	x3 = 1
	x4 = 1
	y1 = 0.1
	y2 = 1
	y3 = 1
	y4 = 1
}

As you can see, this emitter is attached to the creature’s skin, on a locus which (I happen to know) produces a value proportional to subjective temperature. This value is highest when the creature is in a hot, dry, exposed environment, and the emitter is defined so as to produce the chemical hydrase in response. Hydrase is an enzyme that causes the production of sweat, thus cooling the creature down. But this action in turn chemically reduces the amount of hydroxy (water) available in the blood, which will lead to a rise in thirst, And, if nothing is done about it, this can eventually lead to muscle weakness and other problems. So, don’t leave your creatures outside in the middle of the day during summer, if you think they’re a species that prefers cooler or moister conditions!

Chemicals, reactions, emitters, and receptors can be used in concert to produce a wide range of analogue computations – digestion, energy production and storage, temperature regulation, sexual maturation and reproduction, and so on. Multiple receptors and emitters can even be connected to the same locus, which allows for one chemical to interact with another (or even itself!) in some quite interesting ways. The creatures’ menstrual cycle would be a good example of this, but I’ll talk about how that works in future posts.

One particularly important group of chemicals is the set that makes up the emotional or affective system, also known as drives. These chemicals represent emotional states, such as how bored, angry or lonely a creature feels. They play a vital role in learning, since creatures generally try to learn ways to return their various drives back to their ‘comfort level’ again, after something has disturbed them. But they also play other roles too, such as causing a cold creature to shiver, a happy one to smile, or a tired one to want to sit down.

In general, these drive chemicals are ‘bipolar’. For instance, curiate represents a high degree of boredom whenever the value is very low, but over-excitement when the value is too high. The comfort zone lies somewhere in the middle. Similarly, eudrate represents sadness at one end and joy at the other. You might think that joy would be perpetually desirable, but chemistry is never quite that simple! Just as in humans, if every single day was party time, we might eventually stop appreciating it, and wish we could spend a nice quiet day reading a book instead. The interplay of all these drive chemicals, and the ways that receptors and emitters adjust their responses over time, can be quite complex. Like I say, it’s a computer.

Also, I should mention payloads. These are components attached to virtual world objects (including the creatures) that define the various sounds, visual stimuli, etc. which accompany changes in an object’s state. One of the properties of a payload is that it can emit chemicals directly into the bloodstream of a creature. So, when a phantasian eats a mushroom, for instance, the nutrients and other substances that are present in that particular species of mushroom get ‘injected’ by the payload, directly into the creature’s bloodstream. And sometimes merely seeing an object do something interesting (smile or frown, say) can cause the production (injection) of mentally active substances such as emotional chemicals, which in turn trigger internal reactions of various kinds.

So there you have it: Phantasian biochemistry is essentially an analogue computer, made up of reactions, receptors and emitters, which act upon enzymes, hormones and other chemicals in the bloodstream, and form a bridge between that chemistry and a zillion different sensory and motor functions in the creatures’ bodies and brains. Sleep is thus chemistry, learning is chemistry, pregnancy is chemistry, feelings and emotional signals are chemistry.

So, “Question 1: What are the roles of chemistry in the body?”

“All of them!!! Chemistry plays all of the roles in the body!!! I told my teacher that!!!”

Alongside the brain, of course, which in phantasians is a different kind of chemistry altogether. It’s exceedingly complex in its own right and tightly linked to the main biochemistry through receptors and emitters, but it works in its own special way, because of the hundreds of signals involved. I’ll get to the brain eventually, and we’ll also come back to the details of the individual chemical systems (digestion, reproduction, etc.) later, along with the sensory organs that feed them. But in the next post I think I should talk about genetics. You’ve already seen a few examples of phantasian genes, but there’s more to say about them yet.


5 3 votes
Article Rating
Subscribe
Notify of
23 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Brain Map Wiring

To see full size, click on image and Open Image in New Tab.

General

Moving with the mouse: Hold down right button to look/turn. While the right butt

Glossary of genetics terms

Editing this encyclopedia

Change log

The Simbiosis simulator

Building user mods

Physicality

Information at the software level.

Plant life

Frampton Gurney

Neuroscience

Introduction goes here

Biochemistry

Virtuality

This section of the Encyclopedia is concerned with the virtual world: Frampton G

Biology

Phantasia are much simpler than the animals we find in the natural world, but th

Reproduction

This article is about reproduction from a genetics perspective. See elsewhere fo

Sexes and sex chromosomes

We’ve just seen how reproduction sifts and selects among pairs of alleles,

Dominant versus recessive genes

For any given location on a chromosome pair, we find two versions of a gene – on

In-game help

This section contains the online help for various objects in the game. You can b

Genetics

Phantasians are defined by genes – hundreds of them! Each gene creates som

Encyclopedia Phantasia

Welcome to the Encyclopedia Phantasia. Here you will find detailed information a

Chat Icon Close Icon