[Flashcoders] dynmically adding waves together problem
Hi All, I need to draw waves dynamically which can be influenced at runtime. These waves then have to add together and show the result in a third wave. Here you can see the problem graphically: http://www.codobyte.com/waves/ Every help is welcome! TIA, Cor van Dooren ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] dynmically adding waves together problem
It would seem to me that you are drawing the two waves with some kind of sine function. Y1 = Sin(x1+Phase1) Y2 = Sin(x2+Phase2) So all you have do to create the third is Y3 = Sin(x1+Phase1) + Sin(x2+Phase2) Remember of course that Y3 will have a max/min of +2/-2 assuming of course that originals are +1/-1 range as they should be with no amplitude adjustment. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor Sent: Monday, June 06, 2011 2:16 PM To: Flash Coders List Subject: [Flashcoders] dynmically adding waves together problem Hi All, I need to draw waves dynamically which can be influenced at runtime. These waves then have to add together and show the result in a third wave. Here you can see the problem graphically: http://www.codobyte.com/waves/ Every help is welcome! TIA, Cor van Dooren ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Incubator updates
Lots of things, like any Valve game for example, seem to run much slower on Mac OS X than on Windows, on the same hardware. I'm not sure this is a Flash Player problem specifically, though I do hope they can bridge the gap a bit more. Kevin N. On 5/22/11 6:32 AM, Karim Beyrouti wrote: one observation here: Stage 3d / Molehill runs much much faster on a PC than a Mac. Recently loaded XP BootCamp, and some Away3D examples than ran at 2-3 FPS on OsX ran at 30 FPS in XP on the same PC, well all examples were an order of magnitude faster in XP / Window. I know it's early days, but I do hope that this gets ironed out, and we are not left with too much disparity/performance differentials between platforms. - k On 22 May 2011, at 10:54, Henrik Andersson wrote: Since nobody else has done this, I might as well do it. It's old news by now, but it doesn't hurt to tell people about it. The flash player incubator have updated and added new features. http://labs.adobe.com/technologies/flashplatformruntimes/incubator/ Here is the feature list for those who can't be bothered to check the page out. Media/Real Time Communications * G.711 audio compression for telephony * H.264/AVC SW Encode for camera encoding Language/VM * JSON (JavaScript Object Notation) * GC Advice * Socket Progress Events * Pause/sleep/resume Events Security * Secure random number generator * TLS (Transport Layer Security) sockets * TLS socket policy file Oh and they still got that previous incubator stuff too, like Molehill and cubic bezier curves. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Incubator updates
Interestingly enough - I installed the latest drivers from NVidia on windows (bootcamp/2010 - 13 MBP), and Stage3D performance dropped to 2-3 FPS just like on OSX. Also, I think some games on OsX use vine/windows emulator - which is why they are slower. Not sure if Valve have native code or not for OsX, but - i also hope they bridge the gap with OsX a little more. On 6 Jun 2011, at 21:13, Kevin Newman wrote: Lots of things, like any Valve game for example, seem to run much slower on Mac OS X than on Windows, on the same hardware. I'm not sure this is a Flash Player problem specifically, though I do hope they can bridge the gap a bit more. Kevin N. On 5/22/11 6:32 AM, Karim Beyrouti wrote: one observation here: Stage 3d / Molehill runs much much faster on a PC than a Mac. Recently loaded XP BootCamp, and some Away3D examples than ran at 2-3 FPS on OsX ran at 30 FPS in XP on the same PC, well all examples were an order of magnitude faster in XP / Window. I know it's early days, but I do hope that this gets ironed out, and we are not left with too much disparity/performance differentials between platforms. - k On 22 May 2011, at 10:54, Henrik Andersson wrote: Since nobody else has done this, I might as well do it. It's old news by now, but it doesn't hurt to tell people about it. The flash player incubator have updated and added new features. http://labs.adobe.com/technologies/flashplatformruntimes/incubator/ Here is the feature list for those who can't be bothered to check the page out. Media/Real Time Communications * G.711 audio compression for telephony * H.264/AVC SW Encode for camera encoding Language/VM * JSON (JavaScript Object Notation) * GC Advice * Socket Progress Events * Pause/sleep/resume Events Security * Secure random number generator * TLS (Transport Layer Security) sockets * TLS socket policy file Oh and they still got that previous incubator stuff too, like Molehill and cubic bezier curves. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders