apbodnar / fspt Goto Github PK
View Code? Open in Web Editor NEWA path tracer written in glsl and javascript
License: MIT License
A path tracer written in glsl and javascript
License: MIT License
How can I replace the default global light with a LED circle somewhere above this wave surface?
The idea is that a properly placed circular light source would produce interesting reflections.
I generated this surface from a 128x128 heights map. It consists of 32k triangles and I'm quite impressed how quickly it renders :)
Although the canvas can be rendered and I can see three rabbits in browser,it's hardly to move the mouse to update next frame. Everything just like be stopped even couldn't open the chrome devtool...
This is some jaw dropping render quality here. Thanks for sharing this work.
I had in mind one idea that boils down to raytracing a LED-ring in rippled water. I see one example renders a sophisticated surface of a face, and water with ripples can be represented as a mesh with some Bezier-style smoothing technique. The remaining part is modeling reflections and refractions with sufficient depth and quality. Is it something that's supported already?
I'm particularly interested in the GLSL part to see if similar techniques can be used to model waves, which roughly looks like keeping 3-4 float64x1e6 elements arrays in memory and deriving the n+1 array based on previous n-k..n-1 arrays using a recurrent localized formula.
For example, the scene presents a cup of tea with proper lighting, but JS is given an opportunity to provide the exact shape of the tea surface.
If the repository was named apbodnar/apbodnar
, then its contents would be automatically served at apbodnar.github.io
. This would eliminate the need to run a local http server to try it out.
Some of the new samples look really neat! Is there a way I can play with these? I see only 3 links to the older demos in the readme.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.