@tokenpocket_channel · Post #1684 · 25.09.2025 г., 15:37
Plasma is here. $XPL Easily create & import your #Plasma Wallet on TokenPocket, touching the new area of the global financial system. → https://tp.xyz
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #164 · 14 окт.
🙄Разминка для ума! Треугольник Серпинского, интересная фигура которую построить достаточно просто. Алгоритм такой: 1. создаём любые 3 точки на плоскости 2. из этих точек случайно выбираем любую, как начальную 3. случайно выбираем любую точку из этих же трёх точек как цель 4. перемещаемся в сторону цели на половину расстояния 5. повторяем бесконечно с пункта 3 Если сделать достаточно много итераций то вырисовывается интересная фигура. Треугольник, в который вписаны более мелкие треугольники. Это самый настоящий фрактал! Я собрал пример построения такой фигуры на базе Qt. 🌎 Код можно посмотреть здесь. С помощью paintEvent я рисую точки по озвученному алгоритму. Каждые 10 секунд либо по клику на виджете строится следующий треугольник. Особенности примера: 🔸 Атрибут Qt.WA_OpaquePaintEvent позволяет сохранить то, что было нарисовано в прошлой итерации. Таким образом мы видим постепенное наполнение точек а не мелькающую одну точку. 🔸QTimer позволяет создавать отложенные вызовы один раз или с повторением через интервал. 🔸QColor.fromHsv() позволяет создать рандомный но предсказуемый цвет с помощью HSV схемы. Не слишком светлый и не слишком тёмный но всегда с разный. Рандомизации подвергается только смещение по цветовому кругу (Hue), яркость (Value) и насыщенность (Saturation) можно контролировать отдельно в своих пределах или оставить статичными. Обычный рандом цвета по RGB не даёт такой предсказуемый результат. 🔸 Каждый новый цикл с новым треугольником предварительно затемняет предыдущие через этот вызов painter.fillRect(rec, QColor(0, 0, 0, 100)) То есть полупрозрачный цвет. Таким образом, чем старше треугольник, тем он темней. Если сделать виджет фулскрин, то у нас получится некий ScreenSaver))) 🔸 Да, я знаю, что рисование в Qt не самый лучший способ сделать этот пример) Скорее всего самый НЕподходящий. Попробуйте сделать тоже самое но другими средствами. #qt#source#tricks
Пребарај: #plasma
@tokenpocket_channel · Post #1684 · 25.09.2025 г., 15:37
Plasma is here. $XPL Easily create & import your #Plasma Wallet on TokenPocket, touching the new area of the global financial system. → https://tp.xyz
Hashtags
@elfcryptovip · Post #12007 · 25.09.2025 г., 11:37
#XPL volume gaining. Keep it on watch. 👀 #Plasma is a high-performance layer 1 blockchain purpose-built for stablecoins.
@linuxgram · Post #18760 · 12.05.2026 г., 18:57
📰 KDE Plasma 6.6.5 Is Out Now to Improve Performance for NVIDIA GPU Users KDE Plasma 6.6.5 is now available as the fifth maintenance update in the KDE Plasma 6.6 desktop environment series with various improvements and bug fixes. 🔗 Source: https://9to5linux.com/kde-plasma-6-6-5-is-out-now-to-improve-performance-for-nvidia-gpu-users #kde#plasma
@linuxgram · Post #18683 · 05.05.2026 г., 20:57
📰 KDE’s New CSS-Based Style Engine Union Is Coming to KDE Plasma 6.7 The upcoming KDE Plasma 6.7 desktop environment will finally introduce KDE's new CSS-based style engine called Union as a technical preview. 🔗 Source: https://9to5linux.com/kdes-new-css-based-style-engine-union-is-coming-to-kde-plasma-6-7 #kde#plasma
@linuxgram · Post #18442 · 15.04.2026 г., 09:54
📰 A PHP Dev Just Solved a 20+ Year-Old KDE Plasma Problem No One Else Would KWin can now show different virtual desktops on each screen independently. 🔗 Source: https://feed.itsfoss.com/link/24361/17319404/kde-plasma-per-screen-virtual-desktops #kde#plasma
@linuxgram · Post #18334 · 07.04.2026 г., 15:15
📰 KDE Plasma 6.6.4 Is Out to Reduce CPU and GPU Load for Full-Screen Windows KDE Plasma 6.6.4 is now available as the fourth maintenance update in the KDE Plasma 6.6 desktop environment series with various improvements and bug fixes. 🔗 Source: https://9to5linux.com/kde-plasma-6-6-4-is-out-to-reduce-cpu-and-gpu-load-for-full-screen-windows #kde#plasma
@linuxgram · Post #18323 · 06.04.2026 г., 14:58
📰 KDE 4’s Air Theme Making a Comeback, Oxygen Gets Major Revamp for Plasma 6.7 The Oxygen and Air themes from the KDE 4 desktop environment are making a major comeback with the upcoming KDE Plasma 6.7 release. 🔗 Source: https://9to5linux.com/kde-4s-air-theme-making-a-comeback-oxygen-gets-major-revamp-for-plasma-6-7 #kde#plasma
@linuxgram · Post #18308 · 04.04.2026 г., 11:57
📰 KDE Plasma 6.7 Desktop Environment Is Coming on June 16th, Here’s What to Expect The upcoming KDE Plasma 6.7 desktop environment is expected on June 16th, 2026, with many new features and improvements. Here’s what’s to expect. 🔗 Source: https://9to5linux.com/kde-plasma-6-7-desktop-environment-is-coming-on-june-16th-heres-what-to-expect #kde#plasma
@linuxgram · Post #18219 · 28.03.2026 г., 08:16
📰 KDE Plasma 6.7 will finally fix the most annoying part of tweaking your microphone volume As much as I hate hearing myself over a microphone, I have to admit that listening to yourself while adjusting your mic volume is vital. That way, you know you're not coming through too quietly or too loudly, and you can get a feel for the audio quality, too. Windows has had this feature for a while now, but unfortunately, KDE Plasma won't let you. 🔗 Source: https://www.xda-developers.com/kde-plasma-67-will-finally-fix-the-most-annoying-part-of-tweaking-your-microphone-volume/ #kde#plasma
@linuxgram · Post #18133 · 21.03.2026 г., 14:56
📰 Upcoming KDE Plasma 6.7 Adds Time Zone Offsets and Desktop Type-Ahead KDE Plasma 6.7 will introduce time zone offsets in the clock and a new type-ahead desktop navigation feature for faster file access. 🔗 Source: https://linuxiac.com/upcoming-kde-plasma-6-7-adds-time-zone-offsets/ #plasma#kde
@linuxgram · Post #18070 · 16.03.2026 г., 07:10
📰 AppGrid Introduces a New Grid-Based Application Launcher for KDE Plasma 6 AppGrid is a new launcher applet for KDE Plasma 6 that introduces a fullscreen grid-style application menu inspired by macOS Launchpad and COSMIC. 🔗 Source: https://linuxiac.com/appgrid-introduces-a-new-grid-based-application-launcher-for-kde-plasma-6/ #kde#plasma
@linuxgram · Post #18061 · 14.03.2026 г., 19:14
📰 KDE Plasma 6.7 Set to Bring Press-and-Hold Character Input Feature KDE developers are preparing Plasma 6.7, introducing a press-and-hold typing feature, enhanced widgets, and support for installing sound themes. 🔗 Source: https://linuxiac.com/kde-plasma-6-7-set-to-bring-press-and-hold-character-input-feature/ #plasma#kde