Giter Site home page Giter Site logo

Comments (6)

syt123450 avatar syt123450 commented on May 28, 2024 1

Hi @congthinh , I have added a transparent background demo to example, checkout Example_31 for the source code, this is the online demo.

Example screen shot, hope this help:
Screen Shot 2019-03-21 at 10 33 35 PM

from giojs.

congthinh avatar congthinh commented on May 28, 2024

Hi, I'm facing the same issue. Have you made it to transparent yet? @jiciqiang

from giojs.

syt123450 avatar syt123450 commented on May 28, 2024

Hi @jiciqiang @congthinh , I changed the source code and build a transparent version of Gio.js, the build file can be found here.

The screen shot shows the final effect.
Screen Shot 2019-03-21 at 7 05 57 AM

from giojs.

congthinh avatar congthinh commented on May 28, 2024

Hi @jiciqiang @congthinh , I changed the source code and build a transparent version of Gio.js, the build file can be found here.
Hi, thanks for the update. I tried new build but still remain background, any setting in configs variable need to be changed? Thank you.

from giojs.

congthinh avatar congthinh commented on May 28, 2024

It works great. Thanks a lot.
P/S: I was thinking of adding alpha in WebGLRenderer from THREE.js lib and you have made it work so well.

from giojs.

syt123450 avatar syt123450 commented on May 28, 2024

Hi @congthinh , I add a setTransparentBackground API to giojs which can be used to make background transparent and draft a new release 2.1.0. This version also update the example and add some docs for this feature.

As previous gio.transparent.min.js 's moving particle's color isn't precise, this version solved it.

from giojs.

Related Issues (20)

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.