Skip to content

Rounding on lines doesn't work properly #85

Description

@ErikSandquist

image
When the lines are inactive they are rounded to a circle, but when extended they lose the rounded corners and return to hard lines.

Here is my code:

let audioElement: HTMLAudioElement | null = document.querySelector('#audio');
let canvasElement: HTMLCanvasElement | null = document.querySelector('#canvas');
if (audioElement && canvasElement) {
	let wave = new Wave(audioElement, canvasElement, true);

		wave.addAnimation(
			new wave.animations.Lines({
				lineWidth: 3,
				lineColor: 'white',
				count: 100,
				rounded: true,
				center: true,
				mirroredY: true
				})
			);
		}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions