GithubHelp home page GithubHelp logo

arabelagaje / ray-tracing-in-weekend-typescript Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.74 MB

A TypeScript implementation of "Ray Tracing in a Weekend" project.

TypeScript 100.00%
raytracer raytracing raytracing-in-one-weekend typescript

ray-tracing-in-weekend-typescript's Introduction

Ray Tracing in a Weekend With TypeScript

This repository contains a TypeScript implementation of the "Ray Tracing in a Weekend". This is based on the book "Ray Tracing in One Weekend" by Peter Shirley, which provides a comprehensive introduction to the fundamentals of ray tracing.

Overview

Ray tracing is a rendering technique that simulates the behavior of light to create realistic images. This project aims to guide you through the process of building a simple ray tracer from scratch using TypeScript. By following the book, you'll learn about concepts such as ray-sphere intersection, reflection, diffuse and specular lighting, and more.

Prerequisites

  • Node.js

Getting Started

To get started with the project, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/arabelagaje/ray-tracing-in-weekend-typescript.git
  1. Navigate to the project directory:
cd ray-tracing-in-weekend-typescript
  1. Install the dependencies:
npm install
  1. Run the project:
npm start
  1. Wait for a long time to get the out put image (It took about 20 mins in my i7 12th gen laptop to get below image) Image Output

Additional Resources

If you want to learn more about ray tracing or enhance the capabilities of this project, consider exploring the following resources:

License

This project is licensed under the MIT License. Feel free to use and modify the code for your own purposes.

Note: This project is intended for educational purposes and to serve as a starting point for learning about ray tracing. It does not provide the most optimized or advanced implementations.

Thanks ChatGPT for helping me create this README.md

ray-tracing-in-weekend-typescript's People

Contributors

arabelagaje avatar

Stargazers

 avatar

Watchers

 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.