unity – Which algorithms to use for drawing procedural paint splatters?

I want to create procedural paint splatters on textures. I want somewhat similar effect like in Splatoon 2.

I think I need to modify albedo image – drawing splatters there.

Right now I came up with drawing filled circles and processing them with gaussian blur.
But it’s far away from good looking splatter.

I want color of splatter to slightly change near the corners.

Also I will need to create the same image but for normal map, but I think it will be the same just with different colors (basically “repeat code with different colors”).
I want splatter to have glossy-look like fresh paint.

Unfortunately I know almost zero useful algorithms that will help me with that.

My current level – I duckduckgoed (searched) algorithm for getting circle coordinates – here I draw those circles and then blur them out.

At first I thought it would be easy, but I stopped even at understanding how to draw a line (that’s when I discovered Bresenham’s line algorithm which helped me a lot).

I can’t read math formulas so it will be much appreciated if there are algorithms with code examples (any language).

I also use 3 engines so I can test in one of the engines my approach with algorithms and then transfer it to another. Help with algorithms in gdscript/c++/c# is welcome!

P.S. I’m not looking for a ready-to-go solution like fully fletched library for such things or asset or something. I want to understand and learn.

Thanks!

magento2.3 – How can I reduce the Largest Contentful Paint overhead of Magento 2 cookie restriction mode?

Our Google Pagespeed Insights score is suffering due to Largest Contentful Paint when using the Magento 2.3.0 default cookie restriction mode popup. With cookie restriction mode enabled the LCP is showing at over 7 seconds for mobile, the score is close to 3 seconds with cookie restriction disabled (some further minor changes will get LCP below 3s, to the ‘good’ Pagespeed level).

Can anyone suggest how I can reduce the system overhead of the default cookie popup please? For example, can it be preloaded or loaded earlier in the page? Are there any 3rd party extensions which are known to perform much better than the default cookie popup? Would a Magento version upgrade (=> 2.4) help?

Hoping for good news. Thanks…

How do I safely paint a latex-coated LARP weapon?

I’ve been making LARP weapons for 20 years so I’ve seen this a fair bit. Latex is pretty hard to damage with most paints. Anything with copper in though will cause latex to decompose, rate dependent on how much copper is present. Really solvent heavy paints might damage latex a bit but I’ve never seen it melt. The biggest problem you’ll have is getting anything colour to stick to it for any length of time.

When latex is fresh, new coats of latex stick together very well but over time it cures and the layers of latex or paint won’t stick together anymore. Spray paint might stay on for a while but typically wears off fairly quickly.

If you wanted to try though, I’d suggest washing the weapons with detergent and warm water to remove any grease or dirt. Then mix your own paint from copydex, or similar latex based glue, and acrylic paint. Build the colour up with multiple thin layers. That might work.

However I think you’d be wasting your time. If this was a weapon brought to me I’d strip the original latex off and re-latex it from virgin foam, that would be the best bet for a long-lasting recolouring job.

Stripping the latex is easier on weapons that have been used, harder on new weapons but with a sharp blade or fine-scissors you can work around it and pull the old latex off in sheets, bit like skinning something.

If you want more advice find me on twitter or my webpage:
https://twitter.com/RPG_Elements

group theory – How many ways can you paint a Decagon with q colors? Solve with Burnside’s lemma

How many ways can you paint a Decagon with q colors?
I need to solve it with Burnside’s lemma.
So far I managed to find only 2 symmetries, the identity, and this one.
I believe I miss the method, can someone solve, and try to explain how did he solve it?
enter image description here

ubuntu – ClipStudio Paint not running on kali linux?

I installed clipstudio paint on kali linux with playonlinux program. When I run clipstudiopaint it shows errror.

CLIP STUDIO PAINT did not start correctly due to a syncing problem
with another application in the CLIP STUDIO SERIES.

