ActionScript 3.0 :: Create The 3D Perlin Noise Effect In Flash?
Nov 13, 2009how can i create the 3D perlin noise effect in flash?
View 1 Replieshow can i create the 3D perlin noise effect in flash?
View 1 Replieshow to get the Perlin Flag Wave shown at
Senocular[dot]com/flash/source/?entry=761
to go from right to left?
Reversing the gradient of the displacement does not work. It simply reverses the amount of the effect on the left side so the waves are bigger on the left end, but the waves still move from left to right.
I'm trying to replicate an smart filter from Photoshop (CS5) in AS3. Here's what I'm trying to do: I want to have a dark gray background (0x323232 to be specific) with some light, fine grained monochromatic noise on it. I've been mucking around with the perlinNoise method but it's 'too much noise'. Too much contrast. Code: bitmapData.perlinNoise(3, 3, 13, Math.random(), true, true, 7, true); Could anyone point me in the right direction?
View 2 RepliesLately I have been trying to animate the water surface giving it more natural look by use of Perlin noise. But it seems it is very CPU intensive operation. And if I use it along with other animations on the stage which involve lot of movements then it become really difficult for the machine to render the entire scene.
View 2 RepliesI have an example that I copied out of a book "Actionscript 3.0 Cookbook"here's the error message:TypeError: Error #1009: Cannot access a property or method of a null object reference. at jim.bitmap::Clouds()[C:AS3projectsclassesjimitmapClouds.as:13] at clouds_fla::MainTimeline/frame1()[clouds_fla.MainTimeline::frame1:2]
[Code]...
got this code from herehttp:
[Code]...
Is there a way to pre-render a BitmapData.perlinNoise moving animation into a seamless loop of 10-12 frames from which copypixels could be used on the resultant sprite strip to produce fast resuilts?
View 1 Repliesaffect the position of a sprite using perlin noise? Looking at this flag example:
[URL]
If you imagined a sprite with say just a circle drawn in it positioned on the top right corner of the flag, is there a way to calculate the change in position to keep it in-sync with the flag corner as that animates? What I'm after is the fluid motion but not the distortion.
i got this perlinnoise called function and movieclip.filter = [displacementMapFilter] inside a onEnterFrame and it's eating me at 100 percent. are there any substitutions for making it much less processor intensive? I'd like to show a picture rippling and i'd like to use perlinNoise. Is there a way i can pre-calculate the perlin noise values and then loop through it in an OnEnterFrame
View 7 RepliesI have been trying to create a visual noise pattern using bitmapData.noise, and with help from Rothrock and Kglad have created a working version.I checked with a colleague who is expert on the use of these visual patterns, and he suggested that the change speed is too fast: that the dots (pixels) need to change at just under 400 dots per second for an 800 x 600 stage.With beginner skills in AS3, I am unsure if there is any way to change the script to slow the rate of dot change in the bitmapData.noise function?
View 2 RepliesI have this tutorial code from AS3 Cookbook, fog like effect on Bitmap data
Code:
import flash.display.Sprite;
import flash.display.Bitmap;
[code]....
is there a way to change the code and create attraction effect instead of push effect?i tried but without success...!
View 1 RepliesI'm new in flash, how to create morphing effect in Flash like one of this sample : [URL]s are we should make separate images for every object movement that we want to morph.
View 3 RepliesI'm trying to create a specific effect on flash, basically the piece Im struggling with is a ring, imagine a doughnut, inside it for this description is one button, when you click on that button I want a piece of the doughnut to shrink away, cutting a segment of it out, revealing more buttons behind it. Basically imagine it going from a 'O' shape to a 'C' shape.
View 2 RepliesI'm pretty new to Flash, and I want to create a button like these.I understand how to make a basic rollover button, but I haven't got a clue how to do animation like that.URL...
View 1 RepliesI want to create a flash preloader effect in my flash animation. How should I do this?
View 1 RepliesI am adding "layer" objects to the stage with a depth value.
I have then created my own camera class. When I tell the camera to move to the right what Im actually doing is telling each layer object to move to the left.
The distance that the layer moved to the left is based on the value of its depth variable...
var fCameraDepth = 1;
var fTan:Number = Math.tan( fCameraMovement / fCameraDepth );
oLayer.x += fTan * fLayerDepth
This works well and gives me a really nice parallax effect. The problem I'm having is that I want to be able to tell the camera to look at a movie clip on any layer but I'm having trouble figuring out how to convert the movie clips coordinates to the cameras depth.
Im trying something like this...
var fCameraDepth = 1;
var fCameraPosition:Number = oCamera.x;
// the layer will have a + or - x val compared to the camera so we
[Code].....
Any good demo or tutorial on creating a hollywood style spotlight effect? 2 soft edged rays pointing down towards a 'floor' and criss crossing each other.
View 1 Repliescreate water effect in flash which is similar to this website link [URL]
View 4 RepliesI am looking to create a 'tentacle' like effect for a flash animation. A frame by frame animation is not ideal as it is arduous and not very easily manipulated.
I have attached an fla of the effect I am looking for. Ideally it would be a line that snakes in and grows thicker at the back end. I can create it in the way included in the fla but it is not very portable and i cannot overlay different tentacles.
I think that a layer mask would be good but I cannot think of a way to go about it.
Need to get lightbox in flash working? Its either do this or create something similar to lightbox effect in flash. How to do the lightbox effect by creating in the flash?
View 1 Repliesmy issue is with flash FLVplakback control with a seekBar attached to it. example can be found here. for some unknown reason when i try to rewind using the seekbar, it produces a loud noise at the start. whereas if i let it play out the entire movie (mp4) and then play again using the play button it does not produce such noise. in case i rewind using the seebBar after playback has completed even then it does not produce the noise.
View 1 RepliesWhen it comes to ActionScript 3 or programming, i'm newb. But I want to create an odometer effect in my flash movie. It's just a plain dynamic text box.[code]FastMile is the instance name of the text box. It works OK - the mileage is incrementing by 1s. After 10 seconds, it starts to increment by 10. Still works OK.But when I want it to start incrementing by 100s, the text starts to shake and I cannot see what's going on.However, the movie stops at 76931 miles as intended.
View 1 RepliesWhen it comes to ActionScript 3 or programming, i'm newb. But I want to create an odometer effect in my flash movie. It's just a plain dynamic text box.
ActionScript Code:
var count:Number = 60621;
var myTimer:Timer = new Timer(33,count);
myTimer.addEventLi
[Code]...
I want to create the drawing effect in Flash that many of us have seen on various websites.URL...I have an object already made in Fireworks. It's just a simple rounded rectangle with a 10 pixel stroke. I'm looking to draw the mask which in turn will give the impression to the user that the object is being drawn (because masks work in reverse).Right now, I have a version already done with a frame-by-frame slow erase of the mask. When played, it makes it look like the rectangle is being drawn. The problem is that it's just too shaky and jumpy. I need a more fluid animation which, like most things, can be done much better in ActionScript. I saw the Drawing API tutorial on Kirupa.com, but it doesn't show how to animate it and I definitely don't know enough AS to do it myself.
View 7 RepliesI want to create a page turn effect in Flash, but not just simply that... I want the user to be able to search the text, links to be active... Am I better off just using Flash Paper?
View 2 Replies. perhaps a you tube video. or perhaps a particular tutorial.how create a water drop effect in flash cs4 for a website?
View 3 RepliesWhen someone "click and holds" I want to fire off function over and over, say, once every 100ms while the mouse is clicked. Instead of MouseEvent.CLICK I would look for MouseEvent.MOUSE_DOWN and then start a timer on that event function that calls another function every 100ms. Then, on MouseEvent.MOUSE_UP I would stop the timer. Am I on the right track? Will I be able to get updated X and Y coordinates while the mousedown event is firing?
View 3 Repliesi'm trying to create a expanding Form with a smooth transition effect, here the code:
<s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"[code].....
But the problem with this is that even with creationPolicy set to all not all items seem to get initialized. This causeses the tweener animation to lag when clicking the "register" button the first time. after the first click, the animation is smooth.
It is possible to create a waving flag effect from the image in Flash using ActionScript 3?
View 2 Replies