Back to List

Good and Evil

Author: Youngjin Kang

Date: July 30, 2024

This is a computational interpretation of Good and Evil, as well as how to model their dynamics using vector math. This is useful for technical systems design in the development of computer games.


Good and Evil (Figure 1)

Heaven and Hell

Good and evil are measurable quantities.

There are three points in space - the center of Heaven, the center of Hell, and the center of the world.

The center of Heaven is the best possible state of the world; it is the pivot of pure good.

The center of Hell is the worst possible state of the world; it is the pivot of pure evil.

The center of the world belongs to neither of these two pivots. It represents the current state of the world, which is a mixture between both good and evil. Therefore, it is located somewhere between Heaven and Hell.

Both Heaven and Hell are perfect spheres. The radius of Heaven is the radius of its spherical event horizon (i.e. threshold beyond which the world can no longer escape from the volume of Heaven), and the radius of Hell is the radius of its spherical event horizon (i.e. threshold beyond which the world can no longer escape from the volume of Hell).

The amount of good in the world is its distance from Hell, minus its distance from Heaven. The farther away the world is from Hell, the more "good" it is. The closer the world is to Heaven, the more "good" it is.

The opposite scenario applies to the amount of evil in the world; it is the world's distance from Heaven, minus its distance from Hell.


Good and Evil (Figure 2)

Goodness of Movement

There are three regions in space - Heaven, Hell, and the world in which we live. All three of them have their own center positions.

The world can either be moving toward Heaven, toward Hell, or somewhere in between. A movement directed toward Heaven is a "good movement", and a movement directed toward Hell is an "evil movement".

The world's movement is characterized by its velocity vector. This vector tells us how fast and in which direction the world is currently moving.

Suppose that there is a unit vector which starts from the center of the world and points directly to the center of Heaven. This indicates the best direction in which the world can ever move with respect to Heaven.

Furthermore, suppose that there is yet another unit vector which starts from the center of the world and points directly away from the center of Hell. This indicates the best direction in which the world can ever move with respect to Hell.

Combine these two unit vectors together and you will get the best direction of movement with respect to both Heaven and Hell.

If you compute the dot product between this vector and the world's velocity vector, you will obtain the degree of how good the world's velocity is.


Good and Evil (Figure 3)

Thermostat's World

How to calculate the position of Heaven and Hell? It really depends on the definition of our world.

A world made up of a single thermostat dwells in a one-dimensional space which represents the full range of temperatures. The center of the world refers to the current temperature.

This one-dimensional space's lower edge indicates the lowest temperature that the thermostat can ever reach. It is one of the two centers of Hell (i.e. It is the center of the headquarter of Hell's ice department).

In contrast, the upper edge indicates the highest temperature that the thermostat can ever reach. This, too, is one of the two centers of Hell (i.e. It is the center of the headquarter of Hell's fire department).

The center of Heaven is the thermostat's most ideal temperature (i.e. Temperature that the thermostat is ordered to reach).


Good and Evil (Figure 4)

Force of Morality

Measurement of the force of morality starts from the realization of our best desire.

The center of the world is constantly moving. The rate at which it simultaneously approaches Heaven and escapes Hell indicates the overall goodness of its movement.

The best velocity of the world is its most optimal direction of movement (That is, the direction which decreases the distance between the world and Heaven and increases the distance between the world and Hell as quickly as possible), scaled by the maximum possible speed of the world.

Our best desire is the direction which guides the world's current velocity to its best velocity as quickly as possible. If you multiply it by the world's overall amount of morality, you will get the force of morality which is currently pushing the world.


Good and Evil (Figure 5)

Multiple Eras

The world's timeline consists of multiple eras. As time passes by, the world advances from one era to the next in a sequential manner.

Each era has its own Heaven and Hell, meaning that the amount of good (or evil) in the world is determined by the particular era in which we live.

Once the world enters Heaven 1 during Era 1, the era changes from Era 1 to Era 2. Then, once the world enters Heaven 2 during Era 2, the era changes from Era 2 to Era 3.

If Era 3 is the last of all eras, the world will finally merge with Heaven 3 (i.e. the final Heaven) after entering it.

On the other hand, entering the current era's Hell brings the world back to its previous era instead of the next.

As a side note, it is also feasible to connect the last era to the first era, thus forming an infinite loop of eras. In this case, time will be eternal and the world will keep on moving in its orbit forever.