KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2021-07-01 to 1 month

アニメgifのリスタート

how to restart animated gifs 複数gifのスライドショーそれぞれ最初から再生させる。 <html> <head> <style> body{ margin: 0px; padding: 0px; color: #000; background-color: #008800; } .container { width: 100%; height: 100%; image-rendering: pixelated; } .bg0{ back</head></html>…

ffmpegで色数指定しgifを作る

max_colorsを使おう ffmpeg -i piyo.mov -vf "fps=8,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen=max_colors=4:reserve_transparent=0[p];[s1][p]paletteuse" -loop 0 piyo.gif https://superuser.com/questions/1571858/how-can-i-limit-the-…

quadtree

gist.github.com

Why 30fps with AR Foundation

in ARSession.cs Application.targetFrameRate = subsystem.frameRate; It seems that the frameRate is specified by subsystem. subsystemによって、フレームレートが指定されているようだ;(

Unity+Macでファイルのドラッグ&ドロップ

以下を使わせていただきました。 UniDragAndDropForMac GitHub - baobao/UniDragAndDropForMac: A library that implements drag and drop in Unity's macOS build でも、使い方に悪戦苦闘しました。以下サンプルコードです。 WWWの使い方 IEnumeratorの使い…

"FOOTER"