The m5core2_eyes project displays touch-tracking eyes on the M5Stack Core 2, inspired by the nostalgic xeyes.
[日本語]
m5core2_eyesは、 M5Stack Core 2 の画面上のタッチを見つめる目を表示する、あの懐かしいxeyes風のソフトウェアです。
The M5Stack Core 2 offers a compelling combination of features: a compact, cute design, an intuitive touchscreen, and an integrated accelerometer. My motivation was to build interesting content that utilizes these unique aspects of the M5Stack. As I pondered ideas, I was reminded of xeyes—that wonderfully nostalgic program where animated eyes followed your mouse cursor. This sparked an idea: why not bring that same playful concept to the M5Stack, and even enhance it with the accelerometer? This resulted in a project where two digital eyes on its screen playfully follow your touches and even spin around when you give the M5Stack a gentle tap.
[日本語]
M5Stack Core2は、コンパクトでかわいらしいデザイン、直感的に操作できるタッチスクリーン、そして加速度センサーを内蔵しているなど、魅力的な機能が揃ったデバイスです。私は、こうしたM5Stackの特徴を活かした面白いコンテンツを作りたいと思いました。そんなときに思い出したのが「xeyes」です。マウスカーソルを追いかけるアニメーションの目が印象的な、懐かしいプログラムです。私は、この遊び心のある発想をM5Stackで再現し、さらに加速度センサーで進化させたら面白いのでは?と思いました。こうして、タッチに合わせて目が動き、軽くトンと叩くと目を回す、遊び心あふれる「デジタルの目」が誕生しました。
-
Register an M5Stack Community account if you haven't already.
-
Launch the M5Burner .
-
Click
USER CUSTOMin the lower left corner. -
Log in to the M5Stack Community.
-
Click the
Share Burnbutton. -
Enter
NOmrydGI4FXocM31in theShare Codefield. -
Click the lightning icon ⚡ .
[日本語]
-
M5Stack Community のアカウントをまだ登録していない場合は登録してください。
-
M5Burner を起動します。
-
左下隅の
USER CUSTOMをクリックします。 -
M5Stack Communityにログインします。
-
Share Burnボタンをクリックします。 -
Share CodeフィールドにNOmrydGI4FXocM31と入力します。 -
稲妻アイコン ⚡ をクリックします。
-
Clone the repository:
git clone https://github.com/cubic9com/m5core2_eyes.git cd m5core2_eyes -
Install Visual Studio Code if you haven't already.
-
Open the project using Visual Studio Code:
code . -
Install
PlatformIO IDEextension:- Go to the Extensions view (
Ctrl+Shift+X). - Search for
PlatformIO IDEand install it.
- Go to the Extensions view (
-
Open PlatformIO Home:
- In the left Activity Bar, click PlatformIO icon.
- In the left Primary Sidebar, go to
QUICK ACCESS > PIO Home > Open.
-
Open the project:
- In the right Editor Group, click
Open Projectin thePIO HOMEtab. - Select the cloned
m5core2_eyesproject folder.
- In the right Editor Group, click
-
Build and upload the project:
- In the left Primary Sidebar, go to
PROJECT TASKS > m5stack-core2 > General > Upload.
- In the left Primary Sidebar, go to
[日本語]
-
リポジトリをクローンします:
git clone https://github.com/cubic9com/m5core2_eyes.git cd m5core2_eyes -
まだインストールしていない場合は、Visual Studio Code をインストールします。
-
Visual Studio Code でプロジェクトを開きます:
code . -
PlatformIO IDE拡張機能をインストールします:- 左サイドバーの「拡張機能」ビュー (
Ctrl+Shift+X) を開きます。 PlatformIO IDEを検索してインストールします。
- 左サイドバーの「拡張機能」ビュー (
-
PlatformIO Home を開きます:
- 左のアクティビティバーで PlatformIO アイコンをクリックします。
- 左のメインサイドバーから
QUICK ACCESS > PIO Home > Openを選択します。
-
プロジェクトを開きます:
- 右のエディターグループ内の
PIO HOMEタブでOpen Projectをクリックします。 - クローンした
m5core2_eyesプロジェクトフォルダーを選択します。
- 右のエディターグループ内の
-
プロジェクトをビルド&アップロードします:
- 左のメインサイドバーから
PROJECT TASKS > m5stack-core2 > General > Uploadを選択します。
- 左のメインサイドバーから
Copyright (C) 2025, cubic9com All rights reserved.
This project is licensed under the MIT license.
See the LICENSE file for details.
