It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can someone tell me the steps of using animation on this page:
http://www.professorcloud.com/mainsite/canvas-nebula.htm#disqus_thread
Sure
As you can read here:
This is a simple demonstration of a nebula effect using the HTML5 Canvas element. The effect is created by layering three images, derived from a larger single bitmap source, that fade in and out while increasing in scale. The non-repeating nature of the effect is created by having a larger bitmap than the view area and choosing a random texture offset.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to do as the picture, but does not go
Here is a live example of what is.
You could give a background-color to #wrapper to replace the white default background-color.
Actually, it 'll be easier to let the background-image in another container and let that container overlap a few pixels the slider. it means to rethink slicing and layout structure.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am building a browser-based game and I would like to generate a hex map. I have seen it done using Flash and I thought that it can be done using HTML5 canvas. I have done some research on it and I would like some suggestions from other experts on this context.
Adapting basic algorithms like this from Flash to Canvas is actually not that difficult. If you need a canvas framework that's close to the AS3/Flash you can take a look at EaselJS: http://createjs.com/#!/EaselJS
Here's an article on Hexagon Tiles:
http://www.emanueleferonato.com/2008/04/16/understanding-hexagonal-tiles/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I can't resize or rotate different layer in same stage , it change the size or rotation but it does not effect immediately ,
If you want to see use this link :
http://clients.rafineri.net/test/canvas/canvasTest.php
Scripts in the page source
Just use slider and then click on the image to see the problem.
At end of both functions (updateResize() and updateRotate()) insert the line
image.getLayer().draw(); /*redraws layer*/
To draw the image when page loads, call layer.draw() inside InitStage()
layer.draw(); /*add this line in initStage()*/
stage.draw();
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
The images are located at
http://www.zerply.com/home/
The images at the top left below the Example Account heading and zerp.ly/example. I have been inspecting the CSS of this page for hours now but just cant find these three images.
Thanks
Edit:
I want these three images. I did use Firebug, i found some sprite images(which didnt contain these images).
The images in your screenshot are made up of two parts:
This sprite sheet
Setting the font-family of each .action-menu a to Pictos.
Each of those three icons are represented by the glyphs :, q and N respectively.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is there anyway we can split mesh (exploding mesh effect) in java? Please give me code that is doing this.Thanks in advance
Check out this example in XNA, it uses a shader to achieve the effect you are looking for:
http://create.msdn.com/en-US/education/catalog/sample/shatter
Perhaps you can map the technique to something similar in Java