1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Noisy by Danielrapp</ title >
7+ < meta name ="description " content ="A jQuery plugin that adds random noise to the background of a given element. ">
8+ < meta name ="author " content ="DanielRapp ">
9+ < meta name ="robots " content ="index, follow ">
10+ <!-- Canonical URL -->
11+ < link rel ="canonical " href ="https://codehimblog.github.io/jquery-plugins/noisy-by-danielrapp.html ">
12+ <!-- Favicon -->
13+ < link rel ="icon " href ="/favicon.ico " type ="image/png ">
14+ <!-- Bootstrap CSS -->
15+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css " rel ="stylesheet ">
16+ <!-- Bootstrap Icons -->
17+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css " rel ="stylesheet ">
18+ < link rel ="stylesheet " href ="/css/styles.css ">
19+ </ head >
20+ < body >
21+ <!-- Navbar -->
22+ < nav class ="navbar navbar-expand-lg navbar-dark bg-dark fixed-top ">
23+ < div class ="container ">
24+ < a class ="navbar-brand " href ="https://codehimblog.github.io ">
25+ < i class ="bi bi-box-seam me-2 "> </ i > CodehimBlog
26+ </ a >
27+ < button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#navbarNav " aria-controls ="navbarNav " aria-expanded ="false " aria-label ="Toggle navigation ">
28+ < span class ="navbar-toggler-icon "> </ span >
29+ </ button >
30+ < div class ="collapse navbar-collapse " id ="navbarNav ">
31+ < ul class ="navbar-nav ms-auto ">
32+ < li class ="nav-item ">
33+ < a class ="nav-link " href ="https://codehimblog.github.io/ "> < i class ="bi bi-house-door me-1 "> </ i > Home</ a >
34+ </ li >
35+ < li class ="nav-item ">
36+ < a class ="nav-link " href ="https://codehimblog.github.io/projects/ "> < i class ="bi bi-box me-1 "> </ i > Projects</ a >
37+ </ li >
38+ < li class ="nav-item ">
39+ < a class ="nav-link " href ="https://codehimblog.github.io/about.html "> < i class ="bi bi-book me-1 "> </ i > About</ a >
40+ </ li >
41+ < li class ="nav-item ">
42+ < a class ="nav-link " href ="https://codehimblog.github.io/contact.html "> < i class ="bi bi-envelope me-1 "> </ i > Contact</ a >
43+ </ li >
44+ </ ul >
45+ </ div >
46+ </ div >
47+ </ nav >
48+
49+ <!-- Breadcrumbs -->
50+ < div class ="container mt-4 breadcrumbs ">
51+ < nav aria-label ="breadcrumb ">
52+ < ol class ="breadcrumb mb-0 ">
53+ < li class ="breadcrumb-item "> < a href ="https://codehimblog.github.io/ "> Home</ a > </ li >
54+ < li class ="breadcrumb-item "> < a href ="https://codehimblog.github.io/jquery-plugins/ "> jQuery Plugins</ a > </ li >
55+ < li class ="breadcrumb-item active " aria-current ="page "> Noisy</ li >
56+ </ ol >
57+ </ nav >
58+ </ div >
59+
60+ <!-- Schema Markup for Breadcrumbs -->
61+ < script type ="application/ld+json ">
62+ {
63+ "@context" : "https://schema.org" ,
64+ "@type" : "BreadcrumbList" ,
65+ "itemListElement" : [
66+ {
67+ "@type" : "ListItem" ,
68+ "position" : 1 ,
69+ "name" : "Home" ,
70+ "item" : "https://codehimblog.github.io/"
71+ } ,
72+ {
73+ "@type" : "ListItem" ,
74+ "position" : 2 ,
75+ "name" : "jQuery Plugins" ,
76+ "item" : "https://codehimblog.github.io/jquery-plugins/"
77+ } ,
78+ {
79+ "@type" : "ListItem" ,
80+ "position" : 3 ,
81+ "name" : "Noisy" ,
82+ "item" : "https://codehimblog.github.io/projects/{{packageSlug}}"
83+ }
84+ ]
85+ }
86+ </ script >
87+ <!-- Main Content -->
88+ < div class ="container mt-3 ">
89+ < div class ="row ">
90+ <!-- Main Details -->
91+ < main class ="col-md-8 site-main p-0 ">
92+ < article >
93+ <!-- Project Name & Description -->
94+ < h1 id ="packageName "> Noisy</ h1 >
95+ < p id ="packageDescription " class ="text-muted "> A jQuery plugin that adds random noise to the background of a given element.</ p >
96+
97+
98+
99+ <!-- Statistics -->
100+ < div class ="stat-row d-flex justify-content-around align-items-center text-center mb-2 ">
101+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
102+ < i class ="bi bi-star-fill text-warning mb-2 "> </ i >
103+ < div >
104+ < span id ="stargazersCount " class ="stat-value "> 687</ span >
105+ < p class ="stat-label mb-0 "> Stars</ p >
106+ </ div >
107+ </ div >
108+
109+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
110+ < i class ="bi bi-box-arrow-in-down mb-2 "> </ i >
111+ < div >
112+ < span id ="repoSize " class ="stat-value "> 0.13 MB</ span >
113+ < p class ="stat-label mb-0 "> Size</ p >
114+ </ div >
115+ </ div >
116+
117+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
118+ < i class ="bi bi-arrow-repeat text-secondary mb-2 "> </ i >
119+ < div >
120+ < span id ="forksCount " class ="stat-value "> 33</ span >
121+ < p class ="stat-label mb-0 "> Forks</ p >
122+ </ div >
123+ </ div >
124+
125+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
126+ < i class ="bi bi-exclamation-circle text-danger mb-2 "> </ i >
127+ < div >
128+ < span id ="openIssuesCount " class ="stat-value "> 2</ span >
129+ < p class ="stat-label mb-0 "> Open Issues</ p >
130+ </ div >
131+ </ div >
132+ </ div >
133+
134+
135+ < div class ="ad-unit ad-apt ">
136+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
137+ crossorigin ="anonymous "> </ script >
138+ <!-- CodehimBlog APT -->
139+ < ins class ="adsbygoogle "
140+ style ="display:block "
141+ data-ad-client ="ca-pub-7089100907045419 "
142+ data-ad-slot ="4990741913 "
143+ data-ad-format ="auto "
144+ data-full-width-responsive ="true "> </ ins >
145+ < script >
146+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
147+ </ script >
148+ </ div >
149+
150+ < div class ="row mb-4 ">
151+ <!-- Tabs (Left) -->
152+ < div class ="col-12 col-md-6 d-flex justify-content-start mb-3 mb-md-0 ">
153+ < ul class ="nav nav-tabs " id ="infoTabs " role ="tablist ">
154+ < li class ="nav-item " role ="presentation ">
155+ < button class ="nav-link active " id ="installation-tab " data-bs-toggle ="tab " data-bs-target ="#installation " type ="button " role ="tab " aria-controls ="installation " aria-selected ="true ">
156+ < i class ="bi bi-file-earmark-text "> </ i > Readme
157+ </ button >
158+ </ li >
159+ < li class ="nav-item " role ="presentation ">
160+ < button class ="nav-link " id ="changelog-tab " data-bs-toggle ="tab " data-bs-target ="#changelog " type ="button " role ="tab " aria-controls ="changelog " aria-selected ="false ">
161+ < i class ="bi bi-journal-text me-2 "> </ i > Changelog
162+ </ button >
163+ </ li >
164+ </ ul >
165+ </ div >
166+
167+ <!-- Action Buttons (Right) -->
168+ < div class ="col-12 col-md-6 d-flex align-items-center justify-content-end ">
169+ < a href ="https://github.com/DanielRapp/Noisy/archive/refs/heads/master.zip " class ="btn btn-primary me-2 action-btn " id ="downloadBtn ">
170+ < i class ="bi bi-cloud-download me-2 "> </ i > Download ZIP
171+ </ a >
172+ < a href ="https://github.com/DanielRapp/Noisy " target ="_blank " class ="btn btn-outline-secondary action-btn " id ="githubBtn ">
173+ < i class ="bi bi-github me-2 "> </ i > Fork on GitHub
174+ </ a >
175+ </ div >
176+ </ div >
177+ < div class ="tab-content mt-3 " id ="infoTabsContent ">
178+ < div class ="tab-pane fade show active " id ="installation " role ="tabpanel " aria-labelledby ="installation-tab ">
179+ < h1 > Noisy</ h1 >
180+ < p > A jQuery plugin that adds random noise to the background of an element.</ p >
181+ < h2 > Dependency</ h2 >
182+ < ul >
183+ < li > < a href ="https://github.com/jquery/jquery "> jQuery</ a > </ li >
184+ </ ul >
185+ < h2 > Install</ h2 >
186+ < p > Just download the repository and link to the local minimized script:</ p >
187+ < pre class ="prettyprint linenums lang-language "> < code > <script src="noisy/jquery/jquery.noisy.min.js"></script></ code > </ pre >
188+ < p > Alternatively, include it from < a href ="http://cdnjs.com "> cdnjs.com</ a > :</ p >
189+ < pre class ="prettyprint linenums lang-language "> < code > <script src="//cdnjs.cloudflare.com/ajax/libs/noisy/1.2/jquery.noisy.min.js"></script></ code > </ pre >
190+ < h2 > Usage</ h2 >
191+ < p > An example showing all parameters would be the following:</ p >
192+ < pre class ="prettyprint linenums lang-language "> < code > $('body').noisy({
193+ intensity: 0.9,
194+ size: 200,
195+ opacity: 0.08,
196+ fallback: 'fallback.png',
197+ monochrome: false
198+ });</ code > </ pre >
199+ < p > But since all parameters are optional you can just use it like this:</ p >
200+ < pre class ="prettyprint linenums lang-language "> < code > $('body').noisy();</ code > </ pre >
201+ < p > You can also set a particles color with color option like this:</ p >
202+ < pre class ="prettyprint linenums lang-language "> < code > $('body').noisy({
203+ intensity: 0.9,
204+ size: 200,
205+ opacity: 0.08,
206+ fallback: 'fallback.png',
207+ randomColors: false, // true by default
208+ color: '#000000'
209+ });</ code > </ pre >
210+ < p > This works, for now, just with the jquery version.</ p >
211+ < h2 > Rationale</ h2 >
212+ < p > What's wrong with using an image?</ p >
213+ < ol >
214+ < li > Bandwidth cost< br />
215+ Due to the random nature of background images with a noisy overlay,< br />
216+ compression usually isn't very effective. With this 1 KB script you can< br />
217+ generate images up to 300 KB without loading for even a second. Saving< br />
218+ bandwidth costs and loading time.</ li >
219+ < li > Development speed< br />
220+ Trying out an image with a different noise opacity involves a much smaller< br />
221+ amount of steps by just updating a parameter than changing and saving the< br />
222+ image in Photoshop.</ li >
223+ < li > Flexibility< br />
224+ By generating the background image in javascript, one does not need to rely< br />
225+ on the webserver being able to serve static files for it. With generated< br />
226+ favicons etc. a static files serving webserver becomes optional.</ li >
227+ </ ol >
228+ < h2 > Contact</ h2 >
229+ < p > If you have any questions or suggestions that don't fit GitHub, send them to < a href ="http://twitter.com/DanielRapp "> @DanielRapp</ a > </ p >
230+ < h2 > Support</ h2 >
231+ < p > I'd be flattered if you'd flattr this :)</ p >
232+ < p > < a href ="http://flattr.com/thing/143004/jQuery-noise-generator "> < img src ="http://api.flattr.com/button/flattr-badge-large.png " alt ="Flattr this " /> </ a > </ p >
233+ </ div >
234+
235+ < div class ="tab-pane fade " id ="changelog " role ="tabpanel " aria-labelledby ="changelog-tab ">
236+ < ul id ="changelogList ">
237+ No changelog available.
238+ </ ul >
239+ </ div >
240+
241+ </ div >
242+
243+ < div class ="tags mb-2 mt-2 ">
244+
245+ </ div >
246+
247+ </ article >
248+
249+
250+ </ main >
251+ <!-- Sidebar -->
252+ < aside class ="col-md-4 p-0 ">
253+ < div class ="sidebar ">
254+ <!-- Owner Section -->
255+ < div class ="sidebar-item mb-4 ">
256+ < div class ="ad-unit ">
257+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
258+ crossorigin ="anonymous "> </ script >
259+ <!-- CodehimBlog Sidebar -->
260+ < ins class ="adsbygoogle "
261+ style ="display:block "
262+ data-ad-client ="ca-pub-7089100907045419 "
263+ data-ad-slot ="8929986923 "
264+ data-ad-format ="auto "
265+ data-full-width-responsive ="true "> </ ins >
266+ < script >
267+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
268+ </ script >
269+ </ div >
270+ < div class ="d-flex align-items-center ">
271+ < img src ="https://avatars.githubusercontent.com/u/442870?v=4 " alt ="Owner Avatar " class ="rounded-circle me-2 owner-avatar ">
272+ < a href ="https://github.com/DanielRapp " target ="_blank " id ="ownerName " class ="sidebar-link "> DanielRapp</ a >
273+ </ div >
274+ </ div >
275+
276+ <!-- Metadata Section -->
277+ < div class ="sidebar-item mb-2 ">
278+ < div class ="metadata-item d-flex align-items-center ">
279+ < i class ="bi bi-calendar me-2 "> </ i >
280+ < strong > Created At:</ strong >
281+ < span id ="createdAt " class ="ms-1 "> February 26, 2011</ span >
282+ </ div >
283+ < div class ="metadata-item d-flex align-items-center mt-2 ">
284+ < i class ="bi bi-pencil-square me-2 "> </ i >
285+ < strong > Last Updated:</ strong >
286+ < span id ="updatedAt " class ="ms-1 "> August 26, 2024</ span >
287+ </ div >
288+ < div class ="metadata-item d-flex align-items-center mt-2 ">
289+ < i class ="bi bi-file-earmark-code me-2 "> </ i >
290+ < strong > Language:</ strong >
291+ < span id ="language " class ="ms-1 "> JavaScript</ span >
292+ </ div >
293+
294+ < div class ="metadata-item d-flex align-items-center mt-2 ">
295+ < i class ="bi bi-shield-check "> </ i >
296+ < strong > License:</ strong >
297+ < span id ="license " class ="ms-1 "> MIT License</ span >
298+ </ div >
299+ < a href ="# " target ="_blank " class ="btn btn-outline-dark btn-sm " id ="homepageBtn ">
300+ < i class ="bi bi-house-door me-2 "> </ i > Visit Homepage
301+ </ a >
302+
303+ </ div >
304+
305+ < div class ="sidebar-item mb-2 ">
306+ < li > No dependencies!</ li >
307+ </ div >
308+
309+ < div class ="sidebar-item ">
310+ < h5 class ="sidebar-title "> Contributors</ h5 >
311+ < ul class ="p-0 " id ="contributorsList ">
312+ < ul class ="list-group list-group-flush " id ="contributorsList "> < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/442870?v=4 " alt ="DanielRapp " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/DanielRapp " target ="_blank " class ="text-decoration-none fw-bold "> DanielRapp</ a > < p class ="mb-0 text-muted small "> 87 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/11575?v=4 " alt ="Bengt " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/Bengt " target ="_blank " class ="text-decoration-none fw-bold "> Bengt</ a > < p class ="mb-0 text-muted small "> 5 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/2979628?v=4 " alt ="andreiglingeanu " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/andreiglingeanu " target ="_blank " class ="text-decoration-none fw-bold "> andreiglingeanu</ a > < p class ="mb-0 text-muted small "> 3 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/46033?v=4 " alt ="GCheung55 " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/GCheung55 " target ="_blank " class ="text-decoration-none fw-bold "> GCheung55</ a > < p class ="mb-0 text-muted small "> 2 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/3832?v=4 " alt ="bomberstudios " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/bomberstudios " target ="_blank " class ="text-decoration-none fw-bold "> bomberstudios</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item d-none "> < img src ="https://avatars.githubusercontent.com/u/6146567?v=4 " alt ="ChristianCook " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/ChristianCook " target ="_blank " class ="text-decoration-none fw-bold "> ChristianCook</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item d-none "> < img src ="https://avatars.githubusercontent.com/u/68452?v=4 " alt ="joyvuu-dave " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/joyvuu-dave " target ="_blank " class ="text-decoration-none fw-bold "> joyvuu-dave</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item d-none "> < img src ="https://avatars.githubusercontent.com/u/106974?v=4 " alt ="dcneiner " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/dcneiner " target ="_blank " class ="text-decoration-none fw-bold "> dcneiner</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item d-none "> < img src ="https://avatars.githubusercontent.com/u/188078?v=4 " alt ="ericbock " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/ericbock " target ="_blank " class ="text-decoration-none fw-bold "> ericbock</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item d-none "> < img src ="https://avatars.githubusercontent.com/u/71047?v=4 " alt ="KyleAMathews " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/KyleAMathews " target ="_blank " class ="text-decoration-none fw-bold "> KyleAMathews</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item text-center "> < a href ="# " id ="toggleContributors " class ="d-block "> +5 more Contributors</ a > </ li > </ ul >
313+ </ ul >
314+
315+ </ div >
316+
317+ < div class ="ad-unit ">
318+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
319+ crossorigin ="anonymous "> </ script >
320+ <!-- CodehimBlog Skyscrapper -->
321+ < ins class ="adsbygoogle "
322+ style ="display:block "
323+ data-ad-client ="ca-pub-7089100907045419 "
324+ data-ad-slot ="7469565592 "
325+ data-ad-format ="auto "
326+ data-full-width-responsive ="true "> </ ins >
327+ < script >
328+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
329+ </ script >
330+ </ div >
331+
332+ </ div >
333+ </ aside >
334+ </ div >
335+ </ div >
336+ <!-- Footer -->
337+ < footer class ="bg-dark text-white text-center py-3 page-footer ">
338+ < div class ="container ">
339+ < p class ="mb-2 "> © 2024 CodehimBlog - Powered by GitHub</ p >
340+ < nav >
341+ < ul class ="list-inline mb-0 ">
342+ < li class ="list-inline-item ">
343+ < a href ="/privacy-policy.html " class ="footer-link "> Privacy Policy</ a >
344+ </ li >
345+ < li class ="list-inline-item ">
346+ < span class ="text-white "> |</ span >
347+ </ li >
348+ < li class ="list-inline-item ">
349+ < a href ="/terms-and-conditions.html " class ="footer-link "> Terms and Conditions</ a >
350+ </ li >
351+ </ ul >
352+ </ nav >
353+ </ div >
354+ </ footer >
355+ <!-- Bootstrap Bundle JS -->
356+ < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js "> </ script >
357+ < script src ="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js "> </ script >
358+ < script src ="/js/script.js "> </ script >
359+ <!-- Google tag (gtag.js) -->
360+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-FG2ZX76XGT "> </ script >
361+ < script >
362+ window . dataLayer = window . dataLayer || [ ] ;
363+ function gtag ( ) { dataLayer . push ( arguments ) ; }
364+ gtag ( 'js' , new Date ( ) ) ;
365+
366+ gtag ( 'config' , 'G-FG2ZX76XGT' ) ;
367+ </ script >
368+ </ body >
369+ </ html >
0 commit comments