日本語

​​React​Canvas API,Playwright,TypeScript

Thumbnail of post image 041

I built a React component that rotates a selected image in 90° steps, flips it horizontally or vertically, and saves ...

​​React​Canvas API,Playwright,TypeScript

Thumbnail of post image 111

How to create a JPEG thumbnail in the browser from a video file the user selects. Seek a hidden video element, draw i ...

​​React​Canvas API,custom hook,Playwright,TypeScript,useEffect

Thumbnail of post image 132

“When there are 3 unread items, the tab shows `(3) 猫のメモ` and the count is drawn on the favicon. I built this wi ...

​​React​Canvas API,PDF.js,Playwright,TypeScript,Vite

Thumbnail of post image 093

Draw a PDF loaded with PDF.js onto a canvas one page at a time in React, with previous and next buttons. When paging ...

​​React​Canvas API,Playwright,TypeScript,Web Audio API

Thumbnail of post image 098

How to draw the waveform of an audio file the user selects onto a canvas without a library. Decode the file into a se ...

​​React​Canvas API,File API,Playwright,TypeScript

Thumbnail of post image 094

I tested how to resize a selected image in the browser and preview it before sending, using React and TypeScript. Thi ...