GithubHelp home page GithubHelp logo

aframeai / aframe-shader-experiments Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 9 KB

Using Fragment Shaders to embed Implicit Geometries into A-Frame

Home Page: https://aframeai.github.io/aframe-shader-experiments/

GLSL 31.99% HTML 24.02% JavaScript 43.99%
shaders experiments signed-distance-functions mandelbulb aframe

aframe-shader-experiments's Introduction

A-Frame Shader Experiments

Using fragment shaders to embed implicit geometries (defined by signed distance functions) seamlessly into a poly-mesh world...

screenshot-mandelbulb

raytrace.js

This script extends upon the aframe-raytrace-component by Andrew Fraticelli.

Currently using custom versions of this component in each experiment
to accomodate for different attributes / uniforms such as time or color...

Shader Code

  • cube — hello world template to get you started
  • blob — taken directly from the examples of aframe-raytrace-component.
  • rings — a variation of the blob shader feat. rotating donuts rather than blobs
  • mandelbulb — the infamous Mandelbulb in a version crafted by Ingo Quiliez
    adapted to work with raytrace.js

License

All code except for the Mandelbulb code is MIT licensed.

© 2017 Andrew Fraticelli
© 2020 @bitcraftlab

Mandelbulb Code

CC BY-NC-SA 3.0 licensed.

© 2013 inigo quilez
© 2020 @bitcraftlab

aframe-shader-experiments's People

Contributors

craftoid avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.