Unhandled exception: page fault on read access to 0x00000250 in 64-bit
code (0x000000014257af04). Register dump: rip:000000014257af04
rsp:00000000001f6950 rbp:0000000000210c30 eflags:00010206 ( R- — I

  • -P- ) rax:0000773cef113ce1 rbx:0000000010000008 rcx:0000000000000000 rdx:00000000001f6b10 rsi:0000000000000000
    rdi:0000000002eeb620 r8:0000000000210ee0 r9:0000000002eef380
    r10:0000000000000000 r11:00000000001f6ae0 r12:0000000002eef2b0
    r13:0000000000210ee0 r14:0000000000000001 r15:0000000000000000 Stack
    dump: 0x00000000001f6950: 0000000000000000 0000000070973e01
    0x00000000001f6960: 00000000032e7bd0 0000000002ef2920
    0x00000000001f6970: 0000000002ef2938 0000000002ef28c0
    0x00000000001f6980: 00000000001f69f0 00000001401629d2
    0x00000000001f6990: 00000000001f69e0 0000000000000040
    0x00000000001f69a0: 00000000032e7bdc 00000000032e7dd0
    0x00000000001f69b0: 0000000000000002 00000000029d0000
    0x00000000001f69c0: 0000000003288b50 000000007bc2c572
    0x00000000001f69d0: 00000000029d0000 0000000000000002
    0x00000000001f69e0: 00000000032c1d58 000000007bc2d4ad
    0x00000000001f69f0: 0000000002ef28c0 00000001410f8daf
    0x00000000001f6a00: 00000000100001ee 0000000000000000 Backtrace:
    =>0 0x000000014257af04 in clipstudiopaint (+0x257af04) (0x0000000000210c30) 1 0x00000001402e28a7 in clipstudiopaint
    (+0x2e28a6) (0x0000000000210c30) 2 0x00000001402d989d in
    clipstudiopaint (+0x2d989c) (0x0000000000210c30) 3
    0x000000014113451f in clipstudiopaint (+0x113451e)
    (0x0000000000210c30) 4 0x0000000141132ce4 in clipstudiopaint
    (+0x1132ce3) (0x0000000000210c30) 5 0x0000000141133b5c in
    clipstudiopaint (+0x1133b5b) (0x0000000000210c30) 6
    0x00000001412051bd in clipstudiopaint (+0x12051bc)
    (0x0000000000210ef9) 7 0x0000000141133cf6 in clipstudiopaint
    (+0x1133cf5) (0x0000000000210ef9) 8 0x000000014117c0ba in
    clipstudiopaint (+0x117c0b9) (0x0000000000210ef9) 9
    0x000000014120bf45 in clipstudiopaint (+0x120bf44)
    (0x0000000000215e90) 10 0x0000000142c86aab in clipstudiopaint
    (+0x2c86aaa) (0x0000000000215e90) 0x000000014257af04:
    cmpl $0,0×0000000000000250(%rcx) Modules: Module Address Debug
    info Name (163 modules) PE 230000- 7af000 Deferred
    qmpdkdll PE 7b0000- e93000 Deferred gdi32
    PE ea0000- 10e5000 Deferred setupapi PE
    10f0000- 1398000 Deferred comdlg32 PE 13a0000-
    154f000 Deferred winmm PE 1550000-
    1553000 Deferred api-ms-win-crt-utility-l1-1-0 PE
    1560000- 1563000 Deferred api-ms-win-crt-time-l1-1-0
    PE 1580000- 175d000 Deferred ailia PE
    1760000- 176e000 Deferred giflib PE 1770000-
    17f7000 Deferred jpeg62 PE 1800000-
    1835000 Deferred libpng16 PE 1840000-
    185a000 Deferred zlib PE 1860000-
    18cd000 Deferred tiff PE 18d0000-
    1928000 Deferred mscms PE 1930000-
    2201000 Deferred libfbxsdk PE 2210000-
    2544000 Deferred gdiplus PE 2550000-
    2561000 Deferred boost_date_time PE 2570000-
    263e000 Deferred boost_regex PE 2e70000-
    2e7e000 Deferred api-ms-win-core-string-l1-1-0 PE
    61540000- 61668000 Deferred advapi32 PE
    61740000- 619ba000 Deferred wininet PE 61d00000-
    61d04000 Deferred api-ms-win-crt-convert-l1-1-0 PE
    61d80000- 61d85000 Deferred api-ms-win-crt-math-l1-1-0
    PE 62100000- 62191000 Deferred msvcp140 PE
    62980000- 6298f000 Deferred
    api-ms-win-core-localization-l1-2-1 PE 62b40000-
    62b43000 Deferred api-ms-win-crt-environment-l1-1-0 PE
    62dc0000- 6306d000 Deferred rpcrt4 PE 63280000-
    632a0000 Deferred version PE 63540000-
    63544000 Deferred api-ms-win-crt-runtime-l1-1-0 PE
    635c0000- 63927000 Deferred urlmon PE 639c0000-
    63a11000 Deferred shcore PE 64840000-
    64991000 Deferred shlwapi PE 64bc0000-
    64bc3000 Deferred api-ms-win-crt-conio-l1-1-0 PE
    64cc0000- 651d7000 Deferred oleaut32 PE
    65b40000- 65b43000 Deferred
    api-ms-win-crt-filesystem-l1-1-0 PE 66040000-
    66093000 Deferred bcrypt PE 66400000-
    66403000 Deferred api-ms-win-crt-locale-l1-1-0 PE
    67140000- 67492000 Deferred msvcr120 PE
    67580000- 67624000 Deferred glu32 PE 68300000-
    68495000 Deferred combase PE 684c0000-
    6850d000 Deferred concrt140 PE 68500000-
    685b8000 Deferred uxtheme PE 68c00000-
    68c26000 Deferred aclui PE 69200000-
    6920c000 Deferred vcruntime140_1 PE 69e40000-
    69eb8000 Deferred msacm32 PE 6a200000-
    6a7be000 Deferred ole32 PE 6aa80000-
    6aa8e000 Deferred api-ms-win-core-fibers-l1-1-1 PE
    6b300000- 6b30e000 Deferred
    api-ms-win-core-localization-obsolete-l1-2-0 PE 6b5c0000-
    6b5c4000 Deferred api-ms-win-crt-stdio-l1-1-0 PE
    6b900000- 6b97f000 Deferred msvfw32 PE 6ba00000-
    6baca000 Deferred sechost PE 6c800000-
    6c803000 Deferred api-ms-win-crt-heap-l1-1-0 PE
    6ca40000- 6cf92000 Deferred comctl32 PE
    6db00000- 6db20000 Deferred schannel PE
    6dc80000- 6dc8f000 Deferred api-ms-win-core-synch-l1-2-0
    PE 6e6c0000- 6ea1c000 Deferred crypt32 PE
    6eb00000- 6f2c1000 Deferred user32 PE 6f880000-
    6fb3e000 Deferred dbghelp PE 6fc40000-
    6fcfc000 Deferred rsaenh PE 6fd00000-
    6fd04000 Deferred api-ms-win-crt-string-l1-1-0 PE
    6fd80000- 6fd8e000 Deferred
    api-ms-win-core-datetime-l1-1-1 PE 6fec0000-
    6fecf000 Deferred api-ms-win-core-sysinfo-l1-2-1 PE
    70040000- 70059000 Deferred vcruntime140 PE
    70740000- 707a6000 Deferred mpr PE 70940000-
    70a3c000 Deferred ucrtbase PE 71000000-
    7105c000 Deferred imm32 PE 71240000-
    71371000 Deferred avifil32 ELF 7a800000-
    7aa15000 Deferred opengl32 -PE 7a850000-
    7aa15000 opengl32 PE 7b000000-
    7b3c2000 Deferred kernelbase PE 7b600000-
    7b961000 Deferred kernel32 PE 7bc00000-
    7bf66000 Deferred ntdll ELF 7d000000-
    7d005000 Deferred PE 140000000-
    143e7f000 Export clipstudiopaint PE 180000000-
    180018000 Deferred boost_thread ELF 7f31dcf18000-
    7f31dcf53000 Deferred netapi32 -PE 7f31dcf20000-
    7f31dcf53000 netapi32 ELF 7f31dcf53000-
    7f31dcf9e000 Deferred secur32 -PE 7f31dcf60000-
    7f31dcf9e000 secur32 ELF 7f31dd16e000-
    7f31dd18b000 Deferred kerberos -PE 7f31dd170000-
    7f31dd18b000 kerberos ELF 7f31dd18b000-
    7f31dd193000 Deferred libnss_dns.so.2 ELF 7f31dd193000-
    7f31dd199000 Deferred libnss_mdns4_minimal.so.2 ELF
    7f31dd199000- 7f31dd1ad000 Deferred libnss_files.so.2 ELF
    7f31dd201000- 7f31dd227000 Deferred libgpg-error.so.0 ELF
    7f31dd227000- 7f31dd347000 Deferred libgcrypt.so.20 ELF
    7f31dd347000- 7f31dd36a000 Deferred liblz4.so.1 ELF
    7f31dd36a000- 7f31dd445000 Deferred libzstd.so.1 ELF
    7f31dd445000- 7f31dd46d000 Deferred liblzma.so.5 ELF
    7f31dd46d000- 7f31dd479000 Deferred libffi.so.7 ELF
    7f31dd479000- 7f31dd52e000 Deferred libsystemd.so.0 ELF
    7f31dd52e000- 7f31dd548000 Deferred libresolv.so.2 ELF
    7f31dd548000- 7f31dd54f000 Deferred libkeyutils.so.1 ELF
    7f31dd54f000- 7f31dd5d0000 Deferred libgmp.so.10 ELF
    7f31dd5d0000- 7f31dd619000 Deferred libhogweed.so.6 ELF
    7f31dd619000- 7f31dd659000 Deferred libnettle.so.8 ELF
    7f31dd659000- 7f31dd66f000 Deferred libtasn1.so.6 ELF
    7f31dd66f000- 7f31dd7f1000 Deferred libunistring.so.2 ELF
    7f31dd7f1000- 7f31dd812000 Deferred libidn2.so.0 ELF
    7f31dd812000- 7f31dd946000 Deferred libp11-kit.so.0 ELF
    7f31dd946000- 7f31dd999000 Deferred libdbus-1.so.3 ELF
    7f31dd999000- 7f31dd9a8000 Deferred libkrb5support.so.0 ELF
    7f31dd9a8000- 7f31dd9ae000 Deferred libcom_err.so.2 ELF
    7f31dd9ae000- 7f31dd9de000 Deferred libk5crypto.so.3 ELF
    7f31dd9de000- 7f31ddab8000 Deferred libkrb5.so.3 ELF
    7f31ddab8000- 7f31ddcbc000 Deferred libgnutls.so.30 ELF
    7f31ddcbc000- 7f31ddd0f000 Deferred libgssapi_krb5.so.2 ELF
    7f31ddd0f000- 7f31dddab000 Deferred libcups.so.2 ELF
    7f31dddac000- 7f31dddd0000 Deferred dnsapi -PE
    7f31dddb0000- 7f31dddd0000 dnsapi ELF
    7f31dddd0000- 7f31dddd8000 Deferred libxfixes.so.3 ELF
    7f31dddd8000- 7f31ddde5000 Deferred libxcursor.so.1 ELF
    7f31ddde5000- 7f31dddf7000 Deferred libxi.so.6 ELF
    7f31dddf7000- 7f31dddfc000 Deferred libxcomposite.so.1 ELF
    7f31dddfc000- 7f31de007000 Deferred libxrandr.so.2 ELF
    7f31de007000- 7f31de211000 Deferred libxrender.so.1 ELF
    7f31de211000- 7f31de417000 Deferred libxxf86vm.so.1 ELF
    7f31de417000- 7f31de41c000 Deferred libxinerama.so.1 ELF
    7f31de41c000- 7f31de436000 Deferred libbsd.so.0 ELF
    7f31de436000- 7f31de63c000 Deferred libxdmcp.so.6 ELF
    7f31de63c000- 7f31de641000 Deferred libxau.so.6 ELF
    7f31de641000- 7f31de66c000 Deferred libxcb.so.1 ELF
    7f31de66c000- 7f31de7af000 Deferred libx11.so.6 ELF
    7f31de7af000- 7f31de7c4000 Deferred libxext.so.6 ELF
    7f31de7c5000- 7f31de7d9000 Deferred libavahi-client.so.3
    ELF 7f31de7d9000- 7f31de7e7000 Deferred
    libavahi-common.so.3 ELF 7f31de7e9000- 7f31de8a9000 Deferred
    winex11 -PE 7f31de800000- 7f31de8a9000
    winex11 ELF 7f31de974000- 7f31de97d000 Deferred
    libuuid.so.1 ELF 7f31de97d000- 7f31de9ac000 Deferred
    libexpat.so.1 ELF 7f31de9ac000- 7f31de9f2000 Deferred
    libfontconfig.so.1 ELF 7f31de9f2000- 7f31dea15000 Deferred
    libbrotlicommon.so.1 ELF 7f31dea15000- 7f31dea32000 Deferred
    libz.so.1 ELF 7f31dea32000- 7f31dea6c000 Deferred
    libpng16.so.16 ELF 7f31dea6c000- 7f31deb2f000 Deferred
    libfreetype.so.6 ELF 7f31deb2f000- 7f31deb92000 Deferred
    liblcms2.so.2 ELF 7f31debb7000- 7f31debce000 Deferred
    mscms.so ELF 7f31debce000- 7f31debeb000 Deferred
    msvcr120.so ELF 7f31debeb000- 7f31dec0b000 Deferred
    bcrypt.so ELF 7f31dec0b000- 7f31dec23000 Deferred
    crypt32.so ELF 7f31dec23000- 7f31dec58000 Deferred
    iphlpapi -PE 7f31dec30000- 7f31dec58000
    iphlpapi ELF 7f31dec58000- 7f31decab000 Deferred
    winspool -PE 7f31dec60000- 7f31decab000
    winspool ELF 7f31decab000- 7f31df71e000 Deferred
    shell32 -PE 7f31decd0000- 7f31df71e000
    shell32 ELF 7f31df71e000- 7f31df74e000 Deferred gdi32.so
    ELF 7f31df74e000- 7f31df765000 Deferred user32.so ELF
    7f31df765000- 7f31df7a9000 Deferred ws2_32 -PE
    7f31df770000- 7f31df7a9000 ws2_32 ELF
    7f31df7a9000- 7f31df7c6000 Deferred ucrtbase.so ELF
    7f31df8c6000- 7f31dfa3d000 Dwarf libwine.so.1 ELF
    7f31dff24000- 7f31dff3e000 Deferred libgcc_s.so.1 ELF
    7f31dff3e000- 7f31e0082000 Deferred libm.so.6 ELF
    7f31e0082000- 7f31e008d000 Deferred librt.so.1 ELF
    7f31e008d000- 7f31e0148000 Deferred ntdll.so ELF
    7f31e014b000- 7f31e0310000 Deferred libc.so.6 ELF
    7f31e0310000- 7f31e0316000 Deferred libdl.so.2 ELF
    7f31e0316000- 7f31e0338000 Deferred libpthread.so.0 ELF
    7f31e033b000- 7f31e0349000 Deferred libbrotlidec.so.1 ELF
    7f31e0349000- 7f31e035f000 Deferred wow64cpu -PE
    7f31e0350000- 7f31e035f000 wow64cpu ELF
    7f31e035f000- 7f31e038c000 Deferred ld-linux-x86-64.so.2
    Threads: process tid prio (all id:s are in hex) 00000038
    services.exe (“C:windowssystem32services.exe”) 0000003c 0
    00000040 0 0000004c 0 00000068 0 00000080 0 0000008c
    0 000000ac 0 000000d4 0 00000044 winedevice.exe
    (C:windowssystem32winedevice.exe) 00000048 0 00000054 0
    00000058 0 0000005c 0 00000060 plugplay.exe
    (C:windowssystem32plugplay.exe) 00000064 0 0000006c 0
    00000070 0 00000074 0 00000094 0 00000078 winedevice.exe
    (C:windowssystem32winedevice.exe) 0000007c 0 00000084 0
    00000088 0 00000090 0 0000009c 0 000000a0 0 000000a4
    svchost.exe (C:windowssystem32svchost.exe -k
    LocalServiceNetworkRestricted) 000000a8 0 000000b0 0 000000b4
    0 000000b8 explorer.exe (C:windowssystem32explorer.exe /desktop)
    000000bc 0 000000c0 0 000000c4 0 000000cc rpcss.exe
    (C:windowssystem32rpcss.exe) 000000d0 0 000000dc 0
    000000e0 0 000000e4 0 000000e8 0 000000ec 0 00000154
    0 00000140 explorer.exe (C:windowssystem32explorer.exe /desktop)
    00000144 0 00000148 0 0000014c 0 00000168 (D) C:Program
    FilesCLIP STUDIO 1.5CLIP STUDIO PAINTCLIPStudioPaint.exe
    (“C:Program FilesCLIP STUDIO 1.5CLIP STUDIO
    PAINTCLIPStudioPaint.exe” ) 0000016c 0 <== 00000174 0
    000001a0 0 000001ac 0 System information:
    Wine build: wine-6.3 (Staging)
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 5.10.0-kali2-amd64

