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

Add Mandelbrot example to DMA folder. It takes code from the 3D spinn… #3600

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IanBUK
Copy link

@IanBUK IanBUK commented Dec 30, 2024

…ing cube example, using sprites, and DMA if possible.

The standard Mandelbrot example rendering the set at coordinates (-2.5,-1.25 -> 1.58,1.2) takes just under 21 seconds on my SparkFun Thing and a 800x600 SSD1963 display. Converting it to use sprites renders the same set in 15.5 seconds, the hardware used doesn't allow the full DMA option. This suggests that using sprites is around 25% faster than plotting pixels one-by-one.

…ing cube example, using sprites, and DMA if possible.

The standard Mandelbrot example rendering the set at coordinates (-2.5,-1.25 -> 1.58,1.2) takes just under 21 seconds on my SparkFun Thing and a 800x600 SSD1963 display. Converting it to use sprites renders the same set in 15.5 seconds, the hardware used doesn't allow the full DMA option. This suggests that using sprites is around 25% faster than plotting pixels one-by-one.
@IanBUK
Copy link
Author

IanBUK commented Dec 30, 2024

This 'new' example adds the sprite/DMA concept, from the spinning cube example, to the Mandelbrot set example. On my hardware, a Sparkfun Thing and 800x600 SSD1963 display, suggests a 25% speed improvement over the approach of plotting pixels to the screen one-by-one.

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