All Projects → oasis-engine → Engine

oasis-engine / Engine

Licence: mit
Oasis Engine is a web-first and mobile-first high-performance real-time development platform.

Programming Languages

typescript
32286 projects
GLSL
2045 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Engine

Mesh.js
A graphics system born for visualization 😘.
Stars: ✭ 156 (-92.92%)
Mutual labels:  graphics, webgl, webgl2
Helixjs
A Javascript 3D game engine.
Stars: ✭ 84 (-96.19%)
Mutual labels:  webgl, 3d-engine, webgl2
Lume
Create CSS3D/WebGL applications declaratively with HTML. Give regular DOM elements shadow and lighting.
Stars: ✭ 445 (-79.79%)
Mutual labels:  graphics, webgl, 3d-engine
Layaair
LayaAir is an open-source 2D/3D engine. LayaAir Engine is designed for high performance games.LayaAir support TypeScript and JavaScript、ActionScript 3.0 programming language.Can develop once, publish for multi platform.
Stars: ✭ 791 (-64.08%)
Mutual labels:  webgl, 3d-engine, webgl2
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+431.24%)
Mutual labels:  graphics, webgl
Rendeer.js
Light-weight 3D Scene graph library with renderer in WebGL
Stars: ✭ 63 (-97.14%)
Mutual labels:  webgl, 3d-engine
React Ape
🦍• [Work in Progress] React Renderer to build UI interfaces using canvas/WebGL
Stars: ✭ 1,183 (-46.28%)
Mutual labels:  webgl, webgl2
Threejs Starter
Stars: ✭ 89 (-95.96%)
Mutual labels:  webgl, webgl2
3dhop
3D Heritage Online Presenter
Stars: ✭ 89 (-95.96%)
Mutual labels:  graphics, webgl
Filament
Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Stars: ✭ 13,215 (+500.14%)
Mutual labels:  graphics, webgl
Klayge
KlayGE is a cross-platform open source game engine with plugin-based architecture.
Stars: ✭ 1,646 (-25.25%)
Mutual labels:  graphics, engine3d
Sunset Cyberspace
🎮👾Retro-runner Game made in Expo, Three.js, OpenGL, WebGL, Tween. 🕹
Stars: ✭ 54 (-97.55%)
Mutual labels:  webgl, webgl2
Helix Toolkit
Helix Toolkit is a collection of 3D components for .NET.
Stars: ✭ 1,050 (-52.32%)
Mutual labels:  graphics, 3d-engine
Axis3d
Functional 3d graphics library
Stars: ✭ 67 (-96.96%)
Mutual labels:  graphics, webgl
Curtainsjs
curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.
Stars: ✭ 1,039 (-52.82%)
Mutual labels:  webgl, webgl2
Xna.js
WebGL framework strongly inspired by the XNA library
Stars: ✭ 40 (-98.18%)
Mutual labels:  graphics, webgl
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+365.58%)
Mutual labels:  graphics, webgl
Hilo3d
Hilo3d, a WebGL Rendering Engine.
Stars: ✭ 123 (-94.41%)
Mutual labels:  graphics, webgl
Hedgehog Lab
Run, compile and execute JavaScript for Scientific Computing and Data Visualization TOTALLY TOTALLY TOTALLY in your BROWSER! An open source scientific computing environment for JavaScript TOTALLY in your browser, matrix operations with GPU acceleration, TeX support, data visualization and symbolic computation.
Stars: ✭ 1,797 (-18.39%)
Mutual labels:  webgl, webgl2
Xeogl
A WebGL-based 3D engine for technical visualization. Not actively maintained.
Stars: ✭ 920 (-58.22%)
Mutual labels:  graphics, webgl

Ant Graphics Engine

npm-size npm-download codecov

This is a web-first and mobile-first high-performance real-time development platform. Use component system design and pursue ease of use and light weight. Developers can independently use and write Typescript scripts to develop projects using pure code.

Features

  • 🖥  Platform - Suppport HTML5 and Alipay miniprogram
  • 🔮  Graphics - Advanced 2D + 3D graphics engine
  • 🏃  Animation - Powerful animation system
  • 📑  Scripts - Use TypeScript to write logic efficiently

Usage

// Create engine by passing in the HTMLCanvasElement id and adjust canvas size.
const engine = new WebGLEngine("canvas-id");
engine.canvas.resizeByClientSize();

// Get scene and create root entity.
const scene = engine.sceneManager.activeScene;
const rootEntity = scene.createRootEntity("Root");

// Create light.
const lightEntity = rootEntity.createChild("Light");
const directLight = lightEntity.addComponent(DirectLight);
lightEntity.transform.setRotation(-45, -45, 0);
directLight.intensity = 0.4;

// Create camera.
const cameraEntity = rootEntity.createChild("Camera");
cameraEntity.addComponent(Camera);
cameraEntity.transform.setPosition(0, 0, 12);

// Create sphere.
const meshEntity = rootEntity.createChild("Sphere");
const meshRenderer = meshEntity.addComponent(MeshRenderer);
const material = new BlinnPhongMaterial(engine);
meshRenderer.setMaterial(material);
meshRenderer.mesh = PrimitiveMesh.createSphere(engine, 1);

// Run engine.
engine.run();

npm

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

npm install oasis-engine

This will allow you to import engine entirely using:

import * as OASIS from "oasis-engine";

or individual classes using:

import { Engine, Scene, Entity } from "oasis-engine";

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

If you don't already have Node.js and NPM, go install them. Then, in the folder where you have cloned the repository, install the build dependencies using npm:

npm run bootstrap

Then, to build the source, using npm:

npm run b:all

Links

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].