editing – How to save a photo without transparency turning white MS paint

while editing a photo, I tried to make a transparent window which my computer detects, making a real transparent window. however, I made it and transferred it to the printer and I appeared white, [I use a printer i built myself that prints then cuts holes to put a window in it if detects transparency.] how do i have the photo in .jpeg, .png, or .BMP [bitmap]

seo – Why the LCP (largest contentful paint) value would get worse over time without changes in the site?

I’m not using wordpress, but a LAMP website of my own creation.

For some reason, and without me doing anything on the website, the Largest Contentful Paint values have gotten worse and worse every month from the past year.

I’ve noticed that the website received more and more visitors as well, could that be related? How? Why?enter image description here

Help to computerize a retail paint store


  1. Karthik Singh



    Joined:
    Today
    Messages:
    1
    Likes Received:
    0

    Hello ppl.. I am new to this forum and to business. It might be a novice question to be coming up with. But I hope I get some directions here.
    We have an existing retail hardware and paints store with an approx inventory of 3000 items and around 200 customers. Currently, the pricing, billing and inventory is done manually on written books.
    I would like to explore softwares that can add the inventory, pricing, customers (with customized discounts) into it. Then enable billing through it and also help with reports of top inventory, top sales, etc.
    Please suggest on how to proceed with achieving this!

    Thanks in advance

     



  2. fisicx


    fisicx




    uix_expand



    uix_collapse

    Active Member

    Community Liaison 1.0


    Joined:
    Mar 3, 2016
    Messages:
    2,745
    Likes Received:
    231

