Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bounce/loop extra frame #91

Open
dmarx opened this issue Mar 4, 2023 · 2 comments
Open

fix bounce/loop extra frame #91

dmarx opened this issue Mar 4, 2023 · 2 comments

Comments

@dmarx
Copy link
Owner

dmarx commented Mar 4, 2023

see #87

@dmarx
Copy link
Owner Author

dmarx commented Mar 4, 2023

test cases

c = SawtoothWave(10)
c.plot(30)
c = TriangleWave(10)
c.plot(30)

@dmarx
Copy link
Owner Author

dmarx commented Mar 4, 2023

simple but ugly solution: call that frame the "buffer" frame and let it default to either 1 or 0, then use the "buffer" as an offset as needed in the loop computations. not a huge fan of this but it'd work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant