The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

68 个评价
The Mandelbrot Set!
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
191.246 KB
2024 年 8 月 9 日 上午 10:44
2024 年 8 月 25 日 上午 5:25
2 项改动说明 ( 查看 )

订阅以下载
The Mandelbrot Set!

在 Poondaedalin 的 1 个合集中
What If Isaac Wasn't Isaac?
11 件物品
描述
Behold, the weirdest thing I've ever made for an Isaac mod! (and trust me, there's a LOT of competition for that spot)

The mod adds a new challenge that allows you to scan across a visualization of the Mandelbrot set using keyboard controls.

Here's a few links if you're confused/curious at to what the heck this even is:
https://en.wikipedia.org/wiki/Mandelbrot_set
https://www.youtube.com/watch?v=6z7GQewK-Ks
https://www.youtube.com/watch?v=FFftmWSzgmk

Either way, it works surprisingly well, and you can zoom in a pretty long ways before floating-point precision starts to catch up with you and ruin the graph. It does run a bit slow, and I partially blame poor optimization for that, but there's also just a lot of calculations that have to be done to make the image, so it's going to be laggy regardless.

If you like what you see, maybe buy me a coffee: https://ko-fi.com/poondaedalin
(You don't have to, but if you're feeling generous, I'd appreciate it!)
18 条留言
juegosjesica6666 2024 年 11 月 7 日 上午 10:09 
the binding of fraactal
Poondaedalin  [作者] 2024 年 10 月 22 日 下午 5:47 
The function takes a bunch of pairs of starting pairs, then keeps squaring and adding until either it flies off to ∞, or it hits the max number of iterations (the sharpness value).

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 :ChrisSmirk:)
Poondaedalin  [作者] 2024 年 10 月 22 日 下午 5:42 
@aviess
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 >:( ]
aviess 2024 年 10 月 22 日 下午 2:51 
this is really cool actually. how did you do it, and why? LMAO
Deckard 2024 年 10 月 19 日 上午 3:25 
this is just like the FIST campaign kit MANDELBROT SET!
greatlakes.avengersfan_2414 2024 年 10 月 18 日 上午 1:27 
RG JUBILEE was right the mandelbrot is from god
Hamburger 2024 年 9 月 15 日 下午 3:40 
a mod that nobody ever asked for, but we got anyways. thank you!
Catalemon 2024 年 9 月 9 日 下午 5:48 
Am i stupid? i dont know what this is!
Tacolover93 2024 年 8 月 30 日 上午 2:04 
Thank god someone finally made this
shmaney 2024 年 8 月 27 日 下午 6:15 
this is insanely ♥♥♥♥♥♥♥ cool