TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Резултати

Пронајдени 11 слични објави

Пребарај: #scr

当前筛选 #scr清除筛选
Coin Sonar

@CoinSonar · Post #244254 · 18.04.2026 г., 15:38

#SCR | Volume spike (USDT PAIR) 33 times the average volume 128.36K USDT traded in 15 min └Buying vol: 83.55K USDT 🟢 Boost score: 5/10 24h Vol: 367.84K USDT (Binance) Price: 0.052 (-3.2% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243721 · 17.04.2026 г., 14:55

#SCR | Volume spike (USDT PAIR) 372 times the average volume 95.08K USDT traded in 1 min └Buying vol: 66.86K USDT 🟢 Boost score: 7/10 24h Vol: 367.84K USDT (Binance) Price: 0.049 (-3.2% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243619 · 17.04.2026 г., 11:35

#SCR | Volume spike (USDT PAIR) 84 times the average volume 108.48K USDT traded in 5 min └Buying vol: 80.84K USDT 🟢 Boost score: 7/10 24h Vol: 367.84K USDT (Binance) Price: 0.051 (-3.2% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243507 · 17.04.2026 г., 07:39

#SCR | Volume spike (USDT PAIR) 371 times the average volume 95.01K USDT traded in 1 min └Buying vol: 73.75K USDT 🟢 Boost score: 7/10 24h Vol: 367.84K USDT (Binance) Price: 0.048 (-3.2% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27526 · 06.02.2026 г., 10:16

🇺🇸#SCR/USDT has found support at the lowerborder of the descendingchannel formation on the 3D chart👀 Accumulate here🐃 American Crypto©

Hashtags

Сигналы РЦБ Крипто

@usa100cks · Post #25436 · 10.04.2026 г., 08:25

#SCR Scroll торгуется с капитализацией около $8,16 млн Scroll (SCR), первый проект, который торговался на Binance Premarket, сейчас оценивается всего примерно в $8,16 млн. За последний год токен упал примерно на 83%. Контраст особенно заметный на фоне прошлого раунда. В 2023 году Scroll привлекли $50 млн при оценке $1,8 млрд. При этом сам проект долго считался одним из самых сильных имен в Ethereum-экосистеме. Vitalik и Ethereum Foundation не раз позитивно отзывались о Scroll, а сам проект часто называли одним из ориентиров для zkEVM в Ethereum.

Hashtags

Crypto M - Crypto News

@CryptoM · Post #65345 · 13.04.2026 г., 01:44

🚀 Ethereum Layer 2 Network Scroll Faces Overcharging Issue Ethereum Layer 2 network Scroll has reportedly overcharged users by more than $50,000 in transaction fees over approximately four days. According to ChainCatcher, this occurred after the Scroll team manually increased two rate multipliers in their gas price oracle six times within six days, each time raising them by 2 to 10 times. This adjustment cumulatively increased the L1 data cost parameter to 1,280 times its original benchmark. Approximately 139,000 transactions were affected, with the total cost originally estimated at around $280, but users were charged over $50,000. The majority of these transactions were automated by bots. L2BEAT clarified that the overcharging was not due to a sequencer issue but resulted from multiplier adjustments executed through a multi-signature wallet by the team. This incident has raised questions about whether Scroll previously subsidized users with below-cost rates to maintain activity. Data from DeFiLlama indicates that Scroll's total value locked (TVL) currently stands at $24 million, a significant decline of 96% from its peak of $585 million in October 2024. As of the time of reporting, Scroll has not publicly responded to the issue. #Ethereum#Layer2#Scroll#Overcharging#GasFees#Blockchain#DeFi#TVL#CryptoNews#TransactionFees#ETH#SCR

Crypto M - Crypto News

@CryptoM · Post #65082 · 10.04.2026 г., 20:38

🚀 Scroll Users Face Excessive Transaction Fees Due to Multiplier Increases Scroll users incurred over $50,000 in additional transaction fees following six manual multiplier increases that elevated Layer 1 data charges to 1,280 times the original baseline. According to NS3.AI, L2BEAT reported that approximately 139,000 transactions were impacted over a span of roughly four days, with the baseline cost estimated at around $280. On April 9, the team reduced both multipliers by 160 times. Etherfi Cash bots contributed approximately $35,000 of the excess fees during etherfi's migration to Optimism. #Scroll#TransactionFees#MultiplierIncrease#Layer1#L2BEAT#NS3AI#Etherfi#Optimism#Crypto#Blockchain#SCR

Crypto Headlines

@market_headlines · Post #28452 · 15.04.2026 г., 21:30

#ончейн#рейтинг 📊 Santiment:ТОП-10 Layer 2 блокчейнов по активности разработчиков за последние 30 дней: 1. Starknet #STRK 2. Aztec #AZTEC 3. Arbitrum #ARB 4. Optimism #OP 5. zkSync #ZK 6. Cartesi #CTSI 7. Fuel Network #FUEL 8. SKALE #SKL 9. Immutable X #IMX 10. Scroll #SCR Ранее: прошлый топ Crypto Headlines