Skip to content

Commit 54d8f47

Browse files
committed
resize render3.png
1 parent c353b58 commit 54d8f47

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

Diff for: #README.md#

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# pucks
2+
3+
A clojure project for development and simulation of a laser projector.
4+
Work in progress, but 100% done in Clojure (my favorite language).
5+
One day will be converted to an opensource library for CAD and simulation of any type of physical project.
6+
Basically OpenSCAD + Clojure + Physics Simulation + Realtime Graphics!
7+
8+
Now featuring \*raytracing\*!!!
9+
And OpenGL support!
10+
11+
## Demo
12+
13+
This project features a raytracing engine for predicting the path of the laser beam. Unfortunately, the rendering is done in OpenSCAD still. I plan on switching to OpenGL for native support in the future, but in the meantime, please enjoy the following gifs of the raytracing functionality. I'm pretty proud of it -- it computes the normals of the surface, and the vector of reflection. It uses the clojure (lazy-seq) macro. Check out the code :).
14+
15+
A demo of the laser-projector emitting a beam from a laser diode, reflecting off two galvos, and hitting a backplate
16+
17+
![Render1](render1.gif?raw=true "Render1")
18+
19+
A close-up of the galvo action
20+
21+
![Render2](render2.gif?raw=true "Render2")
22+
23+
Ray tracing demo with an arbitrary number of objects.
24+
25+
![Render3](render3.png?raw=true "Render3")
26+
27+
28+
29+
30+
31+
32+
## Usage
33+
34+
35+
## License
36+
37+
Copyright © 2022 FIXME
38+
39+
This program and the accompanying materials are made available under the
40+
terms of the Eclipse Public License 2.0 which is available at
41+
http://www.eclipse.org/legal/epl-2.0.
42+
43+
This Source Code may also be made available under the following Secondary
44+
Licenses when the conditions for such availability set forth in the Eclipse
45+
Public License, v. 2.0 are satisfied: GNU General Public License as published by
46+
the Free Software Foundation, either version 2 of the License, or (at your
47+
option) any later version, with the GNU Classpath Exception which is available
48+
at https://www.gnu.org/software/classpath/license.html.

Diff for: render3.png

-302 KB
Loading

0 commit comments

Comments
 (0)