Add decaying sine wave maker extension#2517
Closed
greenkidneybeans wants to merge 1 commit into
Closed
Conversation
This block generates a Damped Sine Wave based on five parameters: Amplitude(Wave size relative to frequency), Frequency(how fast the wave oscillates), Decay multiplier(for example, the normal constant would be 1 or -1 if you do -0.5, the decay is slower, if you do for example 500, it would go flat in a near instant.), Speed(the amount of steps forward on the x axis it takes each iteration), StartX(the starting X), And StartY(the starting Y). This uses a formula that creates a sine wave instantly and is expected to be visually mapped using Pen.
Collaborator
Sorry to close this... |
Author
The sprite shoots to the corner because it is made to process instantly without you knowing. It is meant to be visually tracked if needed by having pen down with the pen extension. |
Member
|
This is better handled by a script inside the project which can apply any and all customizations it wants, as this block as-is is just not particularly useful |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This block generates a Damped Sine Wave based on five parameters: Amplitude(Wave size relative to frequency), Frequency(how fast the wave oscillates), Decay multiplier(for example, the normal constant would be 1 or -1 if you do -0.5, the decay is slower, if you do for example 500, it would go flat in a near instant.), Speed(the amount of steps forward on the x axis it takes each iteration), StartX(the starting X), And StartY(the starting Y). This uses a formula that creates a sine wave instantly and is expected to be visually mapped using Pen.