Skip to content

Commit

Permalink
Various improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
giannisdaras committed Feb 24, 2018
1 parent 8f61ece commit c1edcda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36622,7 +36622,7 @@ $(document).ready(function () {
//pixel colors
minDist = 20,
//minimum distance
bounceFactor = 0.7;
bounceFactor = 0.9; // when it increases they are getting more jump height

var W = window.innerWidth,
H = window.innerHeight;
Expand Down Expand Up @@ -36666,7 +36666,7 @@ $(document).ready(function () {
function drawText() {
ctx.clearRect(0, 0, W, H);
ctx.fillStyle = "#000000";
ctx.font = "100px 'Arial', sans-serif";
ctx.font = "150px 'Arial', sans-serif";
ctx.textAlign = "center";
ctx.fillText(keyword, W / 2, H / 2);
}
Expand Down
4 changes: 2 additions & 2 deletions resources/assets/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $(document).ready(function(){
hovered = false,
colors = ["255,255,255", "255,0,0", "0,0,0"], //pixel colors
minDist = 20, //minimum distance
bounceFactor = 0.7;
bounceFactor = 0.9; // when it increases they are getting more jump height

var W = window.innerWidth,
H = window.innerHeight;
Expand Down Expand Up @@ -86,7 +86,7 @@ $(document).ready(function(){
function drawText() {
ctx.clearRect(0, 0, W, H);
ctx.fillStyle = "#000000";
ctx.font = "100px 'Arial', sans-serif";
ctx.font = "150px 'Arial', sans-serif";
ctx.textAlign = "center";
ctx.fillText(keyword, W/2, H/2);
}
Expand Down

0 comments on commit c1edcda

Please sign in to comment.