Shop Mobile More Submit  Join Login
Well this was done in 23 minutes. I got to institute too early and had 30 minutes free. I needed to make gradient look little bit cloudy. So I decided to try one thing and it looks much better then I tough :D So sometimes my work is fast and fun :D

Well feel free to play with parameters ;) Sorry didn’t have time to name them.

Ok. Edited and added some more options. And stretched it, so it is bigger now. May lag.

Explanation:
ScaleX/ScaleY – stretch of displacement map
Octaves – 1-3 for how complex it is. Each octave is additional layer of map which is stretched 2 times less then previous.
Displacement Strength – multiplier for displacement effect.
Type – well type of function.
SpX/SpY – speed with which each layer moves.


Edit 15.01.2008:
Was implementing this in to the project and played with background gradient a little. Looks more interesting now :)
P.S Got one idea how to make interactive water based on standart bitmap operation :) Though i don't have time to try it at the moment...
Add a Comment:
 
:iconatomic7732:
atomic7732 Featured By Owner Sep 21, 2010
It looks like... you are in a plane, viewing the ocean below. Idk, cool!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Sep 21, 2010
You can achieve some other fun effects with it, try something like scales 100x 200y, x speeds to small values and y speeds to positive values i range of 0.5-2.0 :) Looks like some northern lights or some other energy radiance :)
Reply
:iconshnitzelkiller:
ShnitzelKiller Featured By Owner Apr 15, 2009
quote:


TypeError: Error #1009: Cannot access a property or method of a null object reference.
at DisMapTest_fla::MainTimeline/frame()




That's what I get when i load this a the start. I can dismiss it and continue, but it's still a minor bug. One that I hate, too. I wish some of those errors were more specific when I'm making things, especially 1010 and 1009, which i get a lot.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Apr 16, 2009
Yeah some versions of flash throw that stuff and some don't... I don't see error here...
Reply
:icon39woods:
39Woods Featured By Owner Apr 9, 2008
Is this calculated on the fly? or do you cache and loop?

I'm just wondering if the effect can be less cpu expensive? for example, if you are already cache and loop, then this cpu usage is just lots of BitmapData.copypixels (and so nothing to improve). Or is perlinNoise & displacementMapFilter so efficient?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Apr 9, 2008
Well on each frame only displacement is calculated. When you click and map changes new color map is calculated by perlinNoise. Then displacement map is calculated from color map. And then on each frame light map is displaced according to mouse coordinate and displacement map. So no perlin nouse or other calculations except displacement on each step. I believe that you do it more efficient because seen some very impressive simulations in the net like this one: [link]
Reply
:iconmobilelectro:
Mobilelectro Featured By Owner Jan 23, 2008
Wow! very interesting. :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 23, 2008
Thanks :)
Reply
:iconmove-me-more:
move-me-more Featured By Owner Jan 21, 2008
you really do amaze me. i'm always early, and also tend to spend my free time in the labs doing stuff like this. Mine, however, never make it home...
Reply
:iconmove-me-more:
move-me-more Featured By Owner Jan 21, 2008
yep. halfway marks and tests.. nothing polished enough to share..
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 21, 2008
Hmm. So many works you do are not shared?
Reply
:iconkeydan:
Keydan Featured By Owner Jan 17, 2008
Yey fractals, I made a few programs and a sciance work a while ago on them...
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 17, 2008
Yeah something like that :)
Reply
:icontecwzrd:
tecwzrd Featured By Owner Jan 16, 2008
Wonderful effect :wow: Are you coding in AS3 for this?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 16, 2008
Yes but you can do the sam in AS2 Flash8. Just using some bitmap filters/function. You can figure which from title :)
Reply
:icontecwzrd:
tecwzrd Featured By Owner Jan 16, 2008
Been coding in AS2 for awhile and have worked with the perlin noise before but still getting the hang of AS3. from what I understand using perlin noise with AS3 is much faster and you can work with larger size windows.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 16, 2008
Well from my expiriance speed of filters and and some other core things haven't changed much. I am not shore but i think you can reproduce this with AS2. Basicly there are 2 300x200 bitmaps. One is with perline noise, another with gradien drawn on each frame. Then displacementmap is used on one with gradien with perlinNoise as displacement map. To make it 600x400 i streched it to x2 size. Quaility does not drop much but speed becomes musch faster.
Reply
:iconawesty:
awesty Featured By Owner Jan 15, 2008
It looks much more like water when set to turbulent now.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 16, 2008
Yeah :)
Reply
:iconninjitsuwarrior:
NinjitsuWarrior Featured By Owner Jan 15, 2008
I love you!!!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 15, 2008
:)
Reply
:iconenci:
enci Featured By Owner Jan 14, 2008
This is damn good
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 14, 2008
Not so complex as it seems... Just some perlin nouse and DisplacementMapFilter. As i said i made first version in some 23 minutes or so :)
Reply
:iconguitarret:
GuitARRET Featured By Owner Jan 12, 2008
cool.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 12, 2008
mm thanks :)
Reply
:iconguitarret:
GuitARRET Featured By Owner Jan 13, 2008
you're welcome :)
Reply
:iconxero-sama:
xero-sama Featured By Owner Jan 12, 2008  Professional Digital Artist
i love it! Great water tool for animating!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 12, 2008
thanks :)
Reply
:iconkillthemouse:
killthemouse Featured By Owner Jan 11, 2008
Nice, makes for quite a good water effect!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 12, 2008
Yeah :)
Reply
:iconpsykopath:
psykopath Featured By Owner Jan 11, 2008
'Turbulent' looks alot more like water.
It runs really smoothly for something that big, I like it :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
:) thanks
Reply
:iconbrunoxyz:
brunoxyz Featured By Owner Jan 11, 2008
thats great,, I too think that it looks more like water.. but the important part is that you can get many different effects by modifying it.


