marklundin / glsl-sdf-primitives Goto Github PK
View Code? Open in Web Editor NEWA bunch of distance field primitives for ray marching
License: MIT License
A bunch of distance field primitives for ray marching
License: MIT License
The README.md file links to a demo on glslb.in. That demo does not run because the server returns an error 500 and says:
Missing package version (glsl-square-frame)
Error: Missing package version (glsl-square-frame)
at getFile (/app/node_modules/npmdl/index.js:24:28)
at gotVersion (/app/node_modules/glslify-resolve-remote/index.js:76:7)
at Request._callback (/app/node_modules/glslify-resolve-remote/index.js:69:9)
at Request.self.callback (/app/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/app/node_modules/request/request.js:1035:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:962:12)
The second parameter must be a vec2
instead of a float
.
In README.md, it says:
sdTorus( vec3 position, float hole )
In sdTorus.glsl, it says:
float sdTorus( vec3 p, vec2 t )
return vec2( sdTorus( p, vec2( 0.20, 0.05 )), 0.0 ));
should be
return vec2( sdTorus( p, vec2( 0.20, 0.05 )), 0.0 );
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.