Skip to content

Allow for multiple lights in the visualisation#24

Open
johanhvdb wants to merge 4 commits intoqbead:mainfrom
johanhvdb:master
Open

Allow for multiple lights in the visualisation#24
johanhvdb wants to merge 4 commits intoqbead:mainfrom
johanhvdb:master

Conversation

@johanhvdb
Copy link
Contributor

@johanhvdb johanhvdb commented Oct 21, 2024

This uses the state class, so that merge will have to be done beforehand. Also makes the diff more difficult to read.

On the html side the set bloch smooth has been improved. It would only average out the theta and not the phi value. This looked weird in the visualisation. It would be a good idea to consider using the same code on the arduino side.

Every time set bloch smooth is called, the theta phi and c values are added to an array and sent to the laptop. Due to bluetooth max 20 bytes this is done in multiple times.

The first value in the array is treated as the main value (so the first call to set_bloch_smooth) and this is where the arrow points.

image
WhatsApp Image 2024-10-30 at 12 45 32

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

Successfully merging this pull request may close these issues.

1 participant