반응형

뇌는 리얼(real)한 상상과 현실을 구분하지 못한다.
생생하게 상상하면 뇌는 그것을 사실로 받아들이고,
오랫동안 리얼하게 상상하면 어느 새 현실이 된다.
인간만이 가진, ‘눈에 보이지 않는 목표를 설정할 수 있는 능력’을
최대한 활용하면서 살아가자.
- 임해성 (글로벌 비즈니스 컨설팅 대표)             

 

 

뇌는 생각보다 많은 오류를 일으킵니다.
과거 기억을 바꿔 사실이 아닌 것을 사실로 믿게도 하고,
같은 말을 반복해서 하면 없는 것도 사실로 받아들이기도 합니다.
되고 싶은 모습을 리얼하게 상상하고, 그 모습을 흉내 내고,
지속적으로 말하면 상상은 어느 새 현실이 되곤 합니다.

반응형
반응형

jQuery UI Touch Punch

Touch Event Support for jQuery UI

 

Tested on iPad, iPhone, Android and other touch-enabled mobile devices.

 

 

http://touchpunch.furf.com/

 

https://github.com/furf/jquery-ui-touch-punch

jQuery UI Touch Punch is a small hack that enables the use of touch events on sites using the jQuery UI user interface library.

Currently, jQuery UI user interface library does not support the use of touch events in their widgets and interactions. This means that the slick UI you designed and tested in your desktop browser will fail on most, if not all, touch-enabled mobile devices, becuase jQuery UI listens to mouse events—mouseover, mousemove and mouseout—not touch events—touchstart, touchmove and touchend.

That's where jQuery UI Touch Punch comes in. Touch Punch works by using simulated events to map touch events to their mouse event analogs. Simply include the script on your page and your touch events will be turned into their corresponding mouse events to which jQuery UI will respond as expected.

As I said, Touch Punch is a hack. It duck punches some of jQuery UI's core functionality to handle the mapping of touch events. Touch Punch works with all basic implementations of jQuery UI's interactions and widgets. However, you may find more complex cases where Touch Punch fails. If so, scroll down to learn how you can file and/or fix issues.

This code is dual licensed under the MIT or GPL Version 2 licenses and is therefore free to use, modify and/or distribute, but if you include Touch Punch in other software packages or plugins, please include an attribution to the original software and a link to this Touch Punch website.

Download the Code

The jQuery UI Touch Punch plugin is available in two versions:

* minified & gzip'd

 

 

Using Touch Punch is as easy as 1, 2…

Just follow these simple steps to enable touch events in your jQuery UI app:

  1. Include jQuery and jQuery UI on your page.

    <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
    <script src="http://code.jquery.com/ui/1.8.21/jquery-ui.min.js"></script>
    
  2. Include Touch Punch after jQuery UI and before its first use.

    Please note that if you are using jQuery UI's components, Touch Punch must be included after jquery.ui.mouse.js, as Touch Punch modifies its behavior.

    <script src="jquery.ui.touch-punch.min.js"></script>
    
  3. There is no 3. Just use jQuery UI as expected and watch it work at the touch of a finger.

    <script>$('#widget').draggable();</script>
    
 

반응형
반응형

Trianglify: Generate colorful triangle meshes

Trianglify is a JavaScript library that lets you create colorful triangle meshes automatically, which you can then use as CSS backgrounds, or SVG images. There are controls for noise, cell size, and cell padding, and of course the whole thing is open source.

trianglify

Trianglify

Trianglify is a library that I wrote to generate nice SVG background images like this one:

example

It was inspired by btmills/geopattern, and uses d3.js to build the polygons and SVG and SVG filters for rendering. It also includes the colorbrewer color palette library to get you up and running quickly. It was written in a single day because I got fed up with Adobe Illustrator.

Demo:

Official: http://qrohlf.com/trianglify

nixterrimus also made a nice demo app: link (source)

반응형
반응형

돌다리든 나무다리든 뭐든지 건너라.
그래서 실패하면 상을 줘라. 실패는 많이 할수록 좋다.
아무 일도 하지 않는 사람 보다
무언가 해보려다 실패한 사람이 훨씬 유능하다.
나는 평소 임직원들에게 실패를 두려워하지 말고
일을 저질러보라고 적극 권장하고 있다.
기업경영에서 실패 경험만큼 귀중한 자산이 없다고
생각하기 때문이다.
실패는 우리에게 주어진 특권이다.
- 이건희 삼성 회장

 

 

