Giter Site home page Giter Site logo

inyew's Introduction

gh-pages-publish dependency status

Study Yew/Rust for Frontend GUI

这个 Rust 学习项目 中分别用 RustC++ 实现了一系列泛化和通用 '24' 点计算问题的简洁算法,还做了一个基于命令行的简单交互程序;

screen inrust

为了能让一个小学三四、八九岁年级的小朋友 (我可爱的小儿子) 更有兴趣、更简单地玩, 最好能为基于扑克牌数的 24 点计算实现一套足够简洁的只用鼠标点击就能完的图形用户界面; 另外,最后还要能支持自己输入任意有理数和目标数、更改数字个数等等; 而公开领域能找到的一些 24 点游戏网页/App 在功能和体验上都不太满足我的设想,关键是还没法跑我骄傲的算法实现;

简单研究了 Slintegui 之后发现, Rust 世界并没有一个足够好用能够实现我希望的简洁交互的 GUI 框架,好在 Rust 在 Wasm 世界足够灵活和优秀 (Rust 本来就是从 Mozilla 开始的),而 Html5 + CSS3 有足够强大的表现能力,应该足以描述任何 GUI 交互形式,于是决定尝试 Rust + Wasm + Yew

所以有了本项目利用 GitHub Pages 技术部署在 Github.io 上, 并且集成了 Tauri 可以编译成本地跨端应用程序; 这套技术足以满足各种快速原型的开发需求。

24 puzzle 24 puzzle by Tauri

Based on Yew Template for Github.io, with tailwind.css and trunk for build.

TODO

  • 增加一些 CSS 动效;
  • 用 SVG 矢量资源模拟扑克牌发牌;
  • 用 Tauri 打包桌面应用和移动应用;
  • implement a backend/server with Rust;

inyew's People

Contributors

ja-sonyun avatar mhfan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.