Closed dksmiffs closed 12 years ago
I would recommend you wrap convert your text value to a string on line 6 of your code:
text: String(ii+1)
Doing so fixed an error on Google Chrome, but still doesn't show anything on Chrome or Firefox. Could you please send me a screenshot of the expected result, so I know what I'm supposed to be looking for?
The animation shows a sequence of random individual "raindrops", and then leaves a "breadcrumb" count behind to show where past raindrops occurred.
Your recommended fix worked for me on both Chromium 21.0-derived and FF 15.0.1, so I'm closing the issue.
The following "raindrops with breadcrumbs" animation works on Chromium-derived 21.0 with jCanvas b47e419cf9f379f1df8c82617ebc8d5835fdc7de, but not on later versions. This code won't show any animation at all with FF 15.0.1 with any version of jCanvas that I've tried:
If I comment out the "addBreadcrumbCount" call and replace the 'fadeLayer("crumb-count...' call with simply making the recursive call to "raindrop" (effectively taking the text animations out of the equation), then the "raindrops" animate on both Chromium-derived 21.0 and FF 15.0.1 using the latest jCanvas 0b8a951f507591738b458e1d813d0b680f07eef7.