Git Product home page Git Product logo

engine-toolkit's Introduction

Engine Toolkit

npm-size npm-download codecov

Some out-of-the-box utility features based on the Oasis engine Script and Material, welcome to enjoy!

Features

  • 📊  Stats - Statistics rendering data

  • 🛸  Controls - Some camera controllers

  • 🫧  FrameBufferPicker - Pixel-based object picking

  • ➡️  Gizmo - Operation tools for transforming (displacement, rotation, scaling)

  • 🧭  Navigation Gizmo - Three-view & visualized operation for camera control

  • 📐  Lines - 2D Solid Line & Dash Line

  • 🖇  Auxiliary Lines - Draw wireframe for entity and component

  • 🧍🏼  Skeleton Helper - Skeleton visualization

  • ⭕️  Outline - Show outline of mesh renderers

  • 🖼  Geometry Sketch - Convert geometry into texture && sketch normal and mesh wireframe

Materials

  • 🗳  Planar Shadow Material - Two-pass shadow on the planar
  • ⚔️  Grid Material - Infinity grid material

npm

The toolkit is published on npm with full typing support. To install, use:

npm install @galacean/engine-toolkit

This will allow you to import toolkit entirely using:

import * as TOOLKIT from "@galacean/engine-toolkit";

or individual classes using:

import { OrbitControl, FramebufferPicker } from "@galacean/engine-toolkit";

Contributing

Everyone is welcome to join us! Whether you find a bug, have a great feature request or you fancy owning a task from the road map feel free to get in touch.

Make sure to read the Contributing Guide / 贡献指南 before submitting changes.

Build

prerequisites:

  • Node.js v15.0.0+ and NPM (Install Node.js By official website)
  • PNPM (Install Pnpm globally by npm install -g pnpm)

First, you need to install the dependencies:

pnpm install

Then, to build the source, using npm:

npm run b:all

Links

License

The engine is released under the MIT license. See LICENSE file.

engine-toolkit's People

Contributors

cptbtptpbcptdtptp avatar czizzy avatar enhaowu avatar guolei1990 avatar gz65555 avatar jujiex avatar singlecoder avatar yangfengzzz avatar zhuxudong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.