Author Topic: fun little toy I just made for the hell of it  (Read 5820 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
while trying to figure out perlin noise I came up with this
_UNBELIEVABLY EXPENSIVE_
function

Code: [Select]
@n1=sin(2*(:x:)*PI) + sin(2*(:y:)*PI)/2
@n2=(sin(4*(:x:+:n1:)*PI) + sin(4*(:y:+:n1:)*PI))/4
@n3=(sin(8*(:x:+:n2:)*PI) + sin(8*(:y:+:n2:)*PI))/8
@n4=(sin(16*(:x:+:n3:)*PI) + sin(16*(:y:+:n3:)*PI))/16
@n5=(sin(32*(:x:+:n4:)*PI) + sin(32*(:y:+:n4:)*PI))/32
@n6=(sin(64*(:x:+:n5:)*PI) + sin(64*(:y:+:n5:)*PI))/64
@n7=(sin(128*(:x:+:n6:)*PI) + sin(128*(:y:+:n6:)*PI))/128
@n8=(sin(256*(:x:+:n7:)*PI) + sin(256*(:y:+:n7:)*PI))/256


@H=:r:/8

@S=0

@L=1-(:n1:+:n2:+:n3:+:n4:+:n5:+:n6:+:n7:+:n8:)*.8

$output<hsl>{
:H:
:S:
:L:
}
wich made this image

[attachment deleted by admin]
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
I think I'm going to start over useing wxwidgets, the basic framework is simple so it shouldn't take too long to rebuild, and I'll make use to make an actual image handleing class this time, then I'll be able to do layers, and THEN it'd be easy to do things like perlin noise, on a plus it'd also be an absolute snap to get loading of images, then you could do manipulation of exsisting textures. the variable code is off in it's own little world so I can still develop it in the exsisting project without haveing to worry about porting issues.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Re: fun little toy I just made for the hell of it
Wait... could this tool create tileable water animations?

That would be great! ;)
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 
Re: fun little toy I just made for the hell of it
Does your generator support random (rnd) numbers?

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
yes and yes
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
well I learned a lot about wxwidgets the last few days, maybe I can put that to use on wxfred.
anyway, this is the new interface, note the whole layer system (and the tumbnail views), it's prety unstable (cause I don't seem to fully understand the list control totaly) but you should be able to get a jist of what I've got in mind.

[attachment deleted by admin]
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

  
Re: fun little toy I just made for the hell of it
That proximus effect is the most organic, awesome looking and usable one you've yet devised. There's no hint of the spirograph look from some of the others, it is killer.  :yes:

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
that is from the new layering system, you can make perlineque noise and use that for later use you can add it to a spyrography looking thing then use that for a sine function and get cool turbulence effects.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
not going to be able to work on this much for a few days, but here is a better example of fractal noise at work

[attachment deleted by admin]
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: fun little toy I just made for the hell of it
still haven't been able to do any work on this, but here is something I made just a little while ago

[attachment deleted by admin]
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together