실패를 훈장으로 생각하는 문화와
실패를 감추어야 할 부끄러움으로 생각하는 문화의 차이가
창조성과 성과의 차이를 만듭니다.
창조성은 그냥 만들어지지 않습니다.
‘실리콘 밸리는 실패의 무덤이 쌓여 만들어진 곳’이라는
교훈을 깊이 새겨볼 필요가 있습니다.

 

반응형
반응형

그들은 사라지지 않아요

우리는
사랑하는 사람들을 절대로 잃지 않아요.
그들은 우리와 함께 합니다. 그들은
우리 생에서 사라지지 않아요.
다만 우리는 다른 방에
머물고 있을 뿐이죠.


- 파울로 코엘료의《알레프》중에서 -


* 사람이 어찌 할 수 없는
황망한 일을 당할 때가 있습니다.
하늘을 원망해도 소용없고, 땅을 치며
통곡해도 모자랍니다. 오로지 "힘을 내요"
위로하며, 온 마음을 모아 기도하고
기적을 바랄 뿐입니다.
반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

가장 중요한 것을 빠뜨렸다  (0) 2014.04.21
기적을 믿으며...  (0) 2014.04.18
언제까지 예쁠 수 있을까?  (0) 2014.04.16
'친구야, 너도 많이 힘들구나'  (0) 2014.04.15
내가 나를 사랑하기  (0) 2014.04.14
반응형

나는 인생의 갈림길에서 늘 60% 가능성이 있으면
모든 것을 던지고 과감히 기회를 잡았다.
40%의 불확실한 위험이 보여도
‘일단, 가보자!’고 마음먹었다.
100% 가능성까지 다 두들겨 보고 안전한 길만 택했다면
여기까지 오지 못했을 것이다.
- 최수향 유네스코 국장

 

 

영원히 안정적인 자리는 없습니다.
오히려 오랫동안 안정적인 위치에 있다
불가피하게 불확실한 자리에 처하게 될 경우
끝없는 나락으로 떨어질 위험이 있습니다.
안정보다는 불확실성에 더 많은 기회가 있습니다.
눈앞의 안정을 흔쾌히 포기하고
불확실성을 향해 과감하게 뛰어드는 것이
보다 현명한 처사 일 수 있습니다.

 

50:50 이 아니라면 도전해볼만한 충분한 가치가 있다.

반응형
반응형

언제까지 예쁠 수 있을까?

전 아직 젊습니다.
하지만 늙는다는 것이 너무나,
정말 너무나 무섭습니다. 두렵습니다.
전 셀카 찍는 것을 좋아합니다. 하지만
요즘 자꾸 셀카를 찍는 것이 두렵습니다.
사진이 조금만 피곤해 보이거나 나이 들어
보이게 나오면 초조하고 불안합니다.
언제까지 예쁠 수 있을까?
부끄러운 고백이지만,
저는 이 생각에서 자유롭지 못합니다.


- 성수선의《혼자인 내가 혼자인 너에게》 중에서 -


* 왜 초조해 하고
왜 불안해 하십니까?
초조해 하고 불안해 하면 더 예뻐집니까?
정녕 초조해 마세요. 불안에 떨지 마십시오.
그 초조와 불안에서 벗어나 자유로워질 때
비로소 더욱 예뻐지기 시작합니다.
반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

기적을 믿으며...  (0) 2014.04.18
그들은 사라지지 않아요  (0) 2014.04.17
'친구야, 너도 많이 힘들구나'  (0) 2014.04.15
내가 나를 사랑하기  (0) 2014.04.14
내려갈 때 보았네  (0) 2014.04.12
반응형

Quintus: An HTML5 game engine

Framework - HTML5 - Javascript

Quintus is a simple and easy-to-learn JavaScript HTML5 game engine for mobile and desktop games. It’s thoroughly documented, and there are plenty of demos and examples to check out.

quintus

반응형

+ Recent posts