Giter Club home page Giter Club logo

rustdavinci's Introduction

discord reddit donate on ko-fi

RustDaVinci - An automatic sign painter for Rust Facepunch

WARNING!

This application have not yet been approved by Facepunch nor EAC. According to Facepunch, the only way for the application to get white-listed with EAC is to publish it on steam. Publishing it on steam comes with a fee of 100$ which I'm not prepared to pay. With this said, I leave the application/ code free and open-source for anyone that is interested to see how I did or potentially contribute.

Video demonstration

Features

NOTE: Only tested on Windows 10

  • Support for image formats .png, .jpg, .jpeg, .gif
  • Import local image or provide URL to image on the internet
  • Set pixel perfect location of the paint controls area
  • Choose which colors to skip in the painting process
  • Setting for utilizing the "hidden colors" which in total paints using 256 possible colors
  • Wide variety of settings to allow modification of quality, painting algorithm and used colors
  • Setting for drawing lines if calculated to be faster
  • Automatically update the canvas whilst painting
  • Unlimited painting time
  • Automatically paint the background with the background color defined in settings
  • Play around with settings such as mouse-click delay, line-draw delay, color changing delay and minimum line width to optimize the speed and accuracy of the painting process.

How it works

  1. Click the "Load Image..." button and select an image from disk or URL
  2. Click the "Show Image >>" button to get a preview of how the canvas will look when the painting process is done. There are three buttons when the preview is shown, "Original" which shows the original image, "Normal" that shows the normal quality outcome and "High" which shows the outcome of the high quality dithering algorithm.
  3. You can also open settings while the preview is shown to modify things such as "Use the hidden colors palette" and "Improve paintings by utilizing different brush opacities" and immediately see the impact on the preview.
  4. When you are satisfied with the settings you can go ahead and click the button "Capture Control Area". This will give you two alternatives, either capture it manually (shown in the gifs below), or capture it automatically using openCV.
  5. When the paint control area is captured you can go ahead and click the "Paint Image". This will prompt you to capture the area in which the canvas is located. It's the same procedure as with manually capturing the paint controls area. After that, RustDaVinci will calculate things such as estimated time, amount of pixels to paint, lines to paint, dimensions of the canvas and finaly give you the option to start painting.
  6. While RustDaVinci is painting it is recommended to not move the mouse nor keyboard. You can follow the progress both from the progressbar and also the output window which shows what colors it's on. During the painting process, it is possible to cancel the painting process (default ESC), pause the painting process (default F10) or skip the current color (default F11).

Capture Canvas

Capture Paint Control Area

Setting up for contribution

Make sure you read the CONTRIBUTING.md file to setup a dedicated rust server.

Clone the repository with the following command:

git clone https://github.com/alexemanuelol/RustDaVinci.git

Enter the repository and run the following command to install python modules

pip3 install -r requirements.txt

Screenshots

RustDaVinci Preview Image 1

RustDaVinci Preview Image 2

darth vader

Kirito

Mr Robot

Rust Reference

Rust The Shining

RustVikings

Stormtrooper

Troll

rustdavinci's People

Contributors

alexemanuelol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rustdavinci's Issues

i get errors

Screenshot (70)
Screenshot (71)

it worked for a while but then it just stoped working im pretty sure i did some thing i then delete all the files of rust davinci and download it again but i still get the same error

Updating colour palette!

Hey I'm working on updating the colour palette, I've got the new palette in and working mostly (see here ). I'm just wondering how you determined the transparencies. I've still got some bug fixing and cleanup to do. I sent you a friend request on Discord @alexemanuelol

ERROR

Traceback (most recent call last):
File "rustdavinci\app.py", line 9, in
File "C:\Users\Jorik_Smith\Desktop\RustDaVinci- buld\rustdavinci\executable\RustDaVinci\ui\views\main.py", line 8, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'

HELP!!!!!!!!!!!!!!!!!!!

Question

Would it be possible to add compatibility with ms paint or any other programs? If you would be willing to make or add that I'd be fine to pay for it as well.

amazing tool, pls update

i just used this, brings so much fun to rust since you can customise your base etc with ur own logo, please update if possible on your spare time, the pallete has updated ever since this was maintained and therefore now chooses completely different colours when creating a painting. would be amazing to see this updated please

Question

Would you Release the Program on Steam if I would Donate you the 100 Dollars?

[Offer] Publish on Steam

Hi,

I know you haven't been actively working on this much, but I'd be happy to front you the $100 to publish it on Steam so it becomes EAC Friendly/Compatible with Rust.

I'd leave the project in your hands entirely and I wouldn't have any stipulations or requirements from you. Basically, as long as you keep it working with Rust.

Also, any future profits that you might make on it would be entirely your own (if you decide to add a "Pro" version or even just a $5 "supporter" version just for donations).

Essentially, I'd just give you $100 (via PayPal or whatever you prefer), you make sure it's working with the current version of Rust/EAC and publish it on Steam, and I'm okay with anything you do in the future.

Let me know your thoughts and if you'd like to get in touch.

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.