Giter VIP home page Giter VIP logo

pictoclone's Introduction

Pictoclone

A fully featured and faithful Pictochat clone made in Vue.js 3 and Vite.

Try the live version at https://amlib.github.io/pictoclone

Draw your messages just like you did back in 2004! Stylus not included!

Almost every aspect of the interface has been reproduced. From the sound the pencil makes when striking the canvas to the qwerty+ keyboard with it's unique symbol dragging ability, this has it all. The settings screen were heavily inspired by the one included in the Nintendo DS system ROM (technically not part of Pictochat, but you still needed it to fiddle with pictochat's settings). Some extra features were added like the interactive flood fill and an extra brush size (wow!), all backed by a fully modern and responsive web app! Try it in landscape mode. Also, the rainbow pen makes a comeback, but this time you have to guess the secret word...

This project so far has been tested on Firefox, Chrome, Epiphany (Webkit), Mobile Firefox and Mobile Chrome. Works well across all of then, with epiphany being the buggiest (audio won't play properly, scrolling issues) and somewhat laggy. I have no idea how this runs on Safari.

Chatting is implemented by a very simple websocket client/server protocol. There is no p2p support. All messages in the protocol are exchanged in binary and defined in the specs.js file, shared across both projects (pictoclone and pictoclone-server).

There are also two companion repositories:

Both needed to get all the assets and the chat server working The assets used may contain copyrighted material (Nintendo and the NDS12 font by Caveras) which are being used on a non-commercial basis.

This project also aims to keep dev dependencies and runtime footprint low. So, if you want to try it for yourself, it only pulls about 53 node packages (as of now) rather than the thousands it did initially when it depended on webpack.

As a side-effect of migrating from the fully featured webpack provided by vue cli to vite, the linter got removed. Re-installing it would result in hundreds of packages being added, so I decided against it. But hey, my IDE is running faster now!

pictoclone

Project setup

First fetch the submodule where all the assets have been stashed

git fetch

Then install all packages

yarn

Compiles and hot-reloads for development

yarn dev

add --host if you want to access it on your local network

Compiles and minifies for production

yarn build

Warning: you may need to remove dist/.git directory before building

Serves production build

yarn serve

add --host if you want to access it on your local network

pictoclone's People

Contributors

amlib avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

rdplover25

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.