Giter Site home page Giter Site logo

3dbrain's People

Contributors

fazeaction avatar victors1681 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

3dbrain's Issues

Please provide a license.

Hello. Thanks a lot for your project! I'd love to use the animation on a website of mine. As you have published the code to GitHub, I suppose you want people to freely use it, right?

Since I could not find a license file in the project clarifying this, I'd like to ask you to provide a license file in the project to clear up this question. If you don't know much about licensing and you want to make the code freely available, I'd suggest you choose MIT license, which basically allows everybody to use the project as they wish.

Let me know if you need help with it, I'd be glad to provide you with a pull request that adds an MIT license or similiar open source license.

The code can't be built

I'm trying to install the packages and here is what I get

npm notice
npm notice New minor version of npm available! 7.5.0 -> 7.8.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.8.0
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://dtools.ipsoft.com/artifactory/api/npm/npm/y18n/-/y18n-4.0.0.tgz?dl=https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz failed, reason: getaddrinfo ENOTFOUND dtools.ipsoft.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'



npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/omarkhaled/.npm/_logs/2021-04-04T18_58_04_578Z-debug.log

152 http://eslint.org/docs/rules/linebreak-style

Hi there,

We have tried to start project but the npm return eslint errors:

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:351:57
                          this.updateBurbleUp(progress.p);
                                                           ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:352:65
                          this.mainBrain.orbitControls.target.set(
                                                                   ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:353:38
                              target.x,
                                        ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:354:51
                              target.y - progress.p,
                                                     ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:355:38
                              target.z,
                                        ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:356:27
                          );
                             ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:357:60
                          this.mainBrain.camera.position.set(
                                                              ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:358:41
                              cameraPos.x,
                                           ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:359:54
                              cameraPos.y - progress.p,
                                                        ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:360:41
                              cameraPos.z,
                                           ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:361:27
                          );
                             ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:362:23
                      },
                         ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:363:19
                  },
                     ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:364:15
              );
                 ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:365:10
          }
            ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:366:6
      }
        ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:367:2
  }
    ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:368:1

   ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\services\thinkingAnimation.js:369:34
  export default ThinkingAnimation;
                                    ^


✘ 369 problems (369 errors, 0 warnings)


Errors:
  369  http://eslint.org/docs/rules/linebreak-style


  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:1:32
  import * as THREE from "three";
                                  ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:2:35
  import io from "socket.io-client";
                                     ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:3:51
  import "three/examples/js/controls/OrbitControls";
                                                     ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:4:64
  import "three/examples/js/modifiers/BufferSubdivisionModifier";
                                                                  ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:5:54
  import Stats from "three/examples/js/libs/stats.min";
                                                        ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:6:9
  import {
           ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:7:18
    EffectComposer,
                    ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:8:14
    GlitchPass,
                ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:9:12
    BlurPass,
              ^

  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  ✘  http://eslint.org/docs/rules/linebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
  src\js\views\AbstractApplication.js:140:67
      this.a_camera.aspect = window.innerWidth / window.innerHeight;

image

U can help us ?

[Error] TypeError: this.setAttribute is not a function. (In 'this.setAttribute(name, attribute)', 'this.setAttribute' is undefined)

Hi, while I was running http://localhost:8080, I faced this problem:

[Error] TypeError: this.setAttribute is not a function. (In 'this.setAttribute(name, attribute)', 'this.setAttribute' is undefined)
createAttribute (bas.module.js:1621)
bufferPositions (bas.module.js:1605)
PointBufferGeometry (bas.module.js:1601)
init (particlesSystem.js:72)
ParticleSystem (particlesSystem.js:53)
addParticlesSystem (MainBrain.js:277)
runAnimation (MainBrain.js:218)
handlerLoad (Loaders.js:56)
(匿名函数) (three.module.js:30976)
(匿名函数) (three.module.js:31596)

I tried to "console.log(this)" in the createAttribute function in bas.module.js, and did npm install and npm run dev again, but it couldn't show the log info.

I also faced error:
[Error] TypeError: undefined is not an object (evaluating '_this3.particlesSystem.transform')
onStart (MainBrain.js:176)
(匿名函数) (TweenLite.js:582)
(匿名函数) (TweenMaxBase.js:302)
(匿名函数) (TweenLite.js:1132)
(匿名函数) (TweenLite.js:1152)
(匿名函数) (TweenLite.js:287)
_tick (TweenLite.js:339)

[Error] TypeError: undefined is not an object (evaluating '_this3.particlesSystem.xRay')
onComplete (MainBrain.js:180)
(匿名函数) (TweenLite.js:582)
(匿名函数) (TweenMaxBase.js:338)
(匿名函数) (TweenLite.js:877)
(匿名函数) (TweenLite.js:1149)
(匿名函数) (TweenLite.js:287)
_tick (TweenLite.js:339)

Could you help me with this?

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.