Skip to content

Simple rendering engine that outputs to a text field.

Notifications You must be signed in to change notification settings

AlejoAsd/ascii-renderer

Repository files navigation

ASCII Renderer

A basic rendering engine that outputs to a text field. Only supports drawing vertices and a rotationally fixed camera and light set on the origin.

Done for fun to try out 3D rotations and basic rendering.

Heavily inspired by a1k0n's donut.c.

Installation

To install, make sure you have node and npm installed on your computer, and run

npm install

Usage

To start the project run

npm start

and go to localhost:8080 in your browser.

Use the arrow keys to rotate target objects.

Shapes in the scene are currently set directly in code. Try tweaking the values in index.js to add different objects to the scene, play with lighting and try out different character sets.

About

Simple rendering engine that outputs to a text field.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published