Home
Simply Confusing
Cancel

Twisted Swarms

I came across an interesting problem in a previous post where boids would get stuck while trying to “vote” on the rotation of a shape. Let’s explore different voting mechanisms in a swarm and see w...

Card image cap

Simple Bee-Inspired Swarming

Inspiration The decentralized nature of bees is fascinating, especially in the event of swarming. Swarming is the process of a swarm splitting into two, one group follows the old queen out of the n...

Card image cap

A Control Principle Used by Ants and the Internet

Ants One day a biologist is studying ants, then she notices that the ants stop leaving the nest when food becomes scarce. This seems obvious, that’s what they should be doing, but the tricky bit is...

Card image cap

Simulated Economy (6)

More goods, more cities Lets have four different markets in four different cities. We now have wood, chairs, thread, and beds. Wood can be used to build chairs, and wood and thread can be used to m...

Card image cap

Simulated Economy (5)

Geographic separation What we want is the separation of economies which are in separate cities. In a forested city we would expect the price of wood to be lower then in other cities. In a city whic...

Card image cap

Simulated Economy (4)

Inflation Everyone seems to know that when the government prints too much money it causes inflation, but why? If everyone suddenly doubled their money, they would be willing to buy more, increasing...

Card image cap

Simulated Economy (3)

Multiple Markets Lets start with just two markets. We’ll have wood and chairs, with wood being used to build chairs. But first lets just look at the two markets uncoupled, each with personal values...

Card image cap

Simulated Economy (2)

Roundless Currently the economy uses buy/sell rounds in order to match up buyers and sellers, but this won’t work in our final simulation. A simulated RPG economy will have buyers that somewhat ran...

Card image cap

Peer to Peer Chat Network in Go (6)

This will be a list of interesting modifications you can make to the code in response to some security concerns. A quick overview of public keys A person can generate a pair of keys, a priva...

Peer to Peer Chat Network in Go (5)

Concept The first thing we should do is create an identity for each user, that way people know who the messages are coming from (this is separate from NodeID, but had we not hidden NodeID under abs...