Skip to content

Beams are drawn wobbly #2487

@Danielku15

Description

@Danielku15

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

With the recent rework of the stem heights and beam drawing, it appears the beams are now drawn quite wobbly.

Image

Expected Behavior

The beams should have a clear diagonal line.

Steps To Reproduce

Tex: :16 5.3 7.3 8.3 7.3

Link to jsFiddle, CodePen, Project

No response

Version and Environment

[AlphaTab][VersionInfo] alphaTab 1.8.0
Logger.ts:11 [AlphaTab][VersionInfo] commit: 3f91c6a08525af248892de7e0d34445a43251e82
Logger.ts:11 [AlphaTab][VersionInfo] build date: 2026-01-08T21:43:01.072Z
Logger.ts:11 [AlphaTab][VersionInfo] High DPI: 0.8999999761581421
Logger.ts:11 [AlphaTab][VersionInfo] Platform: BrowserModule
Logger.ts:11 [AlphaTab][VersionInfo] WebPack: false
Logger.ts:11 [AlphaTab][VersionInfo] Vite: false
Logger.ts:11 [AlphaTab][VersionInfo] Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Logger.ts:11 [AlphaTab][VersionInfo] Window Size: 1174x1199
Logger.ts:11 [AlphaTab][VersionInfo] Screen Size: 3840x1200

Platform

Web

Anything else?

The beams are placed using linear interpolation. Its most likely that the x-positions are to blame.

Metadata

Metadata

Assignees

Labels

area-renderingEverything related to the renderingplatform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions