This is just a small project I've been working on for a while. It can render the Julia set and Mandelbrot set with smooth coloring. It supports something like 100,000x zoom (that's as far as a float will get you).
Sir_Silver wrote:I tried downloading your .love file and running it, and got this error:
-img-
Not sure if it's relevant, but I am running love version 0.10.1.
iirc 0.10 may have separate sendInt methods for shaders? It should be on the wiki.
Edit:
Because all numbers in Lua are floating point, in versions prior to 0.10.2 you must use the function Shader:sendInt to send values to uniform int variables in the shader's code.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
I uploaded a new version, it might fix the problem. I don't really have any way of testing on 0.10.1. If it doesn't work, then I'll just say this requires 0.10.2.
Good stuff! It's been a while since I played around with fractals. And by 'while' I mean watching them being rendered a frame at a time on a 68000 processor running at ~7mhz over a period of several minutes. So being able to real time zoom into them in an interpreted language is borderline witchcraft.
Very nice! Can you explain to me why for this application, why there's a significant lag spike when increasing super sampling for very little quality increase?
Before we learn to run, we must first learn to walk; before we learn to walk, we must first learn to crawl; Why should programming be any different?
MetalMelnic wrote: ↑Mon Mar 06, 2017 5:35 am
Very nice! Can you explain to me why for this application, why there's a significant lag spike when increasing super sampling for very little quality increase?
It's a lazy and naive implementation on my part. Supersampling just means that it checks neighboring points that are inbetween pixels which is effectively like increasing your resolution. Turning up supersampling is like doubling or tripling your resolution. I could implement it more efficiently, probably.