changed colors around to match theme

This commit is contained in:
Kassius Barker 2019-03-31 16:49:46 -04:00
parent e48af75078
commit f5e8bcc13b
2 changed files with 12 additions and 11 deletions

View File

@ -5,8 +5,9 @@
height: 200px; height: 200px;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
color: white; color:#0f477e;
overflow: hidden; overflow: visible;
font-size: 2em;
} }
.did-title .content{ .did-title .content{
@ -15,7 +16,7 @@
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%,-50%); transform: translate(-50%,-50%);
text-shadow: 0px 0px 10px #222222, 0px 0px 20px #222222, 0px 0px 30px #222222, 0px 0px 8px #222222; text-shadow: 0px 0px 10px #f0fff0, 0px 0px 20px #f0fff0;
} }
.did-title canvas{ .did-title canvas{

View File

@ -2,16 +2,16 @@
// settings: // settings:
const canvasName = "did-canvas" const canvasName = "did-canvas"
const maxNodes = 100 // using too many will impact performance. const maxNodes = 40 // using too many will impact performance.
const nodeMinSize = 2 const nodeMinSize = 3
const nodeMaxSize = 4 const nodeMaxSize = 4
const nodeMinSpeed = 0.03 const nodeMinSpeed = 0.02
const nodeMaxSpeed = 0.8 const nodeMaxSpeed = 0.3
const nodeMaxConnections = 20 const nodeMaxConnections = 20
const connectionThickness = 1 const connectionThickness = 2;
const connectionDist = 100 const connectionDist = 102
const connectionColor = "#ffffff" const connectionColor = "#0f477e"
const nodeColors = ["#ff9900", "ffcc99"] // you may enter multiple colors const nodeColors = ['#0f477e'] // you may enter multiple colors ["#65c665", "#40a040"]
const warpEdges = false // if false nodes will bounce off the edges const warpEdges = false // if false nodes will bounce off the edges
const useIcon = false // if false then colored circles will be used const useIcon = false // if false then colored circles will be used
const iconPath = "https://image.flaticon.com/icons/png/128/137/137068.png" const iconPath = "https://image.flaticon.com/icons/png/128/137/137068.png"