Upon what feature have I stumbled? Add "/thumb" to your wokwi URL and get a selectable presentation?!?! ZomG!
Any more extensions?
Upon what feature have I stumbled? Add "/thumb" to your wokwi URL and get a selectable presentation?!?! ZomG!
Any more extensions?
There's a Markdown-rendered Description tab you get if you add a README.md file:
It might be a good place to put a thumb.
Other things:
Within the diagram.json file, you can add wokwi-text elements:
and
There's also a page with some user's projects on it.
or a particular maker:
https://wokwi.com/makers/drf5n
but it is unclear how you navigate to it or get on the list.
Finally!
Wow. I have been searching for adding drawings (thumb) to my projects.
[edit]... I can't figure out how to make the thumb graphical in the README.md
I was just poking at the /thumb bit and instead of a graphic, it is a dynamic page -- try zooming/scrolling on the /thumb link above. Try /thumbnail.jpg https://thumbs.wokwi.com/projects/384423170759961601/thumbnail.jpg
instead, as I used below.
The parent project uses several of these features:
If you have an actual graphic hosted somewhere, you can use regular markdown images and links in the README.md file:
![Arduino forum graphic](https://europe1.discourse-cdn.com/arduino/original/3X/1/f/1f6eb1c9b79d9518d1688c15fe9a4b7cdd5636ae.svg)
[this arduino ![Arduino forum](https://europe1.discourse-cdn.com/arduino/original/3X/1/f/1f6eb1c9b79d9518d1688c15fe9a4b7cdd5636ae.svg) thread](https://forum.arduino.cc/t/wokwi-thumb-extension/1202002/4)
You can grab a thumbnail of the static images found on your your list of projects, like:
![](upload://5ZJKfRRe3pl4iB4kJOpSWixfp1c.jpeg)
or
https://thumbs.wokwi.com/projects/384423170759961601/thumbnail.jpg
(Edited to fix some Discourse/Wokwi interaction weirdrness)
go to https://wokwi.com/dashboard/projects
and you see all the projects you saved (if you created an account)
this is a collection of all the thumbs
The /thumb
extension to the project URL creates an articulated, but non-working image.
It's a little different -- the /thumb things seem to have a live zoom and pan over the circuit while the Your Projects on Wokwi images are static thumbnail.jpg files.
zoomed:
I do not think "wokwi" should be a full category on the Arduino forum, but wokwi is a good trouble-shooting tool, and this forum is a good place to share Easter eggs without going to wokwi discord.
New to me... comments inside diagram.json I could use "author" or "editor" but I found this method to be harmless:
"https://wokwi.com/projects/384605858511190017"
{
"comment": "https://wokwi.com/projects/384605858511190017",
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
.
.
.
Does the "comment":"attribute",
do anything? Or is it just valid JSON that is not parsed by anything at all? Such that "silly english kanigget":["elderberry","Child"],
is similarly harmless.
The comment does nothing inside Wokwi (I can not see anything yet).
The reason for wanting this is; I was looking for a place to stow the Wokwi diagram.json for when I want to test something with similar devices without making all the new connections (after connecting 74595s and 4x7seg). I keep the diagram.json file in the IDE sketch folder, where it does not interfere with the sketch when compiling, but shows itself as a tab.
Another possible use for README.md
is storing alternate code for the same simulation hardware. You could paste in copies of the code into the README.md, and then cut and paste them into the code window to show/test different functionality or different ways of doing the same thing.
And it would work for storing alternate .json files too.
For example:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.