anki canvas
v0.8
這是一個基於觸摸的畫布,用於在Ankidroid和桌面Anki中繪製形狀。
與Ankidroid自己的本機白板相比,該板旨在做筆記,這是針對用戶必須畫出作為卡答案的用例(例如:漢字/漢茲繪圖練習,記住漢字等)。
您需要安裝以下ANKI插件。從Anki轉到工具>附加組件>獲取附加組...然後插入插件的代碼。
從“版本”頁面下載預製的ANKI甲板並將其導入ANKI(雙擊甲板應起作用)。




您可以輕鬆自定義Ankicanvas接收的一些變量。打開卡片佈局,然後在前後模板中編輯AnkiCanvasOptions JavaScript對象。
當前默認選項對像如下:
< script >
window . AnkiCanvasOptions = {
frontCanvasSize : 300 ,
frontLineWidth : 7 ,
backCanvasSize : 150 ,
backLineWidth : 3.5 ,
// 'auto' is a special value that will automatically select either 'light' or
// 'dark' depending on Anki's "Night Mode" status. If you wish to force a
// colorScheme, you can pass it's name from the colorSchemes settings below.
colorScheme : 'auto' ,
// You can modify the default colorSchemes in the dictionary below, or even
// add your own colorSchemes beyond light and dark.
colorSchemes : {
light : {
brush : '#000' ,
grid : '#dcdcdc' ,
gridBg : '#fff' ,
buttonIcon : '#464646' ,
buttonBg : '#dcdcdc' ,
frontBrushColorizer : 'none' , // none | spectrum | contrast
backBrushColorizer : 'spectrum' ,
} ,
dark : {
brush : '#fff' ,
grid : '#646464' ,
gridBg : '#000' ,
buttonIcon : '#000' ,
buttonBg : '#646464' ,
frontBrushColorizer : 'none' ,
backBrushColorizer : 'spectrum' ,
} ,
} ,
}
</ script >