-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from nudibranchrecords/dev
v0.5.0
- Loading branch information
Showing
336 changed files
with
15,557 additions
and
11,136 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
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
coverage/** | ||
node_modules/** | ||
dist/** | ||
src/index.html | ||
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
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,33 +1,12 @@ | ||
const tryRequire = require('try-require') | ||
|
||
const config = { | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.icon\.txt$/, | ||
use: 'svg-inline-loader?classPrefix' | ||
} | ||
] | ||
} | ||
} | ||
|
||
if (process.env.NODE_ENV === 'development') { | ||
const devConfig = tryRequire('./dev.config.js', require) | ||
let devServerOptions = {} | ||
|
||
if (devConfig && devConfig.defaultProject) { | ||
const defaultProject = require(devConfig.defaultProject) | ||
const sketchesPath = defaultProject.project.sketchesPath | ||
|
||
if (sketchesPath) { | ||
devServerOptions = { | ||
contentBase: sketchesPath, | ||
watchContentBase: true | ||
} | ||
} | ||
} | ||
|
||
config.devServer = devServerOptions | ||
use: 'svg-inline-loader?classPrefix', | ||
}, | ||
], | ||
}, | ||
} | ||
|
||
module.exports = config |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,64 @@ | ||
module.exports = { | ||
defaultTitle: 'Hedron Logo', | ||
params: [ | ||
{ | ||
key: 'colorH', | ||
title: 'Color H', | ||
defaultValue: 0.5, | ||
}, | ||
{ | ||
key: 'colorS', | ||
title: 'Color S', | ||
defaultValue: 0.5, | ||
}, | ||
{ | ||
key: 'colorL', | ||
title: 'Color L', | ||
defaultValue: 0.5, | ||
}, | ||
{ | ||
key: 'aInt', | ||
title: 'Ambient Light Intensity', | ||
defaultValue: 0.1, | ||
}, | ||
{ | ||
key: 'pInt', | ||
title: 'Point Light Intensity', | ||
defaultValue: 0.5, | ||
defaultMin: 0, | ||
defaultMax: 5, | ||
}, | ||
{ | ||
key: 'logoRotSpeedX', | ||
title: 'Logo Rot Speed X', | ||
defaultValue: 0, | ||
}, | ||
{ | ||
key: 'logoRotSpeedY', | ||
title: 'Logo Rot Speed Y', | ||
defaultValue: 0, | ||
}, | ||
{ | ||
key: 'logoRotSpeedZ', | ||
title: 'Logo Rot Speed Z', | ||
defaultValue: 0, | ||
}, | ||
{ | ||
key: 'logoScale', | ||
title: 'Logo Scale', | ||
defaultValue: 0.7, | ||
}, | ||
{ | ||
key: 'sphereScale', | ||
title: 'Sphere Scale', | ||
defaultValue: 1, | ||
}, | ||
], | ||
shots: [ | ||
{ | ||
method: 'resetLogoRot', | ||
title: 'Reset Logo Rot', | ||
}, | ||
], | ||
} | ||
|
Binary file not shown.
Oops, something went wrong.