janim-url-assets Documentation¶
janim-url-assets is a JAnim plugin for loading remote assets directly from URLs.
The main provided items are:
UrlSVGItem: load an SVG from a URL and use it as a normalSVGItemUrlImageItem: load an image from a URL and use it as a normalImageItem
Installation¶
pip install janim-url-assets
After installation, examples from this plugin will appear in janim examples.
Usage¶
Import¶
from janim_url_assets.imports import *
Load SVG from a URL¶
UrlSVGItem('https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/ibm.svg')
See the documentation for UrlSVGItem for details.
Load image from a URL¶
UrlImageItem('https://raw.githubusercontent.com/jkjkil4/JAnim/main/assets/logo.png')
See the documentation for UrlImageItem for details.
Use resources from specific asset sites¶
Iconify('skill-icons:aftereffects', width=1)
See the documentation for Iconify for details.