Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A general-purpose programmatic animation tool
A gallery of animations made with Morpho is available here. For more, you can also take a look at the YouTube channels Morphocular and Serpentine Integral, which use Morpho to create most of the animations.
Documentation is currently limited, but there are a few guides you can look thru which will help you learn how to use Morpho and get you started making your own animations.
Morpho is a library for Python and works on Python 3.8 or higher and requires Pycairo to run. For Windows users, Morpho and all its basic dependencies, including Pycairo, should be installable via a simple pip command:
pip3 install morpholib
Installation on other platforms has not been well-tested, unfortunately, and does not appear to be as straightforward. For now, I think the best method is to first see if you can install Pycairo separately (for instructions on how to do so, see this), test that the Pycairo installation is working, and then attempt to install Morpho via the above pip command.
If you want to export animations as MP4s or small-sized GIFs, you will need to install FFmpeg for MP4 and/or Gifsicle for GIF. But if that doesn't matter to you (or if you just want to try out Morpho), you can still preview animations and export them as PNG sequences and large-sized GIFs just using the base installation of Morpho.
Please note that FFmpeg and Gifsicle will need to be added to your PATH environment variable for Morpho to be able to access them by default.
For Morpho to be able to parse LaTeX code, you must have a LaTeX distribution installed along with dvisvgm. But if you're okay with not using Morpho's LaTeX features, this requirement is optional.
SciPy is an optional, but recommended, dependency that is necessary currently for only few features (flowStreamer
and FlowField
). SciPy can be installed via pip with the command pip install scipy
To see if it installed correctly, try running the following Python code:
import morpholib as morpho
morpho.importAll()
morpho.sample.play()
If you see an animation of a morphing grid appear on your screen, congratulations! Morpho should be installed and working properly.
This project is licensed under the terms of the MIT license.
FAQs
A general-purpose programmatic animation tool
We found that morpholib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.