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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-webpack-three-loader

v1.0.2

Published

this is threejs scaffold in webpack and es6

Downloads

2

Readme

three-loader example

Description

This example is using three-loader for pointcloud reading and add functions from potree

  • this example can only load pointcloud with original threejs core which is separated from potree by three-loader
  • this example can have functions such as Eye-Dome-Lighting (EDL), clip boxes, and point choosing.

Install

To install this, you can follow the codes. 'folderName' can be any folder name

You need install yarn before using

npm install yarn -g

and then

npx create-webpack-three-loader [folderName]
cd [folderName]
yarn install
yarn start

start example

yarn start

Content

  • dev config webpack.config.dev.js

    • babel
    • css module
    • html template
    • devServer
  • prod config webpack.config.prod.js

    • css extract
    • hash8 filename
    • copy public
    • split chunks

You can modify the output.publicPath configuration in webpack.config.prod.js to set the url prefix for static resources.

THANKS

The npmjs manage for installing for npx almost from my senior IanYet

说明

  • 本样例以 three-loader 为基础,作为 potree 核心功能的替代,使之能够完全以 threejs 源 camera,scene,renderer 的方式进行渲染点云功能
  • 本样例暂包含 potree 中的点云渲染、切割盒、EDL 阴影渲染功能

安装

必须已安装 node.js

并已安装 yarn

如未安装 yarn 可通过

npm install yarn -g

若已安装 yarn,可直接在根目录运行

npx create-webpack-three-loader [folderName]
cd [folderName]
yarn install

启动样例

运行

yarn start

即可

代码功能位置

点云鼠标射线与点的交点-主要在 operation.js 中 EDL 功能主要在 edl 开头的文件中 生成切割盒位于 clipboxes.js 中

感谢

上传至 npmjs 的方法是来源于偶的同事,感谢他(IanYet)