Skip to content

Commit

Permalink
add logo mockup
Browse files Browse the repository at this point in the history
  • Loading branch information
legomushroom committed Feb 1, 2015
1 parent 07f0fc3 commit 8197702
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
16 changes: 9 additions & 7 deletions dist/mojs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1528,23 +1528,25 @@ burst = new Burst({
radius: {
0: 100
},
isSwirl: true,
swirlFrequency: 'rand(0, 5)',
swirlSize: 10,
type: 'line',
points: 5,
swirlSize: 'rand(3,20)',
randomAngle: .2,
degree: 180,
angle: -45,
points: 15,
stroke: {
'deeppink': 'orange'
},
childOptions: {
swirlFrequency: 'rand(0, 12)',
fill: ['deeppink', 'orange', 'cyan', 'lime', 'hotpink'],
points: 3,
type: ['rect', 'circle', 'polygon', 'circle'],
strokeWidth: 0,
radius: {
5: 0
'rand(3,6)': 0
},
duration: 800
duration: 'rand(500,1000)',
delay: 'rand(0,2000)'
}
});

Expand Down
4 changes: 2 additions & 2 deletions dist/mojs.min.js

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions js/mojs.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,26 @@ burst = new Burst
# delay: 1000
# points: 10
radius: { 0: 100 }
# isSwirl: true
isSwirl: true
swirlFrequency: 'rand(0, 5)'
swirlSize: 10
# randomRadius: 0
swirlSize: 'rand(3,20)'
# randomRadius: .5
randomAngle: .2
degree: 180
angle: -45
# isShowEnd: true
type: 'line'
points: 5
# type: 'line'
points: 15
stroke: {'deeppink': 'orange'}
childOptions:
swirlFrequency: 'rand(0, 12)'
# swirlFrequency: 'rand(0, 12)'
fill: ['deeppink', 'orange', 'cyan', 'lime', 'hotpink']
points: 3
type: ['rect', 'circle', 'polygon', 'circle']
# type: ['rect', 'circle', 'polygon', 'circle']
strokeWidth: 0
radius: {5:0}
duration: 800
radius: {'rand(3,6)':0}
duration: 'rand(500,1000)'
delay: 'rand(0,2000)'
# duration: 'rand(400,1200)'

document.body.addEventListener 'click', (e)->
Expand Down
Binary file modified mockups/mojs.sketch
Binary file not shown.

0 comments on commit 8197702

Please sign in to comment.