Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
We can't just check if the number is going to ∞, but once it goes past a certain size, we can make a reasonable guess that it'll never settle to a value (I have the tolerance set to 16).
Once we have the full grid of values, we can generate a grid of white squares, then change their brightness based on how many iterations it took to fly off (or default to black if it reaches the maximum)
As for why? Well, I realized a while ago that making generic Isaac mods isn't as fun as making something completely unique and ridiculous, and I've kinda been acting on that philosophy ever since I made the Bejeweled mod last year. It's been fun so far, and I have a bunch of insane ideas that I want to try.
(I'm working on an Isaac RPG proof-of-concept as we speak
It's not as complicated as it looks (at least I don't think it is lol):
The way the Mandelbrot set works is by taking a range of values, feeding them into a function, then repeating that process until they either settle to a value or fly off to Infinity.
The function is y = x^2 + c, where x and c are complex numbers written as (a + bi). That sounds scary, but a complex number in this context is just a pair of numbers with slightly different behavior when you multiply them together, since i^2 is -1. There's some correlation between complex numbers and rotation around a circle that makes the visualization do a lot of the crazy stuff that it does, but that's not really important for this explanation.
You can technically use any pair of numbers for c, and any other value's graph is called a Julia set, but I used (-1, 0) for the classic image.
[continued on the next post since Steam only allows 1000 characters per comment >:( ]