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

@migenius/realityserver-extras

v1.0.8

Published

Classes to assist in the manipulation of RealityServer scene elements

Downloads

144

Readme

realityserver-extras

Classes to assist in the manipulation of RealityServer scene elements in the RealityServer Client

Introduction

This extras package adds additional classes to the RealityServer Client to assist in common operations

  • Transform - Allows matricies to be manipulated in a more familiar way.
  • Transform_target - A Transform variant that supports a 'look at' model where the -Z axis is always looking at a given point.
  • Camera - A camera abstraction class that simplifies camera modelling and navigation.
  • Euler - Represents Euler rotations.
  • Quaternion - Represents Quaternion rotations.

Usage

Download the minified library and include it directly in your HTML, or install via npm install @migenius/realityserver-extras and use as a module in Node.js directly or via your favorite bundler (EG: rollup.js Webpack Broswerify). In the browser the classes will be added to the RS namespace or can be imported from the realityserver-extras module.

API Documentation

The RealityServer Extras API documentation can be found here.

Release Notes

1.0.7

Reduce size of built library

Rotations around an axis in Camera/Transform/Transform_target are now performed around the normalized axis.

1.0.6

Added RS.Camera.project_point and RS.Camera.project_point_to_pixel to project world points to screen space.

Fix bug in RS.Camera.set_from_object where transform property was not assigned correctly. transform can now be an actual RS.Target_transform or a matrix. The matrix property is not also supported.

Added RS.Camera.transform_point_to_world and RS.Camera.look_at_target_point.

Made RS.Transform_target.look_at_target_point a public function.

Updated to depend on realityserver-client 1.0.9.