Skip to content

minagawah/minagawah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 

Repository files navigation

Hi there πŸ‘‹

Hi, this is Mina. I live in Japan πŸ—Ύ ⛩️ 🍣 and I practice martial arts :octocat:. I love JS ⚑ and Rust! πŸ¦€
I usually create repos for my own benefit πŸ₯‘, but I hope you will find them helpful to you as well! 🌱 🦩
I am currently looking for a job opening starting mid-February 2025 in HCMC, Vietnam!

sowngwala-js (2024)
JS library for calculating sun and moon's position ported from sowngwala written in Rust.
πŸ“Œ Sun's Position Β· Astrology Β· Astronomy Β· JS
πŸ‘€ View Demo

sowngwala (2021)
A library for calculating sun's position.
"sowng" stands for "sun" in Belter language (from sci-fi movie "The Expanse").
"wala" for "one who is professional at".
πŸ“Œ Rust

mikaboshi (2021)
A Rust library for ι’¨ζ°΄ (风水) (Feng-Shui) providing basic Chinese astrological concepts such as 八卦 (Ba-Gua), εΉ²ζ”― (Gan-Zhi), 九星 (Jiu-Xing), δΊŒεε››θŠ‚ζ°” (Er-Shi-Si Jie-Qi), δΊŒεε››ε±±ε‘ (Er-Shi-Si Shan-Xiang), η”Ÿζ­»θ‘°ζ—Ί (Sheng-Si Shuai-Wang), etc. When bundled into a WASM (WebAssembly) app, you could associate the library with your Javascript apps as well.
πŸ“Œ Rust

perlin-experiment-2 (2023)
Another attempt in using Perlin noise. Last time, only the noise calculation was done in WASM, and a canvas animation was done in JS. This time, everything is done in WASM. To better serve as an introductory WASM sample app, I made the codes as simple as possible.
Highlights: (1) Spawns a child process for animation, (2) Event listener for browser resize event, and (2) debounce to limit executions when resize happens.
πŸ“Œ Rust Β· wasm-pack Β· wasm-bindgen Β· js-sys Β· web-sys Β· wasm-pack-plugin
πŸ‘€ View Demo

perlin-experiment (2021)
This WASM app creates canvas elements for 2 divs, and runs animations. The WASM app is one, but handles 2 canvas elements. You may pass configs at initial startup. Clicking the upper canvas, you may toggle among 3 visualization modes. If you are only interested in Perlin Noise, see my JS project perlin-noise-world-map (which is quite old) which auto-generates geographic landscapes (source or demo). Or, see rust-perlin-wasm-test-2 (which is even much older) for particles moving in organic manner (source or demo).
πŸ“Œ Rust Β· wasm-pack Β· wasm-bindgen Β· js-sys Β· web-sys Β· Perlin Noise
πŸ‘€ View Demo

rust-wasm-canvas-example (2024)
The latest attempt for WASM app with Canvas API. The structure is much simpler than perlin-experiment or perlin-experiment-2.
Using wasm-pack-plugin. A good starter for using WASM for canvas animations.
πŸ“Œ Rust Β· wasm-pack Β· wasm-bindgen Β· js-sys Β· web-sys Β· wasm-pack-plugin

very-simple-wasm-2023
Probably, the simplest example to get started with WASM apps.
Other WASM samples contain canvas animation examples, but this one only tell you how to wire your JS app with WASM.
πŸ“Œ Rust Β· wasm-pack Β· wasm-bindgen Β· js-sys Β· web-sys Β· wasm-pack-plugin

solid-principles-crockford (2024)
Samples to demonstrate applying SOLID principles to FP codes.
πŸ“Œ SOLID principles Β· FP Β· Crockford

rawjs-generate (2024)
While this piece demonstrates the use of RawJS (framework newly came out) with pub/sub messaging,
it is also the best showcase of using JSDoc as an alternative to TypeScript (for type checking).
πŸ“Œ RawJS Β· JSDoc Β· Type Check
πŸ‘€ View Demo

SVG Animations using SMIL (2024)
A blog post.
πŸ“Œ SVG Β· SMIL Β· animation

Monads - In A World of Multipolarism (2024)
A blog post.
πŸ“Œ Monad Β· Multipolarism

cloudflare-workers-d1-rust-example (2023)
A sample code for Cloudflare Worker written in Rust using D1.
πŸ“Œ Cloudflare Worker Β· D1 Β· Rust

simple-i18n-solution (2023)
A simplified version of what I have for my website for i18n localization.
πŸ“Œ i18n Β· NodeJS Β· Javascript

react-widget-airport (2020)
Bundling a React app into UMD library, embedded into another app. You can pass arguments at initial startup, or you can dynamically send/receive messages using SharedWorker.
πŸ“Œ React Β· UMD library Β· SharedWorker
πŸ‘€ View Demo

service-worker-experiment (2021)
Worker is a powerful tool, but when implementing the related Web APIs, it can easily drive you into a rabbit hole.
With this sample app, I am attempting to demonstrate how you can implement related APIs.
πŸ“Œ Serrvice Worker Β· Client API Β· Cache API Β· Vue 2
πŸ‘€ View Demo

mapbox-gl-js-v2-experiment (2020)
Mapbox GL JS v2 experiment. Using no React.
πŸ“Œ Mapbox GL JS v2 Β· Tailwind CSS Β· ramda
πŸ‘€ View Demo

webpack-webcomponent-example (2019)
While this is old, it presents 3 basic examples of how you can implement web components.
πŸ“Œ Web Components
πŸ‘€ View Demo

csp-nonce-for-emotion.md
Tricks to insert "nonce" for style tags in your HTML when using csp-html-webpack-plugin and emotion.
πŸ“Œ csp-html-webpack-plugin Β· emotion

About

My personal profile repo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published