Playing around with SimplexNoise and textures...
- Enjoy 😎
A Pen by Daniel Del Core on CodePen.
Playing around with SimplexNoise and textures...
A Pen by Daniel Del Core on CodePen.
| <canvas></canvas> | |
| <!-- Click to generate a new image --> |
| <div id="container"> | |
| <div id="circle"> | |
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px" height="300px" viewBox="0 0 300 300" enable-background="new 0 0 300 300" xml:space="preserve"> | |
| <defs> | |
| <path id="circlePath" d=" M 150, 150 m -60, 0 a 60,60 0 0,1 120,0 a 60,60 0 0,1 -120,0 "/> | |
| </defs> | |
| <circle cx="150" cy="100" r="75" fill="none"/> | |
| <g> | |
| <use xlink:href="#circlePath" fill="none"/> | |
| <text fill="#f8f8f8"> |
Thousands of particles that create waves of light. So beautiful.
A Pen by Karl Lindberg on CodePen.
| <canvas></canvas> | |
| <!-- Click to generate a new image --> |
This was inspired by the Dribbble shot to the left of the canvas by Ramiro Galan, which can be found here: http://dribbble.com/shots/674715-Sparkle-Light-Trail.
Some browsers still won't fully clear a canvas all the way with the destination-out globalCompositeOperation, anyone know a work around?
A Pen by Karl Lindberg on CodePen.
GitLab's SVG logo animated w/GreenSock https://about.gitlab.com
A Pen by Kilian K Lindberg on CodePen.
Floating point texture test...
A Pen by Kilian K Lindberg on CodePen.
| import os | |
| def search_keyword_in_file(file_path, keyword): | |
| findings = [] | |
| with open(file_path, 'r', errors='ignore') as file: | |
| lines = file.readlines() | |
| for idx, line in enumerate(lines, start=1): | |
| if keyword.lower() in line.lower(): | |
| findings.append((idx, line.strip())) | |
| return findings |
| #!/usr/bin/env python3 | |
| import os | |
| import time | |
| from collections import deque | |
| # Check if required libraries are installed. If not, install them. | |
| libraries = { | |
| "psutil": "psutil", | |
| "curses": "windows-curses" if os.name == "nt" else "curses" | |
| } |