Shop Mobile More Submit  Join Login
Uhm, picogen fractals by greenhybrid Uhm, picogen fractals by greenhybrid
I realized I can make fractals with picogen as a side product ...

(see [link] , [link] , [link])

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
Add a Comment:
 
:iconkram1032:
kram1032 Featured By Owner Nov 2, 2008
very interesting :) I like the pattern.
Did you already try to use something like that as heightmap?
Reply
:icongreenhybrid:
greenhybrid Featured By Owner Nov 3, 2008
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 :P)
Reply
:iconkram1032:
kram1032 Featured By Owner Nov 3, 2008
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 :D 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 :)
Reply
:icongreenhybrid:
greenhybrid Featured By Owner Nov 4, 2008
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 ...
Reply
:iconkram1032:
kram1032 Featured By Owner Nov 4, 2008
IC... OR...
You recode it :D
That'll be a hassle, ONCE, but afterwards, it'll ALWAYS work, without new hassle :) ^^
Reply
:icongreenhybrid:
greenhybrid Featured By Owner Nov 5, 2008
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 :D
Reply
:iconkram1032:
kram1032 Featured By Owner Nov 5, 2008
cool :D
May we also get a picogen-HS-preview-app? :) (and later a merge ^^)
Reply
:icongreenhybrid:
greenhybrid Featured By Owner Nov 6, 2008
mkheightmap-wx is already a preview-app :)

I am currently evaluating several free Widget-Toolkits (classes and objects that enable you to write a windowed application), my decision will probably wxWidgets, together with wxFormBuilder, as it offers a Scintilla-Binding (with scintilla being a component for writing programming-editors), not really fun to me, but then I cannnot expect ppl to use picogen from the command-line :P
Reply
(1 Reply)
:iconlyc:
lyc Featured By Owner Nov 1, 2008
that's a fractal?
Reply
:icongreenhybrid:
greenhybrid Featured By Owner Nov 1, 2008
it's in the "Layers" function, which wraps the same base function multiple times at different scales over itself (so basically a Pelin Noise function, but with arbitrary base-functions) :)
Reply
Add a Comment:
 
×



Details

Submitted on
November 1, 2008
Image Size
1.1 MB
Resolution
1680×1050
Link
Thumb
Embed

Stats

Views
1,866
Favourites
6 (who?)
Comments
13
Downloads
33
×