Skip to content

Pebble smartwatch app generating mandelbrot set, floyd-steinberg dithered, sll fastmath.

License

Notifications You must be signed in to change notification settings

mhungerford/pebble-mandelbrot-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pebble-mandelbrot-generator

Pebble smartwatch app generating mandelbrot set, floyd-steinberg dithered, sll fastmath.

cover

download

Framebuffer access

Direct framebuffer access is used for fast pixel manipulation. Refer to the code for framebuffer access through the update layer function.

4-bit Dithering

This app uses 4-bit to 1-bit Floyd-Steinberg dithering to allow the mandelbrot generator to create colors, and display the final image on the Pebble's black-and-white EPaper screen.

SLL Fastmath

Original version used gcc's softfloat (provided by newlib), which generated a mandelbrot frame every 40 seconds. Using SLL fastmath (from picoGL/tinyGL), a mandelbrot frame is generated in less than 4 seconds, for a 10x speedup, which makes watching the mandelbrot much less boring ;)

mandel1 | mandel2 | mandel3 | mandel4

Mandelbrot Pebble Watchapp for FW 2.0 : download

About

Pebble smartwatch app generating mandelbrot set, floyd-steinberg dithered, sll fastmath.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published