how can you do these things.. is it just action script? can you do this in flash mx too?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
I will upload version with more parameters later. And will name those that are there.
Reply
:iconbrunoxyz:
brunoxyz Featured By Owner Jan 11, 2008
sorry I think I didn't explain myself good enough.. I meant that it doesn't matter what it looks like.. water or clouds,, that there is potential to create more stuff with it.. like smoke effects in a game or whatever it could be used for.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
Well yeah ofcourse. It's based on more or less standart idea. You can see it in many modern 3D games actualy.
Reply
:iconninjkabat:
ninjkabat Featured By Owner Jan 11, 2008  Hobbyist General Artist
Looks more like water than clouds.

I'm still always fascinated by what you can do with a relatively short amount of time.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
Yeah it does :) Well if it will not be what they want i will work with it more. I can make a lot based on that. It was just very fast experement to see if ican make something like that. BTW i forgot to test another formula which looks more like clouds. I will add on/off bar later for it.
Reply
:iconcepums:
cepums Featured By Owner Jan 11, 2008
patiesiibaa.. ja tu uztaisiisi lai tas kustas nevis uz leju.. bet uz augshu.. aatraak.. un nedaudz savaadaak.. tas vareetu izskatiities peec baigaa pazhara :) tipo peec uguns sienas.. paprovee.. mosh sanaak :) algoritms jau pricipaa tas pats laikam
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
Ja tas ir tada pata ideja kura ir izmantota lai sdarit mazu labi strada6u ugunu.
Reply
:iconcepums:
cepums Featured By Owner Jan 11, 2008
bet tu aizmirsti ka uz maakonjiem iedarbojas horizontaals veejsh...
ieliec arii to algoritmaa.. un viss ko tev vajadzees ir zaaliite :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
Nu runa bija ne ka par makonimeb but par dumi vai miglas... Es var but neparezi izteicos. Es pec kadu laiku citu variantu uzlade6u.
Reply
:iconcepums:
cepums Featured By Owner Jan 11, 2008
nuuu ees nezin.. diez kas nav..
ja nu vieniigi kaa fons kaadaa citaa lietaa... nu tiiri kaa algoritms mosh incanti..
bet kopumaa izskataas diezgan vienmulji.. jo redzies.. te jau nav programmeetaaju vieta.. te jau maakslinieki tuseejas :)
ieliec priekshaa veceni ar pupiem un zobenu.. uh kaa tauta uzraiz pavilksies :D

