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

Rotating cube #27

Merged
merged 4 commits into from
Jan 28, 2023
Merged

Rotating cube #27

merged 4 commits into from
Jan 28, 2023

Conversation

hornc
Copy link
Owner

@hornc hornc commented Jan 28, 2023

closes #8
closes #11

  • (At least) 20 frames
  • pre-calculated rotating cube loop.
  • clean looping (data string never exceeds some finite length)

Running the example through xterm Tektronix mode (-t):

xterm -t -e "./ct.py --hold 100  <(./CTBASIC.py examples/CUBE.BAS)"

(partial cycle, the actual animation is smoother:)
rot_cube

Testing the datastring length to confirm it is bounded:

./ct.py -d <(./CTBASIC.py examples/CUBE.BAS) | cut -f2 | awk '{ print length }'

The minimum datastring length is 1, the maximum is 971.

@hornc hornc merged commit bcbfcb5 into master Jan 28, 2023
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.

Smooth CLS animation Example: rotating cube
1 participant