Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 098bd49
Showing
49 changed files
with
25,594 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This resource can be used freely if integrated or build upon in personal or commercial projects such as websites, | ||
web apps and web templates intended for sale. It is not allowed to take the resource "as-is" and sell it, | ||
redistribute, re-publish it, or sell "pluginized" versions of it. Free plugins built using this resource should have a | ||
visible mention and link to the original work. Always consider the licenses of all included libraries, scripts and images used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Interactive Repulsion Effect with Three.js | ||
|
||
A tutorial on how to recreate the interactive repulsion effect of grid items seen in BestServedBold's Dribbble shot ["Holographic-Interactions"](https://dribbble.com/shots/5515695-Holographic-Interactions). By Ion D. Filho. | ||
|
||
![Interactive repulsion effect](https://tympanus.net/codrops/wp-content/uploads/2018/12/InteractiveRepulsionEffect_featured.jpg) | ||
|
||
[Article on Codrops](https://tympanus.net/codrops/?p=36627) | ||
|
||
[Demo](https://tympanus.net/Tutorials/InteractiveRepulsionEffect/) | ||
|
||
### Requirements | ||
* nodejs 8+ | ||
|
||
### Contents | ||
````bash | ||
first-demo/ and second-demo/ | ||
src/ | ||
scripts/... | ||
styles/... | ||
index.html | ||
index.js | ||
config files... | ||
LICENSE | ||
README.md | ||
```` | ||
### Installation | ||
```sh | ||
$ cd first-demo or second-demo | ||
$ npm install | ||
$ npm start | ||
``` | ||
### Build | ||
```sh | ||
$ cd first-demo or second-demo | ||
$ npm run build | ||
``` | ||
### output folder | ||
````bash | ||
first-demo/ and second-demo/ | ||
public/ | ||
app.##hash##.js | ||
app.##hash##.css | ||
index.html | ||
```` | ||
|
||
Follow Codrops: [Twitter](http://www.twitter.com/codrops), [Facebook](http://www.facebook.com/codrops), [Google+](https://plus.google.com/101095823814290637419), [GitHub](https://github.com/codrops), [Pinterest](http://www.pinterest.com/codrops/), [Instagram](https://www.instagram.com/codropsss/) | ||
|
||
|
||
[© Codrops 2018](http://www.codrops.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"globals": { | ||
"THREE": true, | ||
"TweenMax": true, | ||
"Elastic": true, | ||
"Back": true, | ||
"dat": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended" | ||
], | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 8, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"eqeqeq": 1, | ||
"curly": 1, | ||
"no-console": 1, | ||
"quotes": [ | ||
1, "single" | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ "./src/**/*.js" ] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 Ion Drimba F. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Repulsive Force Interaction | ||
|
||
Repulsive Force Interaction demo on a grid of elements inside a 3D world using Threejs, Ion Drimba Filho | ||
|
||
![Image Title](link) | ||
|
||
[Article on Codrops](https://tympanus.net/codrops/?p=36627) | ||
|
||
[Demo](http://tympanus.net/Development/.../) | ||
|
||
## Credits | ||
|
||
* [Threejs](https://threejs.org/) | ||
* [TweenMax](https://greensock.com/tweenmax) | ||
* [RoundedBox Mesh](https://github.com/pailhead/three-rounded-box) | ||
|
||
## License | ||
This resource can be used freely if integrated or build upon in personal or commercial projects such as websites, web apps and web templates intended for sale. It is not allowed to take the resource "as-is" and sell it, redistribute, re-publish it, or sell "pluginized" versions of it. Free plugins built using this resource should have a visible mention and link to the original work. Always consider the licenses of all included libraries, scripts and images used. | ||
|
||
## Misc | ||
|
||
Follow Ion Drimba Filho: [Twitter](https://twitter.com/code__music), [Codepen](https://codepen.io/iondf_/), [GitHub](https://github.com/iondrimba) | ||
|
||
Follow Codrops: [Twitter](http://www.twitter.com/codrops), [Facebook](http://www.facebook.com/codrops), [Google+](https://plus.google.com/101095823814290637419), [GitHub](https://github.com/codrops), [Pinterest](http://www.pinterest.com/codrops/), [Instagram](https://www.instagram.com/codropsss/) | ||
|
||
|
||
[© Codrops 2018](http://www.codrops.com) |
Oops, something went wrong.