Skip to content

lpython/raytrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A learning project utilizing raytracing as 'work' with the following goals:

  • Adapt raytracer from typescript samples for use as long duration workload
  • Create single library to be used in either browser or node environment (scene-xml and raytrace)
  • Frontend is written using vanilaJS for DOM manipulation.
  • Backend uses express
  • Both front and backend use scene-xml and raytrace without having to be explicit in code. That is, both use the same import statement: import { Parse, basicSceneXML } from '@python36/scene-xml'
  • However, scene-xml delievers different code to front and back. In short, frontend uses browsers DOMParser to parse XML, while backend uses JS dependency. Uses webpack.NormalModuleReplacementPlugin to remove JS dependency. Either way, scene-xml uses one API.
  • Libraries provide bundles and es6 modules for consumers.
  • (TODO) Front end uses web worker to remain responsive.

About

Basic Raytracer, from TypeScript Samples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published