├── .gitignore ├── Doc ├── Makefile ├── build │ ├── doctest │ │ └── output.txt │ ├── doctrees │ │ ├── environment.pickle │ │ └── index.doctree │ ├── html.zip │ ├── html │ │ ├── .buildinfo │ │ ├── _images │ │ │ ├── arc.png │ │ │ ├── circle.png │ │ │ ├── gottherobot.png │ │ │ ├── graticule.png │ │ │ ├── poly.png │ │ │ ├── polys.png │ │ │ ├── printxy.png │ │ │ ├── rotate.png │ │ │ ├── scope.png │ │ │ └── snow.png │ │ ├── _sources │ │ │ └── index.txt │ │ ├── _static │ │ │ ├── ajax-loader.gif │ │ │ ├── basic.css │ │ │ ├── comment-bright.png │ │ │ ├── comment-close.png │ │ │ ├── comment.png │ │ │ ├── default.css │ │ │ ├── doctools.js │ │ │ ├── down-pressed.png │ │ │ ├── down.png │ │ │ ├── file.png │ │ │ ├── jquery.js │ │ │ ├── minus.png │ │ │ ├── plus.png │ │ │ ├── pygments.css │ │ │ ├── searchtools.js │ │ │ ├── sidebar.js │ │ │ ├── underscore.js │ │ │ ├── up-pressed.png │ │ │ ├── up.png │ │ │ └── websupport.js │ │ ├── genindex.html │ │ ├── index.html │ │ ├── objects.inv │ │ ├── py-modindex.html │ │ ├── search.html │ │ └── searchindex.js │ └── latex │ │ ├── Makefile │ │ ├── arc.png │ │ ├── circle.png │ │ ├── fbpy.aux │ │ ├── fbpy.idx │ │ ├── fbpy.log │ │ ├── fbpy.out │ │ ├── fbpy.pdf │ │ ├── fbpy.tex │ │ ├── fbpy.toc │ │ ├── fncychap.sty │ │ ├── gottherobot.png │ │ ├── graticule.png │ │ ├── poly.png │ │ ├── polys.png │ │ ├── printxy.png │ │ ├── python.ist │ │ ├── rotate.png │ │ ├── snow.png │ │ ├── sphinx.sty │ │ ├── sphinxhowto.cls │ │ ├── sphinxmanual.cls │ │ └── tabulary.sty ├── documentation.txt ├── html.zip └── source │ ├── .index.rst.swp │ ├── conf.py │ ├── images │ ├── arc.png │ ├── circle.png │ ├── gottherobot.png │ ├── graticule.png │ ├── poly.png │ ├── polys.png │ ├── printxy.png │ ├── rotate.png │ ├── scope.png │ └── snow.png │ └── index.rst ├── LICENSE ├── MANIFEST ├── MANIFEST.in ├── README.md ├── README.txt ├── build ├── lib.linux-armv6l-2.7 │ ├── fblib.so │ └── fbpy │ │ ├── __init__.py │ │ ├── audioscope.py │ │ ├── fb.py │ │ ├── jack.py │ │ ├── obj.py │ │ ├── sprite.py │ │ ├── svg.py │ │ └── utils │ │ ├── __init__.py │ │ └── svg.py ├── lib.linux-x86_64-2.7 │ ├── fblib.so │ └── fbpy │ │ ├── __init__.py │ │ ├── audioscope.py │ │ ├── fb.py │ │ ├── jack.py │ │ ├── obj.py │ │ ├── sprite.py │ │ ├── svg.py │ │ └── utils │ │ ├── __init__.py │ │ └── svg.py ├── temp.linux-armv6l-2.7 │ └── fbpy │ │ └── utils │ │ ├── audio.o │ │ ├── fblib.o │ │ ├── fbutils.o │ │ └── test.o └── temp.linux-x86_64-2.7 │ └── fbpy │ └── utils │ ├── audio.o │ ├── fblib.o │ ├── fbutils.o │ └── test.o ├── buildinstall.sh ├── compile.sh ├── dist ├── fbpy-0.1.linux-x86_64.tar.gz └── fbpy-0.1.tar.gz ├── err.txt ├── examples ├── 3dpoly.py ├── 3dpoly0.py ├── 3dpoly1.py ├── :demo.py ├── :sus ├── Hunter97 ├── Voyager_17.mtl ├── Voyager_17.obj ├── audio.py ├── audioscope.py ├── byyrcmnd.png ├── clockdemo.py ├── clockdemorasp.py ├── cone0.mtl ├── cone0.obj ├── cube.obj ├── cube0.mtl ├── cube0.obj ├── curs.py ├── demo.py ├── demo.pyc ├── doc1.py ├── drawover.py ├── example.c ├── grab.py ├── grid0.mtl ├── grid0.obj ├── head.obj ├── informdriver.py ├── lunarmod.obj ├── models.txt ├── n ├── piclockdemo.py ├── pisphere.py ├── pitesthigh.py ├── polys.py ├── primitives.png ├── primitives.py ├── raider.mtl ├── raider.obj ├── raider2.obj ├── readpng.py ├── scaledornot.py ├── scope.png ├── scope.py ├── scope2.png ├── scopedemo.py ├── scopedemorasp.py ├── snow.py ├── sphere.mtl ├── sphere.obj ├── sphere.py ├── sphere0.mtl ├── sphere0.obj ├── sphere2.obj ├── sphererasp.py ├── sprite.html ├── sysinfo.py ├── test.old.svg ├── test.sh ├── test.svg ├── test.svg.2014_07_01_01_15_00.0.svg ├── test.svg.2014_07_01_01_18_52.0.svg ├── testcylon.svg ├── testhigh.py ├── testsprite.py └── transform.py ├── fbpy ├── __init__.py ├── __init__.pyc ├── audioscope.py ├── audioscope.pyc ├── fb.py ├── fb.pyc ├── jack.py ├── jack.pyc ├── obj.py ├── sprite.py ├── sprite.pyc ├── svg.py ├── svg.pyc └── utils │ ├── .swp │ ├── Makefile │ ├── __init__.py │ ├── __init__.pyc │ ├── audio.c │ ├── audio.h │ ├── fblib.c │ ├── fblib.o │ ├── fblib.pyx │ ├── fbutils.c │ ├── fbutils.c.temp │ ├── fbutils.h │ ├── fbutils.html │ ├── fbutils.o │ ├── font.h │ ├── print.c │ ├── svg.py │ ├── test │ ├── test.c │ ├── test.h │ └── test.o ├── font ├── 35.svg ├── 36.svg ├── 40.svg ├── 41.svg ├── 45.svg ├── 48.svg ├── 49.svg ├── 50.svg ├── 51.svg ├── 52.svg ├── 53.svg ├── 54.svg ├── 55.svg ├── 56.svg ├── 57.svg ├── 58.svg ├── 59.svg ├── 64.svg ├── 65.svg ├── 66.svg ├── 67.svg ├── 68.svg ├── 69.svg ├── 70.svg ├── 71.svg ├── 72.svg ├── 73.svg ├── 74.svg ├── 75.svg ├── 76.svg ├── 77.svg ├── 78.svg ├── 79.svg ├── 80.svg ├── 81.svg ├── 82.svg ├── 83.svg ├── 84.svg ├── 85.svg ├── 86.svg ├── 87.svg ├── 88.svg ├── 89.svg ├── 90.svg └── 95.svg ├── install.sh ├── setup.cfg ├── setup.py ├── test.png ├── tests.txt └── tests └── hash1.txt /.gitignore: -------------------------------------------------------------------------------- 1 | *.[oa] 2 | *~ 3 | -------------------------------------------------------------------------------- /Doc/build/doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/doctrees/environment.pickle -------------------------------------------------------------------------------- /Doc/build/doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/doctrees/index.doctree -------------------------------------------------------------------------------- /Doc/build/html.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html.zip -------------------------------------------------------------------------------- /Doc/build/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: d4a3578796638cff02bfc263d8338ea7 4 | tags: fbb0d17656682115ca4d033fb2f83ba1 5 | -------------------------------------------------------------------------------- /Doc/build/html/_images/arc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/arc.png -------------------------------------------------------------------------------- /Doc/build/html/_images/circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/circle.png -------------------------------------------------------------------------------- /Doc/build/html/_images/gottherobot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/gottherobot.png -------------------------------------------------------------------------------- /Doc/build/html/_images/graticule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/graticule.png -------------------------------------------------------------------------------- /Doc/build/html/_images/poly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/poly.png -------------------------------------------------------------------------------- /Doc/build/html/_images/polys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/polys.png -------------------------------------------------------------------------------- /Doc/build/html/_images/printxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/printxy.png -------------------------------------------------------------------------------- /Doc/build/html/_images/rotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/rotate.png -------------------------------------------------------------------------------- /Doc/build/html/_images/scope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/scope.png -------------------------------------------------------------------------------- /Doc/build/html/_images/snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_images/snow.png -------------------------------------------------------------------------------- /Doc/build/html/_sources/index.txt: -------------------------------------------------------------------------------- 1 | .. fbpy documentation master file, created by 2 | sphinx-quickstart on Fri Jun 20 01:39:00 2014. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | Welcome to fbpy's documentation! 7 | ================================ 8 | 9 | Contents: 10 | 11 | .. toctree:: 12 | :maxdepth: 2 13 | 14 | 15 | General description 16 | =================== 17 | 18 | The `fbpy` module is an API for drawing in the framebuffer on Linux machines. 19 | It was conceived as part of an audio player project based on the 20 | raspberry pi computer and wolfson pi audio interface. I needed a low-level 21 | graphics library for visualizing audio data (scope, phase,...). I also 22 | wanted to gain some programming skills, like writing c libs for python and 23 | some kernel stuff. So this module is by no means an attempt to make a 24 | better graphics lib with fancy hardware acceleration or anythin or 25 | making something original. I think it is use able though and by examining 26 | the source, it might serve as a form of documentation if you want to 27 | make something like this yourself. That is why I publish it. Oh, and of course 28 | because I support open source hardware *and* software, the 'firmware' of 29 | my audio player should be available as source :) 30 | 31 | Website 32 | ------- 33 | 34 | http://transistorlove.wordpress.com 35 | 36 | 37 | Module documentation 38 | ==================== 39 | 40 | .. automodule:: fb 41 | :members: 42 | 43 | .. automodule:: svg 44 | :members: 45 | 46 | .. automodule:: sprite 47 | :members: 48 | 49 | .. automodule:: audioscope 50 | :members: 51 | 52 | Indices and tables 53 | ================== 54 | 55 | * :ref:`genindex` 56 | * :ref:`modindex` 57 | * :ref:`search` 58 | 59 | -------------------------------------------------------------------------------- /Doc/build/html/_static/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/ajax-loader.gif -------------------------------------------------------------------------------- /Doc/build/html/_static/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/comment-bright.png -------------------------------------------------------------------------------- /Doc/build/html/_static/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/comment-close.png -------------------------------------------------------------------------------- /Doc/build/html/_static/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/comment.png -------------------------------------------------------------------------------- /Doc/build/html/_static/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/down-pressed.png -------------------------------------------------------------------------------- /Doc/build/html/_static/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/down.png -------------------------------------------------------------------------------- /Doc/build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/file.png -------------------------------------------------------------------------------- /Doc/build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/minus.png -------------------------------------------------------------------------------- /Doc/build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/plus.png -------------------------------------------------------------------------------- /Doc/build/html/_static/pygments.css: -------------------------------------------------------------------------------- 1 | .highlight .hll { background-color: #ffffcc } 2 | .highlight { background: #eeffcc; } 3 | .highlight .c { color: #408090; font-style: italic } /* Comment */ 4 | .highlight .err { border: 1px solid #FF0000 } /* Error */ 5 | .highlight .k { color: #007020; font-weight: bold } /* Keyword */ 6 | .highlight .o { color: #666666 } /* Operator */ 7 | .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ 8 | .highlight .cp { color: #007020 } /* Comment.Preproc */ 9 | .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ 10 | .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ 11 | .highlight .gd { color: #A00000 } /* Generic.Deleted */ 12 | .highlight .ge { font-style: italic } /* Generic.Emph */ 13 | .highlight .gr { color: #FF0000 } /* Generic.Error */ 14 | .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ 15 | .highlight .gi { color: #00A000 } /* Generic.Inserted */ 16 | .highlight .go { color: #303030 } /* Generic.Output */ 17 | .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ 18 | .highlight .gs { font-weight: bold } /* Generic.Strong */ 19 | .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ 20 | .highlight .gt { color: #0040D0 } /* Generic.Traceback */ 21 | .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ 22 | .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ 23 | .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ 24 | .highlight .kp { color: #007020 } /* Keyword.Pseudo */ 25 | .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ 26 | .highlight .kt { color: #902000 } /* Keyword.Type */ 27 | .highlight .m { color: #208050 } /* Literal.Number */ 28 | .highlight .s { color: #4070a0 } /* Literal.String */ 29 | .highlight .na { color: #4070a0 } /* Name.Attribute */ 30 | .highlight .nb { color: #007020 } /* Name.Builtin */ 31 | .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ 32 | .highlight .no { color: #60add5 } /* Name.Constant */ 33 | .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ 34 | .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ 35 | .highlight .ne { color: #007020 } /* Name.Exception */ 36 | .highlight .nf { color: #06287e } /* Name.Function */ 37 | .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ 38 | .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ 39 | .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ 40 | .highlight .nv { color: #bb60d5 } /* Name.Variable */ 41 | .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ 42 | .highlight .w { color: #bbbbbb } /* Text.Whitespace */ 43 | .highlight .mf { color: #208050 } /* Literal.Number.Float */ 44 | .highlight .mh { color: #208050 } /* Literal.Number.Hex */ 45 | .highlight .mi { color: #208050 } /* Literal.Number.Integer */ 46 | .highlight .mo { color: #208050 } /* Literal.Number.Oct */ 47 | .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ 48 | .highlight .sc { color: #4070a0 } /* Literal.String.Char */ 49 | .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ 50 | .highlight .s2 { color: #4070a0 } /* Literal.String.Double */ 51 | .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ 52 | .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ 53 | .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ 54 | .highlight .sx { color: #c65d09 } /* Literal.String.Other */ 55 | .highlight .sr { color: #235388 } /* Literal.String.Regex */ 56 | .highlight .s1 { color: #4070a0 } /* Literal.String.Single */ 57 | .highlight .ss { color: #517918 } /* Literal.String.Symbol */ 58 | .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ 59 | .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ 60 | .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ 61 | .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ 62 | .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ -------------------------------------------------------------------------------- /Doc/build/html/_static/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/up-pressed.png -------------------------------------------------------------------------------- /Doc/build/html/_static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/_static/up.png -------------------------------------------------------------------------------- /Doc/build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noisegate/fbpy/8a42cfe5013bfdb08d1ac58ea766e57c2950e38d/Doc/build/html/objects.inv -------------------------------------------------------------------------------- /Doc/build/html/search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 |
9 | 10 | 11 |59 | Please activate JavaScript to enable the search 60 | functionality. 61 |
62 |64 | From here you can search these documents. Enter your search 65 | words into the box below and click "search". Note that the search 66 | function will automatically search for all of the words. Pages 67 | containing fewer words won't appear in the result list. 68 |
69 | 74 | 75 |