How can I achieve the piece by piece effect without Muse? - parallax

I'm trying to do what this website does with the piece by piece effect. Unfortunately, I'm not sure whether I can use Muse with code, or if it has to be graphics based. I would rather use a technique that is only code, without any special tools.
I found WOW.js, but I'm not sure if it can achieve the same effect.
Thanks.

Related

Rendering canvas from Ruby

I have a chart in my current web app that I’ve implemented in canvas. I’d like this to work in IE8, but excanvas doesn’t seem to support translucency or composite operations. My fallback solution is to render a chart on the server as an image and send that out to IE8 instead of rendering it client-side.
I’d assumed there’d be a canvas gem that I could use with a direct port of my JS code to Ruby, but I can’t find anything. Has no-one done this? If not, what would people recommend? It’s not a particularly complex drawing, but I’d like to keep the amount of duplication to a minimum.
(It’s worth pointing out that I’ve considered using a headless Webkit to render and return a data URI, but I expect this would be fairly slow to spin up. Another possibility is to pre-render all the possible charts – somewhere around 120K of them – but that feels like a last resort!).
I haven't found such an implementation.
There is at least one canvas implementation for node.js. You could use it to write a small node program to generate the images using the exact same code you're using on the client. It wouldn't be the most efficient solution but I'd guess it'd be better than using PhantomJS or the like.

How to write a code to read .fla file?

I was wondering so long that how can people analyze the trait of each file extension (of course open it in notepad is not readable)
For example, I want to write a program that can read everything from .fla file like timeline, movie clips, position of each MCs or all the motion tween values. And get the image embeded in it. (I'm planning to use flash as IDE for another project.)
(The reason that I tried to read proprietary format is I want to utilize their awesome editor. What I actually want to do is, I want to make an iOS game with cocos2d. There is a code to move things around in cocos2d but there is no decent editor. So I'd like to use Flash as an editor, then convert the motion to objective-C cocos2D code by reading the .fla file.)
If you would like to be able to import timeline animation from flash into cocos2d, this tool might help. More information in this thread.
The grapefrukt-exporter might also help as it can export keyframe data, and various other formats for animation.
Instead of creating the tool yourself, it might be much easier (and time saving) to use one of these and integrate it into your workflow :)
Finally, if none of the above works, how about just exporting the flash animation as an animated GIF or a movie file?
Im assuming you want to write a decompiler, this is possible and there are several available on the internet, price varies.
It is not possible for flash to achieve this, Most programs, software are built on a native language such as C, Native meaning it can independly run in its own with out initially setting up an invironment to support it.
Flash is not independent enough to be available to have this much power.
Try looking at c++ or C# as this would be possible, also these languages are a lot more powerful.

XNA under the hood?

From what I understand, the XNA framework is little more than a wrapper around DirectX with some helper classes. I am interested in looking at this code though. Is there anywhere that I can see some of the actual code that went into making this framework?
This code belongs to Microsoft and isn't open source. I don't think that Microsoft will be releasing the code for it in the near future.
However, there is an application called Reflector.Net. This will allow you to view the code, but it will be obfuscated, but it may give you an idea of what is going on in the DLLs.

Execute arbitrary code in Corona

Is it possible to execute any arbitrary lua code in Corona? They've disabled loadfile, loadstring, and dofile. Are there any other ways to do this?
There's a reason they've disabled it. Apple's restrictions don't allow it, so they took it out altogether for that reason. Not to mention it makes Corona more secure, I suppose.
You might be able to enable the features you've mentioned with a Corona enterprise license (although that's relatively spendy if you're a small shop/independent developer.)

What librairies exists to create "moving/living" UI in delphi?

While reading delphifeeds yesterday I discovered delQuery, which allows one to get some nice animation on his form very simply.
I would like to know if there are any other libraries of that kind out there and what experience you had with them ?
(I'm trying to find a way to make my application more alive in terms of GUI; buttons that grow when you hover them, that kind of animations but with a nice programmatic interface)
Do you mean something like Billenium Effects?
(source: billeniumsoft.com)
There is CrossGL at http://www.crossgl.com/

Resources