labaak uztaisi to lavas lampas screensaveri :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 11, 2008
Tas ir izdarits ka atrs eksperements vienaj darbaj. Un tas ir maksla man. Tas ir mana maksla. It ka smekligi noklasusa ka programe6ana nav maksla :D Maksla ir limenis. Visas profesijas ir maksla :D Un ja DA or daudz fotogrfaijus, fanartu, citu darbu. To ka tur nav tik daudz makslinieku ka es nenozime ka DA nav vieta man :D Ne zinu tu ar taviem vardiem it ka pazemojs mani :D Un ne kadam vecim 6aja darba vietas nav.
Reply
:iconlightbird:
lightbird Featured By Owner Jan 16, 2008  Hobbyist Traditional Artist
Soglashush, ja iz matematiki ochenj malo ponimaju no vse ravno ocenivajo, cto iz cifrov toljko sdelatj mozhno :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 16, 2008
Nu eto prosto nemnogo drugoj i neobi4nij poka 4to vid iskustva. Po anlgiski jego se4as nazivat stali kak "Time-Driven art" i dla mena je6o i interaktivnij :) Ne prosto kartinka a 4to to zivoje i otklikaju6ijesa na dejstvija sozercatela :) A tak eto vob6e prosto obo4nij rezultat togo 4to ja na rabote se4as delaju :)

K tomu ze cifrovoje iskustvo mozet bit o4en daze krasivim i interesnim. Von hotja bi na fraktali posmotret. Po mne tak v mnogih fotografijah iskustva na mnogo men6e 4em v fraktalah.
Reply
:iconlightbird:
lightbird Featured By Owner Jan 20, 2008  Hobbyist Traditional Artist
No fraktali i v prirode chastno strechaetsja - led no moih oknah, kogda holodno bilo... krovavie vesla, neironi i tak dalee :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 20, 2008
Nu tut delo v ocenki kreativnosti. Skokko kreativnosti v tom 4to bi nazat knopku na otoaparate smotra v nuznom napravlenii. Skolko kreativnosti v tom 4to bi dobavit paru bibliotek v proket i napsiat paru stro4ek i pol4uit letaju6ij krugami 6arik. Skolko kreativnosti v tom 4otbi otkrit programmu fractalov i perebrat formuli i ponatravlivat odnu na druguju.Kazdij re6ajet sam dla seba. Pozaluj 4to bi polu4it horo6uju fotografiju ili fraktal vo ze nuzno vlozit mnogo usilij. Prosto dla nekotorih poisk krasivih ve6ej ne javlajetsa 4astju sozedanija ili projavlenija iskustva... Da i vob6e samo ponatija iskustva ili kreativnsoti 4erez4ur abstraktni. Bojevije iskustva naprimer :D
Reply
:iconlightbird:
lightbird Featured By Owner Jan 20, 2008  Hobbyist Traditional Artist
Menja rasstraivaet to, chto slovo Izkusstvo ili Hudozhestvo izpoljzovaet chtobi skrivatj ploho sdelannuju rabotu. kak sumku odnoj iz sester Olsen - sdelannaja iz vsjakogo musora, nu plastmasovih butilkah, pachkah sigaret, i tak dalee, I prodaet za gromadnie dengi. Dazhe ne rasstraivet, besit! :stab:
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 20, 2008
:D :D :D Nu eto uze delo teh kto pokupajet :D :D :D Jesli oni takiej durik eto pokupat to delo ihneje :D :D :D
Reply
Add a Comment:
 
×
Download SWF download, 45.6 KB




Details

Submitted on
January 11, 2008
Image Size
45.6 KB
Resolution
600×400
Link
Thumb
Embed

Stats

Views
2,785
Favourites
20 (who?)
Comments
52
Downloads
65

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial 3.0 License.
×