Jump to content

Peripheral drift illusion: Difference between revisions

m (Corrected: choose -> chose.)
Line 81:
{{libheader|gintro}}
A translation using Gtk via the <code>gintro</code> bindings for Nim, so the code is quite different. We chose also different sizes for the window and the grid, and colors closer to those of the codepen demo.
 
See window screenshot [https://github.com/lscrd/Rosetta/blob/main/Images/Peripheral_drift_illusion-Nim.png here.]
 
<lang Nim>import gintro/[glib, gobject, gtk, gio, cairo]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.