# Uhm, picogen fractals

6 Favourites
2K Views
I realized I can make fractals with picogen as a side product ...

to try it yourself, type:

picogen mkheightmap -Lhs "([2 Layers base((*(sin y)(sin x))) persistence(0.75) layercount(10)] (+x([2 Noise frequency(20)]xy)) y)" -p -n
Image details
Image size
1680x1050px 1.13 MB
Published:
very interesting I like the pattern.
Did you already try to use something like that as heightmap?
not that one, but i think it would give a pattern like [link] (but without the discontinuities)

Still there's the freak in me that wants to code a Mandelbrot in mkheightmap (though that's pretty hard if you have just 1 function with two parameters that can only recurse to itself )
I think, it's not THAT hard....
you take the standard mandelbrot, but the INSIDE points (so, do NOT save values, which escape), make the absolute (sqrt(x²+y²) and take the results as height
Though, the bad thing is, that you'll need DAMN high resolution to give it a go^^

For recursion to a SINGLE function... hum....

(x+y)->x²-y²+2xyi+x+y

well, that *might* give rather odd results ^^ dunno, try it

nice glitch images The one you're refering to, most likely, looks ABSOLUTELY different Your map is much rounder

Hum, do you think, you could do a mapping a to b?
[link] - those could give pretty interesint height maps
Fanks

For one reason it _will_ be hard: I can not test whether the current recursion is the first one (i.e. x and y are actual screen coordinates) or not, so I'd have to glu together multiple numbers within a single one, and define special cases like "if x is negative, then the fractional partit gives us the current recursion depth" and so ...
IC... OR...
You recode it
That'll be a hassle, ONCE, but afterwards, it'll ALWAYS work, without new hassle ^^
i think I'll write a new parser for that more plausible language i thought of recently (with the syntax like that: f (x,y) -> sin(x)*sin(y))

i've glimpsed over [link] and see that ISL is (w.r.t. syntax) basically the same as HS
cool
May we also get a picogen-HS-preview-app? (and later a merge ^^)