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

Резултати

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

Пребарај: #fear

当前筛选 #fear清除筛选
✨Ocean of Knowledge ✨

@ook_eg · Post #2481 · 28.01.2025 г., 01:59

Overcoming The Fear Of Public Speaking Many of us feel nervous, shy, break into sweat or fear the thought of public speaking. Did you know that public speaking is among the most feared activities in the world? Some of us feel it is not our strength and fear being judged. Public speaking is an essential skill to effectively convey what we want to. 1. Your thoughts, feelings, personality, values – they are all a packet of your energy called vibrations. These vibrations reach people before your words. They are the first level of your communication with others. So keep them pure. 2. Meditation and daily study of spiritual wisdom every morning keeps your thoughts clean and less. When you start thinking right and positive, you will no longer need to be careful with your words. You will speak what you think, believe and live by. 3. Focus on conveying the message, not on impressing your listeners. Do not compare or compete with others. Stand by the truth, untouched by people’s opinion. 4. Visualize yourself respectfully sharing what is in your inner consciousness - your wisdom, skills, views or experiences with a selfless intention of giving. Visualize people who receive your message getting positively influenced. #Fear

Hashtags

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40426 · 28.12.2025 г., 11:02

Phobia is an intense, irrational fear of something that is often not dangerous. Fear is a normal reaction to real danger or threat. Phobias cause strong anxiety that is much bigger than the actual risk and can disrupt daily life. Fear helps keep us safe, but phobias are more about worry and avoidance even when there is little or no real danger. @googlefactss #Phobia#Fear#Anxiety#MentalHealth😨⚠️

Fear or opportunity? Fears are the body's adequate reaction to something new, to something that once caused unpleasant consequences, or to something that directly or indirectly threatens one's life. But there are fears that simply must be overcome. For example, if you have an idea, but to implement it, you do not have the courage, and therefore and perseverance. It is behind such fears that lies your invaluable potential. The body never generates ideas that it doesn't have the resources to implement. Our thoughts are not random. Think of the opportunities that will open up before you after you overcome your fear. Have you imagined it? Now act! Join us for more -> @ipersonalgrowths💡 #MentalGrowth #Fear #opportunity #psychologyinformation

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1478 · 03.12.2025 г., 08:58

😱📉$ETH#Fear & Greed Index drops to 37 — Fear zone. 📉#以太坊 情緒指標降至 37(#恐懼區) #市场情绪#Sentiment#区块链#虚拟货币 ——— 代表市場避險情緒升溫、短線買盤轉弱。 ✅Chat: @Web3NewsInsight 🦂 👇Tip👇讚 或點擊進行💎資源搜索👇

Mexc Crypto Signals Pumps Trading Kucoin

@mexc_signals_pumps_trading · Post #1285 · 15.08.2024 г., 17:35

Hello everyone! 24 hours left until our next Kucoin pump. The market looks very good and our power is growing every day. We expect a massive volume and profits tomorrow. This is a brief explanation of what will happen during our pump: 1) When the coin is announced, we buy it together, as a team. 2) This initial push triggers buying from trading algos, MM bots and generally – outsiders. 3) As the outsider buy orders further increase the price, we begin to slowly sell way higher than where we bought. Full guide can be found in the previous messages. Here are the results of our latest pumps: #HIP → 2400% #QUICK → 1500% #BONDLY → 800% #FEAR → 750% #VEMP → 750% IMPORTANT: We are the original and longest running pump group. Please ignore all ads in this channel as they are not approved by us, we do not endorse any other channels. All other alleged "pump" groups are copycats trying to capitalize on our success, reputation and care for members.

Mexc Crypto Signals Pumps Trading Kucoin

@mexc_signals_pumps_trading · Post #1237 · 22.07.2024 г., 17:03

Hello everyone! Exactly 24 hours left until our next Kucoin pump. The market looks very good and our power is growing every day. We expect a massive volume and profits tomorrow. This is a brief explanation of what will happen during our pump: 1) When the coin is announced, we buy it together, as a team. 2) This initial push triggers buying from trading algos, MM bots and generally – outsiders. 3) As the outsider buy orders further increase the price, we begin to slowly sell way higher than where we bought. Full guide can be found in the previous messages. Here are the results of our latest pumps: #HIP → 2400% #QUICK → 1500% #BONDLY → 800% #FEAR → 750% #VEMP → 750% IMPORTANT: We are the original and longest running pump group. Please ignore all ads in this channel as they are not approved by us, we do not endorse any other channels. All other alleged "pump" groups are copycats trying to capitalize on our success, reputation and care for members.

VIP_影视分享

@wangzhuanzhan · Post #32700 · 09.09.2024 г., 08:49

K-k恐k惧j拉l斯s维w加j斯s- 恐惧拉斯维加斯 Fear and Loathing in Las Vegas (1998) 直达链接:https://pan.quark.cn/s/41140f577da4 #恐惧拉斯维加斯#赌城风情画 #Fear and Loathing in Las Vegas #赌城情仇#拉斯维加斯的恐惧与嫌恶 链接:https://link3.cc/sf_com #电影#喜剧#美国#90年代

12
ПретходнаСтраница 1 од 2Следна