반응형
반응형

Two.js is a two-dimensional drawing API that is built for modern web browsers. Since it’s renderer agnostic, the same API can draw in multiple contexts, including webgl, svg, and canvas.

two.js

반응형
반응형

least.js

Random & Responsive HTML 5, CSS3 Gallery with LazyLoad

 

http://kamilczujowski.github.io/least/

 

Least.js creates random and responsive HTML5 and CSS3 image galleries that include Lazyload. Installation and usage is simple, and the end result is quite beautiful.

Least.js

반응형
반응형

Verlet-js — A JavaScript physics engine

Javascript/Added on May 15, 2013/Add to favorites

Verlet-js is a Verlet integration physics engine written in JavaScript and released under the MIT License. It can handle simulations, composites, particles, and constraints.

Verlet-js

Homepage: http://subprotocol.com/verlet-js/
GitHub: https://github.com/subprotocol/verlet-js

 

 

About

verlet-js a simple Verlet integration physics engine written in javascript by Sub Protocol. Verlet is pronounced 'ver-ley'.

Examples

  1. Shapes (Hello world)
  2. Fractal Trees
  3. Cloth
  4. Spiderweb

Features

The following is the entity hierarchy used within verlet-js:

  • Simulation: Root object that holds composite entities and drives all physics and animation within a scene.
  • Composites: A high level object used within the scene (ball, bridge, cloth, etc..)
  • Particles: Just a point in space that responds to gravity.
  • Constraints: Links particles together so they can interact with each other.
    1. Pin: Binds a particle to a static/fixes position in space.
    2. Distance: Binds two particles together by a fixed linear distance.
    3. Angle: Binds 3 particles to each other by an acute angle.

License

You may use verlet-js under the terms of the very permissive MIT License.

Source Code

View project on GitHub

 

 

반응형
반응형

7 CSS and JavaScript Performance Tips

 

http://webdesignledger.com/tips/7-css-and-javascript-performance-tips

 

Have you ever thought about how many customers you lose by having a slow site? And I’m not talking about file size only, as we rely on browser capacities to understand our code, we need to consider the processing time also.

That’s why sometimes adding a few bites in your code is much better because it save you precious seconds when real browsers or IE try to process your code.

Let’s see a few nice tips on how to improve this:

1. Don’t repeat yourself

You should use the cascade and avoid repeating code. It’s more than just using common classes, you could make good use of the heritance, for instance, so properties that can be set in the parent should be left there. Also you could use the same set of properties for multiple elements (separating multiple selectors using commas, you know).

Also, in your JS make good use of objects, functions and plugins so you don’t need to repeat code.

2. Write from right to left

Unlike us, browsers will process jQuery and CSS selectors from right to left. You may think that this won’t affect your code, but the truth is that it changes everything. A selector like this one is really, really bad:

