1.0.0 • Published 4 months ago

tela.js v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

tela.js

Graphic library from scratch, with reference implementation of computer graphics algorithms.

Purpose

The propose of a graphic engine is to be able to generate images in a computational way. The engine should also be capable to create videos and interactive demos or games. In this engine I want to be able to render complex scenes with dynamic objects with realistic or cartoonish appearance.

Table of Contents

Quick start

First you need to install ffmpeg in your system, in a way that it is possible to write on the console:

ffmpeg -version 

# it should output something like: fmpeg version 4.4.2-0ubuntu0.22.04.1...
# maybe with a different OS...

Then just install using `npm

Playground

https://pedroth.github.io/tela.js/

Main features

Visual

  • / Generate image (desktop / browser)
    • Voxels (?)
    • Different resolutions
    • / Point clouds / splatting
    • / Signed distance functions, implicit functions
    • Draw geometrical objects (aka Simplices)
    • Path tracing: Shadows, Refraction, Global illumination, etc.
    • Draw with shaders like code
    • Raster engine
  • / Read Geometry formats with textures
  • Generate image/video (desktop / browser)
  • Interactive application (browser)
  • Draw svgs(which includes text/formulas)

Research