├── LICENSE ├── README.md ├── css └── cmcontrol.css ├── index.html └── js ├── Wave.js └── libs ├── CMControl.min.js └── signals.min.js /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Jongmin Kim 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wave 2 | Javascript Wave animation 3 | 4 | 5 | [](http://cmiscm.github.com/wave/) 6 | 7 | 8 | ### Example 9 | [http://cmiscm.github.com/wave/](http://cmiscm.github.com/wave/) 10 | 11 | 12 | ### Questions 13 | If you have any questions, please feel free to ask on [my blog](http://blog.cmiscm.com/?p=5452) 14 | 15 | 16 | ### License 17 | Copyright (c) 2017 Jongmin Kim (http://cmiscm.com) 18 | 19 | Licensed under the MIT license. 20 | 21 | - http://www.opensource.org/licenses/mit-license.php 22 | -------------------------------------------------------------------------------- /css/cmcontrol.css: -------------------------------------------------------------------------------- 1 | .sidebar { 2 | position: absolute; 3 | left: 20px; 4 | top: 20px; 5 | width: 200px; 6 | background-color: rgba(0,0,0,0.8); 7 | overflow: auto; 8 | padding: 12px 15px; 9 | border-radius: 6px; 10 | overflow: hidden; 11 | } 12 | .sidebar .container { 13 | 14 | } 15 | .sidebar .detail { 16 | clear: both; 17 | } 18 | 19 | .title-bar { 20 | position: relative; 21 | width: 200px; 22 | cursor: move; 23 | } 24 | .title { 25 | position: relative; 26 | font-family: 'Helvetica', sans-serif; 27 | font-size: 12px; 28 | font-weight: 400; 29 | color: #fff; 30 | margin: 2px 0 1px 0; 31 | } 32 | .title-s { 33 | position: relative; 34 | font-family: 'Helvetica', sans-serif; 35 | font-size: 8px; 36 | font-weight: 400; 37 | color: rgba(255,255,255,0.5); 38 | } 39 | 40 | .my-over { 41 | background-color: #555; 42 | color: #aaa; 43 | cursor: pointer; 44 | } 45 | .my-over:hover { 46 | background-color: #fb2600; 47 | color: #fff; 48 | } 49 | .my-bt { 50 | background-color: #444; 51 | padding: 5px 0; 52 | width: 80px; 53 | text-align: center; 54 | font-family: 'Helvetica', sans-serif; 55 | font-size: 9px; 56 | font-weight: 400; 57 | position: relative; 58 | border-radius: 2px; 59 | display: inline-block; 60 | margin: 0 10px 0 0; 61 | } 62 | 63 | .label { 64 | height: 15px; 65 | position: relative; 66 | font-family: 'Helvetica', sans-serif; 67 | font-size: 10px; 68 | font-weight: 400; 69 | color: rgba(255,255,255,0.6); 70 | padding: 16px 0 0 0; 71 | } 72 | 73 | .link { 74 | cursor: pointer; 75 | height: 15px; 76 | position: relative; 77 | font-family: 'Helvetica', sans-serif; 78 | font-size: 10px; 79 | font-weight: 400; 80 | padding: 16px 0 0 0; 81 | } 82 | .link > a { 83 | color: rgba(255,255,255,0.4); 84 | text-decoration: none; 85 | } 86 | .link > a:hover { 87 | color: #fb2600; 88 | } 89 | 90 | .slide { 91 | background-color: #222; 92 | width: 200px; 93 | height: 6px; 94 | position: relative; 95 | margin: 2px 0 7px 0; 96 | } 97 | .slide .handle { 98 | width: 16px; 99 | height:10px; 100 | position: absolute; 101 | left: 0; 102 | top: -2px; 103 | cursor: col-resize; 104 | border-radius: 2px; 105 | } 106 | 107 | 108 | 109 | .label-gap { 110 | padding-bottom: 10px; 111 | } 112 | 113 | .label-s { 114 | position: relative; 115 | clear: both; 116 | } 117 | 118 | .label-s-txt { 119 | width: 45px; 120 | position: relative; 121 | float: left; 122 | font-family: 'Helvetica', sans-serif; 123 | font-size: 9px; 124 | font-weight: 400; 125 | color: #555; 126 | height: 100%; 127 | margin-top: 2px; 128 | } 129 | 130 | .label-s-num { 131 | width: 45px; 132 | position: relative; 133 | font-family: 'Helvetica', sans-serif; 134 | font-size: 10px; 135 | font-weight: 400; 136 | margin-bottom: 6px; 137 | color: #888; 138 | } 139 | .name-input { 140 | width: 100px; 141 | height: 18px; 142 | font-family: 'Helvetica', sans-serif; 143 | font-size: 10px; 144 | font-weight: 400; 145 | color: #777; 146 | position: relative; 147 | display: block; 148 | float: left; 149 | margin: -4px 0 10px 0; 150 | padding: 0 0 0 5px; 151 | border: 1px #454545 solid; 152 | background: #1c1c1c; 153 | } 154 | 155 | 156 | 157 | 158 | .check { 159 | display: inline-block; 160 | position: relative; 161 | } 162 | .check .check-box { 163 | display: inline-block; 164 | margin-right: 4px; 165 | vertical-align: middle; 166 | } 167 | .check .check-text { 168 | font-family: 'Helvetica', sans-serif; 169 | font-size: 10px; 170 | font-weight: 400; 171 | color: rgba(255,255,255,0.4); 172 | display: inline-block; 173 | vertical-align: middle; 174 | margin: 0 12px 0 0; 175 | } 176 | .check-title-s { 177 | margin-top: 1px; 178 | } 179 | 180 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 |