$(“body #container div a”)

What we think we are writing is “Hey Browser, find the ‘body’ tag, and then inside of it find the #container. There you’ll find a ‘div’ and a couple of ‘a’ elements, let’s select those”. But the browser will actually read the entire page searching for ‘a’ tags, then for each tag it finds it’ll check if it has a div as parent, then check if the div has an element with the #container id, then
check if there’s a body tag beneath them.

7 CSS and JS performance tipsImage from Alex Anistratov

This is just too messy. In the JS we have some elegant solutions, like the find function so your code will actually be read as you wanted. Something like this would be good:

$(“#container”).find(“div”).find(“a”)

When you’re writing CSS you don’t have much options but leaving it as specific as possible, so try finding the closest class or ID you can find.

3. ID’s are really fast

Whenever possible use ID’s, they are faster either in CSS or JS. When using JS you have the possibility of using alternatives rather than jQuery to select tags, like document.body or even passing the entire DOM tree as an array (if you already know the exact location of the element).

4. Keep the selectors short

Keep in mind that sometimes an extra item in your selector will just mess up your code. For instance if you have a “ul li a” selector, you could simply use the “ul a” and you’ll be fine.

The best JS tip we can give you is “don’t use it”. Most times you simply don’t need it and using will cost you a lot more in performance, development time, browser compatibility and maintenance.

You can replace a lot of animations by CSS animations, and you could also use a library like yepnope or modernizr to conditionally load fallbacks for browsers that can’t keep up with your awesomeness.

6. You don’t need to declare your vars, but you should

A lot of people simply skip the var declaration step. That’s ok, but you’ll create a lot of global variables that can break other functionalities and also when the browser has to recover it, it’ll search from local to global scope.

Even if you’ll use a global scope var, you can redefine it locally so you’ll save some time. For example, instead of doing this:

var e1= document.getElementById('ID1'),
e2= document.getElementById('ID2');

Do this:

var doc= document,
e1= doc.getElementById('ID1'),
e2= doc.getElementById('ID2');

So you’ll locally store the document var

7. Do math like you do in your head

We tend to think that programming languages do some kind of black magic and give us the result of complex operations. But the truth is that every single operation has a processing cost. For example, instead of doing 2*15 it’s much easier to do 15+15.

The true tip in this case is, use the more native JS code as you can, so avoid relying on jQuery or other plugins because that will certainly take more time to load and often more code to write.

7 CSS and JS performance tipsImage from Kevin Andersson

BONUS: 8. Remove one image from your source code

The One Less JPG movement is right when they say that removing one image from your source code would save you far more bites than what you’d save by worrying about JS (and CSS). But the truth is: You should do both.

We should always do our best to improve user experience and if that means that an image will look good in the page, and the fancy JS animation has to be removed, so do it.

반응형
반응형

20 jQuery Plugins for Creative Web Typography

 

http://lava360.com/20-jquery-plugins-for-creative-web-typography/?utm_source=rss&utm_medium=rss&utm_campaign=20-jquery-plugins-for-creative-web-typography

 

jQuery has changed the world of internet and its website, now more responsive and beautiful websites are being designed by the designers using new technologies. jQuery has prominent capabilities to garnish website designs with flash like objects but with tiny code files in comparison of Flash files. On other hand typography plays very important role to distinguish a website among other websites over internet. Using different topographies for different purpose may lead to a unique and attractive web design, which is an ultimate goal of any designer’s life. One more advantage for using visually appealing typography to your web design is – it’s fruitful for webmaster analysis, everyone known textual matter is more important than of images. So without or less use of images would make your website design more SEO friendly.

To help you out, we have gathered 20 jQuery plugins to create web typography. With the help you these plugins you will be able to design attractive web typography for you web designs.

Type Butter

Type Butter

jMetronome

jMetronome

Kerning

Kerning

Airport

Airport

Baseline

Baseline

jQuery.exdent

jQuery-exdent

Arctext.js

Arctext

fontResizer

fontResizer

HatchShow

HatchShow

RV Font Size

RV Font Size

SlabText

SlabText

jQuery Text Zoom

jQuery Text Zoom

BigText

BigText

jSlabify

jSlabify

JQISOTEXT

JQISOTEXT

Textillate.js

Textillate

Textualizer

Textualizer

Responsive Measure

Responsive Measure

jQuery Text Resizer

jQuery Text Resizer

Line In Typography

Line In Typography

반응형
반응형

반디집(Bandizip)은...

멀티코어를 활용하여 '최대 6배'까지 빠른 속도로 압축이 가능한 고성능 무료 압축프로그램으로 대용량 파일 압축과 분할 압축 및 해제 기능이 뛰어나고 ALZ, EGG 파일 등 다양한 압축 포맷을 지원합니다. 가정은 물론 기업, 공공기관, 교육기관, PC방 등에서도 무료로 설치 및 사용이 가능합니다.

 

http://www.bandisoft.co.kr/bandizip/

 

반디집 스크린샷

1. 반디집 메인창

  1. 열기: 압축파일을 불러 올 때 사용하는 메뉴입니다.
  2. 풀기: 압축파일을 특정 폴더에 풀 때 사용하는 메뉴입니다.
  3. 새로 압축: 압축파일을 새로 만들 때 사용하는 메뉴입니다.
  4. 파일 추가: 압축파일에 파일이나 폴더를 추가할 때 사용하는 메뉴입니다.
  5. 파일 삭제: 압축파일에서 선택한 파일/폴더를 삭제할 때 사용하는 메뉴입니다.
  6. 테스트: 압축파일에 문제점은 없는지 파일에 대한 무결성을 체크하는 메뉴입니다.
  7. 칼럼 설정: 파일 목록창에서 보여줄 항목(압축 크기, 원본 크기, 파일 종류, 수정한 날짜)을 지정할 수 있습니다.
  8. 코드 페이지(Code Page): 외국에서 압축해서 보내준 압축파일의 파일명이 깨져 보이는 경우, 코드페이지 설정을 통해서 파일명을 올바르게 표시할 수 있습니다.
  9. : 압축파일이 있는 폴더을 엽니다.
  10. : 압축을 푼 폴더를 엽니다.


 

2. 새로 압축

  1. 추가/제거: 압축할 파일/폴더를 추가하거나 제거합니다.
  2. 파일 이름: 압축파일이 생성될 위치와 파일명을 설정합니다.
  3. 압축 형식: 압축파일의 포맷(ZIP, ZIPX, EXE, TAR, TGZ, LZH, ISO, 7Z)을 선택합니다.
  4. 분할 압축: 분할 압축이 필요한 경우 사용합니다.
  5. 압축 방법: 압축파일의 압축률을 선택합니다.
  6. 암호 설정: 압축파일에 암호를 설정합니다.
  7. 압축 후 원본파일 삭제: 압축을 완료 한 후 원본 파일을 삭제할 때 사용합니다.
  8. 각각 파일명/폴더명으로 압축하기: 여러개의 폴더를 여러개의 압축파일로 압축할 때 사용합니다.


 

3. 환경 설정

  1. 일반설정: 반디집에서 기본으로 보여줄 목록설정, 자석 기능 사용 여부 및 업데이트 설정 등을 할 수 있습니다.
  2. 파일연결: 반디집으로 연결할 파일 확장자를 설정하고, 반디집 아이콘팩 변경 및 다운로드를 변경할 수 있습니다.
  3. 탐색기 메뉴: 윈도우 탐색기에서 더블 클릭의 동작 설정, 압축 파일 선택시 보여줄 메뉴 설정 등을 할 수 있습니다.
  4. 압축풀기: 압축 해제 후 대상 폴더를 열지 여부, 압축을 해제할 경우 "빠른 드래그&드롭" 기능 사용 여부 등을 설정할 수 있습니다.
  5. 압축하기: 압축 시, 파일명을 유니코드(UTF-8)로 할지 여부, 고속 아카이빙 기능 사용여부 등을 설정할 수 있습니다.
  6. 보기/편집: 이미지 파일의 미리보기 설정, 편집기의 경로를 설정할 수 있습니다.
  7. 기타: 임시 폴더 지정, 압축 파일 삭제 시 휴지통 사용 여부 등을 설정할 수 있습니다.


 

4. 압축하기

  • 반디집으로 압축하기: 반디집으로 파일을 압축합니다.
  • "파일명.zip"으로 압축하기: "파일명.zip"파일로 압축 파일을 생성합니다.
  • "파일명.7z"으로 압축하기: "파일명.7z"파일로 압축 파일을 생성합니다.
  • "파일명.zip"으로 압축해서 이메일로 보내기: 압축 파일을 생성한 후 이메일로 보냅니다.
  • 각각의 "파일명.zip" 혹은 "폴더명.zip"으로 압축하기: 압축 파일을 개별적으로 압축합니다.
  • "파일명.zipx"로 압축하기: zipx 확장자로 압축파일을 생성합니다.
  • "파일명.tgz"로 압축하기: tgz 확장자로 압축파일을 생성합니다.
  • "파일명.tar"로 압축하기: tar 확장자로 압축파일을 생성합니다.


 

5. 압축풀기

  • 여기에 풀기: 압축 파일을 현재폴더에 풉니다.
  • 알아서 풀기: 압축파일을 알아서 풀어줍니다.
  • 폴더 선택 후 압축 풀기: 압축을 해제할 폴더를 선택 한 후, 압축 풀기를 할 수 있습니다.
  • 하위 폴더에 풀기(파일명 폴더): 압축 파일명과 동일한 폴더를 만든 후 파일을 해제합니다.
  • 반디집으로 열기: 압축 파일을 반디집으로 열 수 있습니다.
  • 압축파일 테스트: 압축 파일에 문제가 없는지 확인해 볼 수 있습니다.
  • 압축 파일 내용 미리보기: 압축 파일에 어떤 파일이 있는지 미리보기를 할 수 있습니다

 

반디집 스크린샷.htm

 

gs-bandizip.exe

 

반응형

+ Recent posts