项目
关于
使用 JavaScript 编写并渲染到终端的 3D 渲染器。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- +2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文# start the demo in ascii mode (default)
$ npx zero-demo@latest
# start the demo in 24-bit true color mode (experimental)
$ npx zero-demo@latest --color
Overview
Zero is a small graphics demo that implements a 3D renderer in JavaScript and renders it's output to a terminal via nodejs' stdout. Zero was written for fun and to push JavaScript performance. ASCII rendering has been tested on Windows, OSX and Linux terminals. ANSI 24-bit true color rendering has been tested on Cygwin (Windows) and Linux Mint terminals, but should work on most terminals that support true color.
This project and associative materials are offered as is to anyone who may find them of use.
Zero implements:
- Programmable Vertex and Fragment shaders (in JavaScript)
- Perspective Z-Correct Texture Mapping
- Per Pixel Depth Buffering
- Adaptive Resolution on Terminal resize (TTY only)
- Support for 24bit true color (terminal must support 24-bit color)
- Matrix and Vector math libraries.
- A Scene Graph
Licence MIT
Building Locally
Clone this project and run the following from the terminal.
$ npm install
$ npm run build
# run it
$ node index
探索相关项目
加载中…
