百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

windowjs

> 编程语言
开源

Window.js 是一个开源的 JavaScript 运行时,用于桌面图形编程。

2.3K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Window.js 是一个开源的 JavaScript 运行时,用于桌面图形编程。

Window.js

Window.js is an open-source Javascript runtime for desktop graphics programming.

It is documented at windowjs.org.

Introduction

Window.js provides APIs for window creation and manipulation via GLFW and the HTML5 Canvas API via the Skia graphics library, backed by the v8 Javascript engine.

Window.js comes with familiar APIs for web developers for input event handling and animated rendering, and has additional, convenient APIs for file access.

Additional APIs for sound, networking and WebGL are planned for a future release.

See the FAQ for more details.

Note: Window.js is a very recent project and hasn't been widely tested yet. Please report any issues and get in contact for help.

Quick start

Window.js is distributed as a single binary that can be downloaded for Windows and macOS.

It can also be built from the sources for Windows, macOS and Linux.

Window.js runs a Javascript source file directly:

$ windowjs examples/breakout.js

The source files can be edited and reloaded with F5 in the main window.

A Javascript console is available by pressing F1, that can be used to diagnose errors and explore the APIs. For example, submitting this:

window.title = "Hello!"

changes the title of the main window. Errors are highlighted in the main window:

window.title = noSuchVariable;

Uncaught exceptions and console log errors are also shown in the main window. That overlay can be toggled with F4. See help() in the console for more development tools.

See the example applications and the API documentation for more.

Contact

Contact the Window.js developers and other users via the Window.js mailing list at Google Groups, or via its email address [email protected].

Github users can also use the Github Discussions page for the project.

Report issues the Github issues tracker.

Contributing

See the documentation for contributions and a list of planned features for ideas.

License

Window.js is licensed under the MIT License.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •JavaScript
  • •2d
  • •graphics-programming
  • •javascript

> 标签

JavaScript2dgraphics-programmingjavascript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言