This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-10-02 14:07:05

arthurz
Scratcher
Registered: 2010-02-03
Posts: 47

Incrementing sine wave

I am making a project but I can only give limited details on it for obvious reasons  wink  I got it working but the sine wave is 'flickering' and not smooth. Could someone solve this problem for me? Thanks for help.

Project link:
http://www.scratch.mit.edu/projects/arthurz/2812143


Sine wave engine, check it out.
http://www.scratch.mit.edu/projects/arthurz/2816216

Offline

 

#2 2012-10-02 20:08:45

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Incrementing sine wave

I would like to help, though I have a lot of homework at the moment. Are you willing to wait till Friday (or the weekend) for help?


http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2012-10-02 22:16:45

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Incrementing sine wave

Unfortunately the only way to solve this problem is to hard code the wave.  That is, unloop it and have repetitive code over and over again.  The reason that it's flashing is because there's no buffer in between your "frames" which aren't really frames, but many frames strung together so there's no way to really get rid of the flashiness except to make it do it all in one frame.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

Board footer