Friday, January 1, 2021

Genuary 2021 Day 1: "Triple Nested Loop"



I'm taking a crack at doing "Genuary 2021", a series of prompts for generating something each day, based on a series of prompts. January 1st's prompt is "Triple Nested Loop", which I took some liberties with and rendered this set of Borromean Rings. Which are mutually nested loops. Sort of.

This is rendered with my ray marcher (using sphere marching) that I built over the past week. It's written in Python 3, using multithreading and a worker queue.

What's procedural about this? I let the script pick a random point for the camera, and the links are a randomly generated color.

I tried making a version of this where there were repeated instances of these rings, but I got impatient with the rendering.


No comments:

Post a Comment