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

picimo

v0.0.39

Published

A typescript library for my personal visual effects and game dev experiments based on three.js

Downloads

43

Readme

🛠 Status: In Development

The picimo package is currently in development. It's on the track to a 1.0 release, so I encourage you to use it and give me your feedback (or even better create pull requests if you want to contribute to this project), but be aware there are things that are not yet complete and you should expect some changes.

If you want to use picimo in your own projects, I recommend as long as the version is still at 0.0.x to check out the repository locally and use e.g. yarn link (the npm package is currently updated only sometimes and irregularly)

npm version bundlephobia

picimo

.. is a typescript library for creating realtime 2.5d gfx in html5. It's based upon the fantastic three.js library which itself is based on WebGL.

One of the first ideas for this library was that it should be as simple as possible to display pixel art graphics in a responsive design aware environment (→ Projection)

As a consequence thereof a key feature of picimo is that it is easy to create custom sprites with webgl shaders and provide an extremely simple OO-based API (→ About Sprites and Vertex Objects) to handle those sprites without having to worry about the otherwise necessary WebGL boilerplate and internals such as attribute buffer arrays or geometry instancing.

Those who work with sprites will quickly realize that an easy way to import spritesheet images and texture-atlas definitions could be very handy. Picimo supports importing tilesets via grid-aligned spritesheet images or texture altases from json files (exported by tools such as TexturePacker).

For more detailed API usage and examples, please visit the kitchen-sink app or the examples/ directory.

How to import in your own projects

The picimo npm package can be installed from NPM:

yarn add three picimo

The picimo npm package offers the following build fragments:

  • the typescript types (referenced by package.json:types) to use the package in your typescript projects
  • a modern es2017 javascript module bundle (referenced by package.json:exports and also by the main and module properties) which can be used with modern javascript bundlers and must be transpiled by yourself to your dedicated browser target environment!

Development

You will need Node.js version v10+ and yarn.

After cloning the repo, run:

$ yarn install

To compile and build the sources:

$ yarn build

To run all linters and tests at once:

$ yarn test

Build System Overview

Picimo is a pure typescript library, which is transpiled using rollup and babel and is available as a npm package as build output.

Jest is used for testing.

To increase the general software quality eslint and prettier are used and should be utilized for each commit.