Python Forum
How to create shadow between two colours and control a line after we trace it?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create shadow between two colours and control a line after we trace it?
#1
Hello everyone,
For the fun of making a painting app, I try to do two things inspired by two painting app i love : Marmoset hexels 3 and procreate.
I am using currently PyQt.

In marmoset hexels, they have that really cool functionality that create automaticaly different value between two colours. Here's a gif:

Automatic shading in Marmoset Hexels 3

Anyone has an idea of how to code it? I was thinking about adding or substrating a percentage of the colour to the next one, but doesn't seems to work... Think

Second things: In procreate they recently add a function that allows you to adjust a line after we trace it. It is sort of a vector things but it is not vector but raster based and i don't know how they have implement that Think

Thanks you for reading :)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Excel Line Chart Programmatically dee 3 1,179 Dec-30-2022, 08:44 PM
Last Post: dee
  Python code to read second line from CSV files and create a master CSV file sh1704 1 2,395 Feb-13-2022, 07:13 PM
Last Post: menator01
Lightbulb trace library xxxlabradorxxx 1 1,143 Oct-01-2021, 11:30 PM
Last Post: Larz60+
  Plz trace this line by line Sure 2 1,931 Jun-12-2021, 08:29 AM
Last Post: ibreeden
  How to create new line '/n' at each delimiter in a string? MikeAW2010 3 2,818 Dec-15-2020, 05:21 PM
Last Post: snippsat
  How to create and define in one line a 2D list of class objects in Python T2ioTD 1 2,032 Aug-14-2020, 12:37 PM
Last Post: Yoriz
  Invert Pillow image colours chesschaser 5 3,752 Jul-11-2020, 02:59 PM
Last Post: chesschaser
  create an array of each line of text macieju1974 7 3,390 Jun-07-2020, 06:30 PM
Last Post: Yoriz
  Pyinstaller create this error :“File ”multiprocessing\connection.py“, line 691 Formationgrowthhacking 2 3,617 Apr-30-2020, 10:26 AM
Last Post: buran
  Tracing a multiplication table w/ Python trace() NationalRex22 0 1,749 Jun-11-2019, 03:31 AM
Last Post: NationalRex22

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020