Home
Jason Fantl
Cancel

Shamir's Secret Sharing in Go

Concept Imagine you have a secret that you want to distribute among some friends, but no individual should know the secret, they must all come together to re-create the secret. How might we do this...

Card image cap

Walking in Non-Euclidean Worlds

What would it look like to walk in a universe where geometry is broken? We will be able to bend space, shrink it, and connect it in strange ways. First, let’s discover that non-euclidean universes ...

Card image cap

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

Shaping Swarms in Simulation

Introduction Swarms with a large number of agents are beautiful to behold. For example, birds fly in flocks, and specifically, Starlings sometimes fly together in groups of thousands (it has a spec...

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