Skip to content

methusalah/optics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

please report broken links

Follow me on twitter !

optics

Optics is a 2D geometric optical simulator running in browser, written in javascript. It creates colorful and realistic pictures of light rays traveling throw various medium.

Try it and share it !

how to create a scene

  • place and tweak a light source and some items by clicking on presets.
  • maintain right clic on an item to rotate it, left clic to move it.
  • don't forget to change the max ray number to get smoother rendering over time.

available features

  • reflective surfaces
  • wavelength-dependent refractive surfaces
  • diffusing surface
  • more to come?

missing features

  • better drawing engine for smoother result
  • GPU utilisation for better performance and realtime previewing
  • more items to place
  • scene save as URL
  • more user-friendly interface

contribution

Optics uses only JQuery as dependency. You can use this software and its source-code in any way you like. Contributions and credits are very welcome.

Let's stay in touch via my twitter !

Why is the sky blue? please report broken links

Indirect lighting simulation please report broken links

About

An optical simulator in browser

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors