npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@next2d/player

v1.18.11

Published

Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.

Downloads

780

Readme

Next2D Player

UnitTest CodeQL Lint

release Github All Releases Discord Twitter

[日本語]
Next2D Playerは、WebGLのハードウェアアクセラレーションでグラフィックス処理負荷を軽減し、OffscreenCanvasのマルチスレッド処理で描画パフォーマンスを向上させています。
ベクター描画、Tweenアニメーション、テキスト、音声、動画など、さまざまな要素をサポートしているので、ゲーム制作、インタラクティブなデータビジュアライゼーション、クリエイティブなウェブアプリケーションなど、豊かな表現が必要とされるプロジェクトで活用が期待できます。

[English]
Next2D Player reduces graphics processing load with WebGL hardware acceleration and improves drawing performance with OffscreenCanvas multi-threaded processing.
With support for vector rendering, tween animation, text, audio, video, and many other elements, Next2D Player can be used for game production, interactive data visualization, creative web applications, and other projects that require rich expression. The software is expected to be used in game production, interactive data visualization, creative web applications and other projects requiring rich expression.

[简体中文]
Next2D Player通过WebGL硬件加速降低了图形处理负载,通过OffscreenCanvas多线程处理提高了绘图性能。
由于支持矢量绘图、Tween动画、文本、音频、视频和许多其他元素,它可用于游戏制作、交互式数据可视化、创意网络应用和其他需要丰富表达的项目。 该软件可用于需要丰富表现力的项目中。

Support

[日本語]
最新ニュースや技術情報は、Twitterの@Next2Dや公式のWebsiteで発信していきますので、チェックしてみてください。
Next2Dがお役に立つようでしたら、プロジェクトをご支援いただければ幸いです。

[English]
Please check @Next2D on Twitter and the official website for the latest news and technical information.
If Next2D is useful to you, we hope you will support our project.

[简体中文]
请在Twitter上查看@Next2D官方网站,了解最新的新闻和技术信息。
如果Next2D对你有用,我们希望你能支持我们的项目。

Related Sites

Examples

Use Simple Sample

next2d.load("Path to JSON output from NoCode Tool");

CodePen

Use Program Sample

const { Loader }     = next2d.display;
const { URLRequest } = next2d.net;
const { Event }      = next2d.events;

// create root MovieClip
const start = async () => 
{
    const root = await next2d.createRootMovieClip();

    const request = new URLRequest("JSON path");
    const loader  = new Loader(request);
    
    loader
        .contentLoaderInfo
        .addEventListener(Event.COMPLETE, (event) =>
        {
            root.addChild(event.currentTarget.content);
        });
    
    loader.load(request);
};

start();

Use Program Sample

CodePen
@see API Documentation

Option settings

[日本語]

| プロパティ名 | 型 | デフォルト値 | 説明 | |--------------|---------|---------------|-----------------------------------------------------------------------| | base | string | empty | 相対パスでJSONを取得する場合、ここで設定したURLがrootとして適用されます。絶対パスの場合はここで設定したURLは適用されません。 | | fullScreen | boolean | false | Stageクラスで設定した幅と高さを超えて画面全体に描画されます。 | | tagId | string | empty | IDを指定すると、指定したIDのエレメント内で描画を行います。 | | bgColor | string | "transparent" | 背景色を16進数で指定できます。デフォルトは無色透明です。 |

[English]

| name | type | default | description | |----------------|---------|---------------|-------------------------------------------------------------------------------------------------------------------------------------| | base | string | empty | When JSON is acquired by a relative path, the URL set here is applied as root. For absolute paths, the URL set here is not applied. | | fullScreen | boolean | false | The entire screen is drawn beyond the width and height set in the Stage class. | | tagId | string | empty | When an ID is specified, drawing is performed within the element of the specified ID. | | bgColor | string | "transparent" | You can specify a background color in hexadecimal. The default is colorless. |

[简体中文]

| 名称 | 值类型 | 默认值 | 说明 | |--------------|---------|---------------|---------------------------------------------------| | base | string | empty | 当JSON是由相对路径获得的,这里设置的URL被应用为根。对于绝对路径,这里设置的URL不被应用。 | | fullScreen | boolean | false | 整个屏幕的绘制超出了Stage类中设置的宽度和高度。 | | tagId | string | empty | 当一个ID被指定时,在指定ID的元素内进行绘图。 | | bgColor | string | "transparent" | 你可以指定一个十六进制的背景颜色。默认为无色。 |

Flowchart

Flowchart

License

This project is licensed under the MIT License - see the LICENSE file for details.