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

cephalopov

v0.0.3

Published

A JavaScript wrapper for and extension of POV-Ray. Currently in alpha.

Downloads

8

Readme

CephaloPOV 0.0.3

CephaloPOV is a JavaScript library and Node.js commandline tool for generating SDL (Scene Description Language) files for POV-Ray. It makes it easy to create complex scenes and animations by writing JavaScript programs without having to deal with SDL at all, though it is easy to mix with existing SDL code.

It's also currently (2019-05-08) in alpha, but should reach stable beta by later this year. Despite appearances, the project has not been abandoned; the primary developer just happens to be working three jobs right now. Things will start moving shortly.

Design Goals

  • Eliminate, as far as possible, any need to know SDL, but
    • Generated SDL code is easy to modify if you know SDL, and
    • It will remain easy to inject raw SDL into the output.
    • Major exceptions include the parametric and isosurface objects which absolutely require SDL, but if you can grok the math, you can easily learn the subset of SDL necessary to write functions for them.
  • Replace and/or augment some POV-Ray features, including:
    • Transformations are extended and managed by the system.
    • The animation system is completely replaced.
    • Color management is much more sophisticated.
  • An easy forward kinematics system to create compound objects with moving parts.
  • Objects can be output as SDL macros for inclusion in the traditional SDL workflow.
  • Larger selection of spline types.
  • New camera features:
    • Cameras can automatically track moving objects.
    • Cameras can be included in CSG union-like relationships.
    • A new stereoscopic camera type.
  • A full-featured geometric query system makes it easy for the math-impaired to build extremely complex objects.
  • Have documentation that is at least as awesome as the POV-Ray docs.

Current Status

As noted above, CephaloPOV is pre-alpha, i.e., most of the object system has been implemented and is undergoing testing and debugging. Those parts that have been implemented have also been documented, albeit rather tersely at this point. There are still definitely bugs to be shaken loose and some rough edges to refine, of course, but you can already do as much or more with shapes in CephaloPOV and JavaScript as you can in SDL.

The main core functionality still missing is the surface texture system, which is -- notoriously -- more complex than the shapes. Parts of it have been implemented but not documented and exposed. In the meantime, every shape has a texture member that takes an SDL string, so if you're a POV-Ray veteran, you can use that for now.

The interfaces implemented so far are mostly stable. Transformations are about to get a significant overhaul, but the changes will be mostly additive and backward-compatible.