A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitH |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from pygments import highlight | |
| from pygments.lexers import JsonLexer | |
| from pygments.formatters import TerminalFormatter | |
| from pprint import pformat | |
| import json | |
| def pprint_color(obj, indent=2): |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitH |
| /* | |
| * PixiJS Background Cover/Contain Script | |
| * Returns object | |
| * . { | |
| * container: PixiJS Container | |
| * . doResize: Resize callback | |
| * } | |
| * ARGS: | |
| * bgSize: Object with x and y representing the width and height of background. Example: {x:1280,y:720} | |
| * inputSprite: Pixi Sprite containing a loaded image or other asset. Make sure you preload assets into this sprite. |
| |
| Using rollup-plugin-vue |
NOTE
You may not need local branches for all pull requests in a repo.
To fetch only the ref of a single pull request that you need, use this:
git fetch origin pull/7324/head:pr-7324
git checkout pr-7324
# ...Qt 在 Raspberry Pi 上可以跑兩種版本:
這個教學會編譯桌面版,因為我對這個版本比較熟。我上次試的時候 OpenGL 在 embedded 版還有些問題,不過 Qt 在那之後有很多更新,狀況應該會好很多。Qt 官方 wiki 也有個相關的教學:
| #!/usr/bin/env python | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler, test | |
| class CustomRequestHandler(SimpleHTTPRequestHandler): | |
| def end_headers(self): | |
| self.add_content_disposition() | |
| SimpleHTTPRequestHandler.end_headers(self) | |
| def add_content_disposition(self): | |
| self.send_header("Content-Disposition", 'filename="content_disposition.py"') |
| #include <QApplication> | |
| #include <QStringList> | |
| #include <QListWidget> | |
| #include <QRadioButton> | |
| int main(int argc, char *argv[]) | |
| { | |
| QApplication app(argc, argv); | |
| QListWidget *listWidget = new QListWidget(); |