repair – Is there a viable way to touch up the paint on an old camera body?

I have restored 2 Nikon F5 film and 1 Nikon D3 digital cameras using the following materials:

I discovered this method while restoring a second hand Nikon D3 camera and have since mastered the technique while restoring 2 of my 3 Nikon F5 film cameras. I am currently restoring my third Nikon F5 camera.

I have to apply Cerakote Gun Black ceramic paint into the scratched part of the camera using small cotton tips, let it dry until I see that the newly applied paint when dried is of the same height as the original camera paint, meaning the applied paint is not noticeable and does not look like a blob of paint covering the scratched part. I used cotton Q tips to apply the Cerakote Gun Black paint in small quantities until the applied paint entirely cover the scratched part without looking like a blob. I have to re-apply Cerakote paint using Q Tips in several repeated applications until the applied paint is not noticeable.

On close inspection, one can still notice the applied paint. By some luck, I decided to use the white nylon wiping cloth from Dr. Color Chips Car Body repair kit by swiping it with black Cerakote paint and applied/swiped it to the Nikon D3 that I want to hide the paint job that I performed on the scratched surface. I was surprised at the result on my Nikon D3 when I swiped the white nylon wiping cloth with black Cerakote paint to the Nikon D3 part which I just made the repair. The repair is no longer noticeable after the Cerakote gun paint has dried. Even when still not dried, I can already see that the wet paint is now consistent in finish, meaning the repaired paint can no longer be detected as the wiped paint blended the old body paint and the new paint repair.

The fully cured Cerakote black ceramic paint does not fade in time, it totally replaces the scratched part of the camera and cannot be detected. One needs to be very patient to successfully repair/restore a film camera to look as if it came out of the factory.

How to paint in Substance Painter (I have a live link with Blender)?

I can’t draw in Substance painter. I have a live link with Blender, although even when I try to import .fbx to Substance Painter no material is showing up on the mesh (I mean, when I try to paint, nothing happens). Mesh was primarily imported from World Creator to Blender as .obj and is shown on the picture below. I’ve tried to send geometry from Blender to Substance Painter, but still nothing happens.enter image description here

enter image description here